# Verse

**URL:** https://forums.unrealengine.com/c/development-discussion/programming-scripting/verse/196.md?page=15

[Latest](https://forums.unrealengine.com/latest.md) · [Categories](https://forums.unrealengine.com/categories.md) · [Tags](https://forums.unrealengine.com/tags.md)

**Page:** 16

---

## [How can I delay this action? Sleep does not do anyting](https://forums.unrealengine.com/t/how-can-i-delay-this-action-sleep-does-not-do-anyting/2173802)

<div class="topic-metadata">

**Author:** [@NeoMaps](https://forums.unrealengine.com/u/NeoMaps)\
**Replies:** 1\
**Last updated:** [December 23, 2024, 5:09am UTC](https://forums.unrealengine.com/t/how-can-i-delay-this-action-sleep-does-not-do-anyting/2173802 "2024-12-23T05:09:43Z")

</div>

OnRemoteClicked(Agent: agent) \<suspends\>: void = Sleep(3.0) TeleportToLobby(Agent) If I execute this action and click the remote, I get teleported instantly without the 3-second delay. Does …

---

## [All Players Score in a leaderboard using a PlayersMap class](https://forums.unrealengine.com/t/all-players-score-in-a-leaderboard-using-a-playersmap-class/2237613)

<div class="topic-metadata">

**Author:** [@PowerPuck3000](https://forums.unrealengine.com/u/PowerPuck3000)\
**Replies:** 0\
**Last updated:** [December 22, 2024, 9:56pm UTC](https://forums.unrealengine.com/t/all-players-score-in-a-leaderboard-using-a-playersmap-class/2237613 "2024-12-22T21:56:16Z")

</div>

Hey everyone, I’m fairly new to coding and Verse and would appreciate some help from the community :slight\_smile: Basically, I’m trying to get ALL my Player’s/Team’s, score int values at once to be displayed in a leader…

---

## [Assigning Player Variable](https://forums.unrealengine.com/t/assigning-player-variable/2234574)

<div class="topic-metadata">

**Author:** [@user\_2391a52d2637615794c23ba4e8f20318a9bff299b82748a7a7e741](https://forums.unrealengine.com/u/user_2391a52d2637615794c23ba4e8f20318a9bff299b82748a7a7e741)\
**Replies:** 2\
**Last updated:** [December 22, 2024, 8:57am UTC](https://forums.unrealengine.com/t/assigning-player-variable/2234574 "2024-12-22T08:57:15Z")

</div>

How do I set a variable of type player to a player from an array of all of the players created like this: var AllPlayers:player = GetPlayspace().GetPlayers() I really don’t understand the whole accessing with a failure…

---

## [How to (race) await an array of tasks?](https://forums.unrealengine.com/t/how-to-race-await-an-array-of-tasks/1149182)

<div class="topic-metadata">

**Author:** [@meatandmeat](https://forums.unrealengine.com/u/meatandmeat)\
**Replies:** 6\
**Last updated:** [December 21, 2024, 11:55am UTC](https://forums.unrealengine.com/t/how-to-race-await-an-array-of-tasks/1149182 "2024-12-21T11:55:28Z")

</div>

There might be an easier way to do this, but I’m creating buttons in a for loop, and adding the widgets to a \[widget\]int map, and the OnClick() task to an \[\]awaitable(widget\_message) array. I don’t know how I would awai…

---

## [Issue with moving Volume Device](https://forums.unrealengine.com/t/issue-with-moving-volume-device/2229282)

<div class="topic-metadata">

**Author:** [@Reeyawn](https://forums.unrealengine.com/u/Reeyawn)\
**Replies:** 8\
**Last updated:** [December 20, 2024, 9:46pm UTC](https://forums.unrealengine.com/t/issue-with-moving-volume-device/2229282 "2024-12-20T21:46:15Z")

</div>

Hey all, I’m having an issue with Volume Devices not actually moving with the skeletal mesh they are parented to. I have my Volumes set to eliminate the player when they enter with a simple verse script. Like in the clip…

---

## [New fortnite update broken all verse code](https://forums.unrealengine.com/t/new-fortnite-update-broken-all-verse-code/2167140)

<div class="topic-metadata">

**Author:** [@SKazami](https://forums.unrealengine.com/u/SKazami)\
**Replies:** 7\
**Last updated:** [December 19, 2024, 4:53pm UTC](https://forums.unrealengine.com/t/new-fortnite-update-broken-all-verse-code/2167140 "2024-12-19T16:53:15Z")

</div>

In this new update all of my verse code doesnt work as intended or not at all, i have made no changes to any code and this is affecting every project that had previously working code, what can i do about this? Or will th…

---

## [new to this whole thing looking for help. ](https://forums.unrealengine.com/t/new-to-this-whole-thing-looking-for-help/2232220)

<div class="topic-metadata">

**Author:** [@GorilaKingNation](https://forums.unrealengine.com/u/GorilaKingNation)\
**Replies:** 0\
**Last updated:** [December 19, 2024, 3:36pm UTC](https://forums.unrealengine.com/t/new-to-this-whole-thing-looking-for-help/2232220 "2024-12-19T15:36:32Z")

</div>

cant find the answer im looking for on youtube so any guidance would be awesome. gorilla4224 my disc to get better contact with me

---

## [Does anyone know why the creatures are respawned and suddenly disappeared when they're dead?](https://forums.unrealengine.com/t/does-anyone-know-why-the-creatures-are-respawned-and-suddenly-disappeared-when-theyre-dead/2230405)

<div class="topic-metadata">

**Author:** [@KrCha](https://forums.unrealengine.com/u/KrCha)\
**Replies:** 0\
**Last updated:** [December 18, 2024, 2:14pm UTC](https://forums.unrealengine.com/t/does-anyone-know-why-the-creatures-are-respawned-and-suddenly-disappeared-when-theyre-dead/2230405 "2024-12-18T14:14:10Z")

</div>

I’m really sick of this plz help me :frowning\_with\_open\_mouth:

---

## [Spawn A Vehicle With a Keycard and Speed Boost](https://forums.unrealengine.com/t/spawn-a-vehicle-with-a-keycard-and-speed-boost/2229613)

<div class="topic-metadata">

**Author:** [@chris4573](https://forums.unrealengine.com/u/chris4573)\
**Replies:** 0\
**Last updated:** [December 18, 2024, 2:21am UTC](https://forums.unrealengine.com/t/spawn-a-vehicle-with-a-keycard-and-speed-boost/2229613 "2024-12-18T02:21:38Z")

</div>

Hello, I’m here to share my code for a vehicle spawner. This spawner allows you to use a conditional button to check if they holding a card then spawn a vehicle. I also added a special bit where a movement modulator will…

---

## [Stasis makes characters invulnerable](https://forums.unrealengine.com/t/stasis-makes-characters-invulnerable/2109946)

<div class="topic-metadata">

**Author:** [@KK\_KillStr3aK](https://forums.unrealengine.com/u/KK_KillStr3aK)\
**Replies:** 3\
**Last updated:** [December 17, 2024, 10:45am UTC](https://forums.unrealengine.com/t/stasis-makes-characters-invulnerable/2109946 "2024-12-17T10:45:57Z")

</div>

Currently putting the players in stasis makes them invulnerable and cannot take damage from players, also from code it was also mentioned in the uefn dc

---

## [Verse Build Error After Republishing UEFN Island](https://forums.unrealengine.com/t/verse-build-error-after-republishing-uefn-island/2222687)

<div class="topic-metadata">

**Author:** [@KIRITO.9274](https://forums.unrealengine.com/u/KIRITO.9274)\
**Replies:** 0\
**Last updated:** [December 15, 2024, 2:33pm UTC](https://forums.unrealengine.com/t/verse-build-error-after-republishing-uefn-island/2222687 "2024-12-15T14:33:46Z")

</div>

We encountered a persistent Verse build error after making changes to our published UEFN island. Below are the detailed steps, error messages, and troubleshooting steps we have taken so far: Steps to Reproduce: Created…

---

## [How to fix this "freeze closest player" code?](https://forums.unrealengine.com/t/how-to-fix-this-freeze-closest-player-code/2220531)

<div class="topic-metadata">

**Author:** [@Drewzao](https://forums.unrealengine.com/u/Drewzao)\
**Replies:** 1\
**Last updated:** [December 15, 2024, 10:19am UTC](https://forums.unrealengine.com/t/how-to-fix-this-freeze-closest-player-code/2220531 "2024-12-15T10:19:53Z")

</div>

I found online a code for a “freeze closest player” power, but there was no activator for the function to freeze the closest player. So I tried to include the trigger for freezing the player to be performed when that pla…

---

## [InfiniteScrums encountered error(s) while compiling Verse. See Verse Build Diagnostics.](https://forums.unrealengine.com/t/infinitescrums-encountered-error-s-while-compiling-verse-see-verse-build-diagnostics/2176126)

<div class="topic-metadata">

**Author:** [@Skri1](https://forums.unrealengine.com/u/Skri1)\
**Replies:** 2\
**Last updated:** [December 14, 2024, 3:21am UTC](https://forums.unrealengine.com/t/infinitescrums-encountered-error-s-while-compiling-verse-see-verse-build-diagnostics/2176126 "2024-12-14T03:21:16Z")

</div>

No response in the code, but when I delete the codes, it responds Unknown source location. : Script error 3643: Missing definition in source package that corresponds to published definition (//:)player\_stats\_table.\* C:…

---

## [ALL VERSE DEVICES ERROR](https://forums.unrealengine.com/t/all-verse-devices-error/2216943)

<div class="topic-metadata">

**Author:** [@AfterHours1](https://forums.unrealengine.com/u/AfterHours1)\
**Replies:** 0\
**Last updated:** [December 13, 2024, 9:50am UTC](https://forums.unrealengine.com/t/all-verse-devices-error/2216943 "2024-12-13T09:50:06Z")

</div>

Hi! Weeks ago, I started having problems with my map. I didn’t change anything, but now I can’t launch the session, and I keep getting errors for all the devices, even for things that aren’t in my map. If anyone knows ho…

---

## [No BREAK statements when working with For-Loop?](https://forums.unrealengine.com/t/no-break-statements-when-working-with-for-loop/2196621)

<div class="topic-metadata">

**Author:** [@Shoka](https://forums.unrealengine.com/u/Shoka)\
**Replies:** 1\
**Last updated:** [December 10, 2024, 10:41pm UTC](https://forums.unrealengine.com/t/no-break-statements-when-working-with-for-loop/2196621 "2024-12-10T22:41:08Z")

</div>

Is it possible to easily break from a for-loop after a certain criteria is met, like finding a specific ID or name? Normally I would use something like a BREAK statement or even CONTINUE depending on the context, but I …

---

## [Need Help Making Health Modifier Work for All Players in Verse](https://forums.unrealengine.com/t/need-help-making-health-modifier-work-for-all-players-in-verse/2188618)

<div class="topic-metadata">

**Author:** [@Vency7](https://forums.unrealengine.com/u/Vency7)\
**Replies:** 2\
**Last updated:** [December 10, 2024, 2:40pm UTC](https://forums.unrealengine.com/t/need-help-making-health-modifier-work-for-all-players-in-verse/2188618 "2024-12-10T14:40:28Z")

</div>

Hey, I have a problem with a Verse code I’m using. It’s a Health Modifier code that allows players to modify their own health and shield values. The issue is that this code only targets individual players, meaning only o…

---

## [How do I check if a volume device is occupied in an if statement](https://forums.unrealengine.com/t/how-do-i-check-if-a-volume-device-is-occupied-in-an-if-statement/2188743)

<div class="topic-metadata">

**Author:** [@BizChugg](https://forums.unrealengine.com/u/BizChugg)\
**Replies:** 1\
**Last updated:** [December 10, 2024, 8:37am UTC](https://forums.unrealengine.com/t/how-do-i-check-if-a-volume-device-is-occupied-in-an-if-statement/2188743 "2024-12-10T08:37:18Z")

</div>

For my level, I have a set of 4 volumes and an NPC Spawner corresponding to each one. What should be happening is while you’re in the volume NPCs will spawn from that corresponding spawner, but when you leave it will dis…

---

## [FindCreativeObjectsWithTag return nothing](https://forums.unrealengine.com/t/findcreativeobjectswithtag-return-nothing/2188263)

<div class="topic-metadata">

**Author:** [@AZOM-Games](https://forums.unrealengine.com/u/AZOM-Games)\
**Replies:** 10\
**Last updated:** [December 10, 2024, 8:20am UTC](https://forums.unrealengine.com/t/findcreativeobjectswithtag-return-nothing/2188263 "2024-12-10T08:20:19Z")

</div>

Despite 2 devices with the tag are in the map I got 0 devices with this code : # This function runs when the NPC is spawned in the world and ready to follow a behavior. OnBegin\<override\>()\<suspends\>:void = …

---

## [All of my verse scripts have broken](https://forums.unrealengine.com/t/all-of-my-verse-scripts-have-broken/2190924)

<div class="topic-metadata">

**Author:** [@BizChugg](https://forums.unrealengine.com/u/BizChugg)\
**Replies:** 1\
**Last updated:** [December 10, 2024, 7:59am UTC](https://forums.unrealengine.com/t/all-of-my-verse-scripts-have-broken/2190924 "2024-12-10T07:59:18Z")

</div>

Hello, I opened my UEFN editor today and opened verse code to find out all of my Verse scripts have broken. It seems like something has gone wrong with the OnBegin function, I would really like to figure this out pronto …

---

## [Generating Verse code with AI](https://forums.unrealengine.com/t/generating-verse-code-with-ai/1357162)

<div class="topic-metadata">

**Author:** [@Jack404](https://forums.unrealengine.com/u/Jack404)\
**Replies:** 5\
**Last updated:** [December 8, 2024, 12:55pm UTC](https://forums.unrealengine.com/t/generating-verse-code-with-ai/1357162 "2024-12-08T12:55:37Z")

</div>

Anyone here know of a AI that can generate Verse code?

---

## [Verse codes for Unreal Engine](https://forums.unrealengine.com/t/verse-codes-for-unreal-engine/2170475)

<div class="topic-metadata">

**Author:** [@LERONJAES23](https://forums.unrealengine.com/u/LERONJAES23)\
**Replies:** 2\
**Last updated:** [December 8, 2024, 3:40am UTC](https://forums.unrealengine.com/t/verse-codes-for-unreal-engine/2170475 "2024-12-08T03:40:36Z")

</div>

Hey i would like to ask how people make in verse code such good custom game settings e.g. for box pvp that the game just listens to it, i tried to do it myself but i am completely unable to cope with creating codes by my…

---

## [Once the trigger is activated, I want to retrieve the item from the item granter.](https://forums.unrealengine.com/t/once-the-trigger-is-activated-i-want-to-retrieve-the-item-from-the-item-granter/2166649)

<div class="topic-metadata">

**Author:** [@renzymode](https://forums.unrealengine.com/u/renzymode)\
**Replies:** 2\
**Last updated:** [December 4, 2024, 12:33am UTC](https://forums.unrealengine.com/t/once-the-trigger-is-activated-i-want-to-retrieve-the-item-from-the-item-granter/2166649 "2024-12-04T00:33:19Z")

</div>

I want to make a player retrieve the item from the item granter once the trigger is activated. But the trigger event needs a ?agent and the item granter needs an agent, and I can’t pass arguments to the function properl…

---

## [How can you reference an attached actor or a component in Verse?](https://forums.unrealengine.com/t/how-can-you-reference-an-attached-actor-or-a-component-in-verse/840940)

<div class="topic-metadata">

**Author:** [@Wertandrew](https://forums.unrealengine.com/u/Wertandrew)\
**Replies:** 23\
**Last updated:** [December 3, 2024, 6:25pm UTC](https://forums.unrealengine.com/t/how-can-you-reference-an-attached-actor-or-a-component-in-verse/840940 "2024-12-03T18:25:31Z")

</div>

So say I want to have an actor that when pickaxed by a player, it spawns a vfx on the button’s position. If the player sees another player break the actor, it shouldn’t affect where it spawns, it should spawn in the acto…

---

## [Team outline in a ffa match](https://forums.unrealengine.com/t/team-outline-in-a-ffa-match/2161618)

<div class="topic-metadata">

**Author:** [@Pewi5](https://forums.unrealengine.com/u/Pewi5)\
**Replies:** 0\
**Last updated:** [December 1, 2024, 3:06pm UTC](https://forums.unrealengine.com/t/team-outline-in-a-ffa-match/2161618 "2024-12-01T15:06:23Z")

</div>

Im trying to create a outline similar to what you see for your teamates in game, but in a ffa match. I know about those “wallhack box scripts” people do for a box around a player even infront of the wall, but im trying …

---

## [vErr:S77: Unexpected "WaitForButtonSelection" following expression](https://forums.unrealengine.com/t/verr-unexpected-waitforbuttonselection-following-expression/2158671)

<div class="topic-metadata">

**Author:** [@Twelsty](https://forums.unrealengine.com/u/Twelsty)\
**Replies:** 0\
**Last updated:** [November 29, 2024, 8:43pm UTC](https://forums.unrealengine.com/t/verr-unexpected-waitforbuttonselection-following-expression/2158671 "2024-11-29T20:43:05Z")

</div>

using { /Fortnite.com/Characters } using { /Fortnite.com/Devices } using { /Fortnite.com/Game } using { /Fortnite.com/UI } using { /Verse.org/Simulation } using { /Verse.org/Random } using { /Verse.org/Assets } us…

---

## [Finding Navigation of Passed In Agent](https://forums.unrealengine.com/t/finding-navigation-of-passed-in-agent/2158611)

<div class="topic-metadata">

**Author:** [@FortDawgNiteMan](https://forums.unrealengine.com/u/FortDawgNiteMan)\
**Replies:** 0\
**Last updated:** [November 29, 2024, 8:03pm UTC](https://forums.unrealengine.com/t/finding-navigation-of-passed-in-agent/2158611 "2024-11-29T20:03:02Z")

</div>

I am currently trying to have an enemy spawned from a creature spawner navigate to a specific point. I believe everything is set up properly, however the code fails at, Navigatable := Creature.GetNavigatable Here is m…

---

## [Track players shots hit and shots missed](https://forums.unrealengine.com/t/track-players-shots-hit-and-shots-missed/2157217)

<div class="topic-metadata">

**Author:** [@Razza994](https://forums.unrealengine.com/u/Razza994)\
**Replies:** 2\
**Last updated:** [November 29, 2024, 11:22am UTC](https://forums.unrealengine.com/t/track-players-shots-hit-and-shots-missed/2157217 "2024-11-29T11:22:48Z")

</div>

I am trying to track a players accuracy for an aim training map that I am working on. I want it to show shots hit/total shots fired and then give a percentage of shots hit but i have no idea on where to start with the co…

---

## [How to code a "Stay 2 seconds on the ground" win condition ?](https://forums.unrealengine.com/t/how-to-code-a-stay-2-seconds-on-the-ground-win-condition/2148603)

<div class="topic-metadata">

**Author:** [@\_wn](https://forums.unrealengine.com/u/_wn)\
**Replies:** 1\
**Last updated:** [November 29, 2024, 4:14am UTC](https://forums.unrealengine.com/t/how-to-code-a-stay-2-seconds-on-the-ground-win-condition/2148603 "2024-11-29T04:14:42Z")

</div>

Hello everyone, I want to code the win condition of my game is to stay on the ground for 2 or more seconds, how can i code this in Verse ? Thanks

---

## [Problem with my code: How do I swap two players of different classes when one of them takes damage?](https://forums.unrealengine.com/t/problem-with-my-code-how-do-i-swap-two-players-of-different-classes-when-one-of-them-takes-damage/2149203)

<div class="topic-metadata">

**Author:** [@Cathyroyc](https://forums.unrealengine.com/u/Cathyroyc)\
**Replies:** 2\
**Last updated:** [November 26, 2024, 4:41pm UTC](https://forums.unrealengine.com/t/problem-with-my-code-how-do-i-swap-two-players-of-different-classes-when-one-of-them-takes-damage/2149203 "2024-11-26T16:41:36Z")

</div>

Hi! I have a problem with my code. I want the class 2 player to change class when dealing damage to a class 1 player, but I have a problem with the line: var PlayerClasses: map\<player, int\> := map{} which says : vErr:S7…

---

## [How to get referenced content for scene graph? (LakeVillage featured project is broken)](https://forums.unrealengine.com/t/how-to-get-referenced-content-for-scene-graph-lakevillage-featured-project-is-broken/2151979)

<div class="topic-metadata">

**Author:** [@davidpkami](https://forums.unrealengine.com/u/davidpkami)\
**Replies:** 0\
**Last updated:** [November 26, 2024, 1:22pm UTC](https://forums.unrealengine.com/t/how-to-get-referenced-content-for-scene-graph-lakevillage-featured-project-is-broken/2151979 "2024-11-26T13:22:05Z")

</div>

I am starting to investigate scene graph and due to some errors con the LakeVillage project that is an example I decided to test this feature in other project The problem is, on LakeVillage featured project there is …

[Previous page](https://forums.unrealengine.com/c/development-discussion/programming-scripting/verse/196.md?page=14)

[Next page](https://forums.unrealengine.com/c/development-discussion/programming-scripting/verse/196.md?page=16)
