# Events in Verse

**URL:** <https://forums.unrealengine.com/t/events-in-verse/2481981>\
**Category:** Verse\
**Tags:** unreal-editor-for-fortnite, fortnite-creative, question, fortnite\
**Created:** [April 29, 2025, 8:36pm UTC](https://forums.unrealengine.com/t/events-in-verse/2481981 "2025-04-29T20:36:44Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tofuszn](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tofuszn/32/1019707_2.png) [@Tofuszn](https://forums.unrealengine.com/u/Tofuszn)\
**Post date:** [April 29, 2025, 8:36pm UTC](https://forums.unrealengine.com/t/events-in-verse/2481981/1 "2025-04-29T20:36:45Z")

</div>

In my code, i have an event:

```auto
QuestProgressed : event() = event(){}

```

I was wondering if anyone knew when I signal that event, if it signals to all player’s awaiting for this event, or just an agent?

If it is for all players, what is a work around so that it signals to just the agent?

Thank you!

---

<div class="post-metadata">

**Author:** ![swaggod](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/swaggod/32/1051181_2.png) [@swaggod](https://forums.unrealengine.com/u/swaggod)\
**Post date:** [April 30, 2025, 4:33pm UTC](https://forums.unrealengine.com/t/events-in-verse/2481981/2 "2025-04-30T16:33:33Z")

</div>

Not sure but you could test by using test players and doing something like respawning them from the event to see who is effected. What I would do for a situation like this is have a QuestProgressed Trigger that you trigger with the agent who did it, then run a `OnQuestProgressed(maybeA : ?agent)` function that does whatever you want with just the activating agent.

---

<div class="post-metadata">

**Author:** ![Tofuszn](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tofuszn/32/1019707_2.png) [@Tofuszn](https://forums.unrealengine.com/u/Tofuszn)\
**Post date:** [April 30, 2025, 8:18pm UTC](https://forums.unrealengine.com/t/events-in-verse/2481981/3 "2025-04-30T20:18:00Z")

</div>

tried that out and when you signal an event, it is not to all players in the game! thanks for helping me out!

---

<div class="post-metadata">

**Author:** ![im\_a\_lama](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/im_a_lama/32/995063_2.png) [@im\_a\_lama](https://forums.unrealengine.com/u/im_a_lama)\
**Post date:** [May 2, 2025, 9:20am UTC](https://forums.unrealengine.com/t/events-in-verse/2481981/4 "2025-05-02T09:20:46Z")

</div>

Players don’t await for an event, it’s the server that does. So it would depend on your code

---

<div class="post-metadata">

**Author:** ![Tofuszn](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tofuszn/32/1019707_2.png) [@Tofuszn](https://forums.unrealengine.com/u/Tofuszn)\
**Post date:** [May 2, 2025, 11:03pm UTC](https://forums.unrealengine.com/t/events-in-verse/2481981/5 "2025-05-02T23:03:30Z")

</div>

I have this code here for example:

```auto
UpdateStrengthUI(Agent : agent, Canvas : canvas)<suspends>:void=
        if(CP := PlayerMap[Agent]):
            if(Player := player[Agent], PlayerUI := GetPlayerUI[Player]):
                race:
                    block:
                        loop:
                            ExitStrength.Await()
                            PlayerUI.RemoveWidget(Canvas)
                            return

```

If I have two players waiting for the “ExitStrength” Signal, would both of their UI’s be exited?

---

<div class="post-metadata">

**Author:** ![poltrr](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/poltrr/32/677016_2.png) [@poltrr](https://forums.unrealengine.com/u/poltrr)\
**Post date:** [May 5, 2025, 9:02am UTC](https://forums.unrealengine.com/t/events-in-verse/2481981/6 "2025-05-05T09:02:33Z")

</div>

I believe you’re asking whether calling `ExitStrength.Signal()` resumes **ALL** tasks that were previously suspended by calling `ExitStrength.Await()` or just some of them.

The answer is that **all tasks are resumed**.

So, yes, if two players are waiting for the `ExitStrength` signal (i.e. you called `UpdateStrengthUI` twice) and the signal is emitted afterwards, then both of their UI’s will be exited. (Given that both calls are referencing the signal from the same class instance)

---

<div class="post-metadata">

**Author:** ![Tofuszn](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/tofuszn/32/1019707_2.png) [@Tofuszn](https://forums.unrealengine.com/u/Tofuszn)\
**Post date:** [May 18, 2025, 10:12pm UTC](https://forums.unrealengine.com/t/events-in-verse/2481981/7 "2025-05-18T22:12:18Z")

</div>

Thank you so much! I ended up testing it with some of my friends and that ended up being the result as well.

What I did as a work around, is that since I already have a Custom Player class for persistence, I added the events into there, and that seemed to have done the job perfectly!
