# Verse

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

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

**Page:** 18

---

## [Verse API GetCurrentState\[Agent\] of Switch Device is broken](https://forums.unrealengine.com/t/verse-api-getcurrentstate-agent-of-switch-device-is-broken/2108040)

<div class="topic-metadata">

**Author:** [@Novusa](https://forums.unrealengine.com/u/Novusa)\
**Replies:** 7\
**Last updated:** [November 8, 2024, 6:29pm UTC](https://forums.unrealengine.com/t/verse-api-getcurrentstate-agent-of-switch-device-is-broken/2108040 "2024-11-08T18:29:12Z")

</div>

When using this API (GetCurrentState\[Agent\]) in a IF statement like “GetCurrentState\[Agent\] = false” it only works when the Switch is on “ON”. “GetCurrentState\[Agent\] = true” doesn’t even work.

---

## [Verse code only working in edit session](https://forums.unrealengine.com/t/verse-code-only-working-in-edit-session/2074703)

<div class="topic-metadata">

**Author:** [@MrDJ2U](https://forums.unrealengine.com/u/MrDJ2U)\
**Replies:** 1\
**Last updated:** [November 6, 2024, 9:57pm UTC](https://forums.unrealengine.com/t/verse-code-only-working-in-edit-session/2074703 "2024-11-06T21:57:31Z")

</div>

I have followed the fall guys instructions and mostly just copied and pasted the code into my verse files. I have it working (mostly) how intended when I’m testing the session from UEFN but when I publish or even upload …

---

## [How do you remove specific element from array?](https://forums.unrealengine.com/t/how-do-you-remove-specific-element-from-array/2095848)

<div class="topic-metadata">

**Author:** [@KrCha](https://forums.unrealengine.com/u/KrCha)\
**Replies:** 2\
**Last updated:** [November 6, 2024, 3:49pm UTC](https://forums.unrealengine.com/t/how-do-you-remove-specific-element-from-array/2095848 "2024-11-06T15:49:47Z")

</div>

If there is an array that has 10 elements of creatures, and if one of them exit from the mutator zone, it can be removed from array automatically. But how??? the important thing is, must know what the index number(that t…

---

## [About the AND condition of if statements](https://forums.unrealengine.com/t/about-the-and-condition-of-if-statements/2105292)

<div class="topic-metadata">

**Author:** [@renzymode](https://forums.unrealengine.com/u/renzymode)\
**Replies:** 3\
**Last updated:** [November 6, 2024, 4:35am UTC](https://forums.unrealengine.com/t/about-the-and-condition-of-if-statements/2105292 "2024-11-06T04:35:49Z")

</div>

Sorry for the basic question. I couldn’t find it by searching. Is this if statement an and condition? if(test1 \>= test2, test2 \> 0): If test1 \> test2 is true and if test2 \> 0 is true, does that mean the if statement…

---

## [Where do I have mistake in this code](https://forums.unrealengine.com/t/where-do-i-have-mistake-in-this-code/2106320)

<div class="topic-metadata">

**Author:** [@viperr](https://forums.unrealengine.com/u/viperr)\
**Replies:** 1\
**Last updated:** [November 5, 2024, 5:30pm UTC](https://forums.unrealengine.com/t/where-do-i-have-mistake-in-this-code/2106320 "2024-11-05T17:30:30Z")

</div>

using {FortniteUI, FortniteWorld, FortniteEntities, FortniteEvents, FortniteHealth} from FortVerse hello\_world\_device := class(creative\_device): class Button : fort\_entity { var isHit : false function OnHit() : void …

---

## [@editable Concrete Classes @editable Members Broken Occasionally](https://forums.unrealengine.com/t/editable-concrete-classes-editable-members-broken-occasionally/2097992)

<div class="topic-metadata">

**Author:** [@Dev\_Alt](https://forums.unrealengine.com/u/Dev_Alt)\
**Replies:** 10\
**Last updated:** [November 3, 2024, 7:43pm UTC](https://forums.unrealengine.com/t/editable-concrete-classes-editable-members-broken-occasionally/2097992 "2024-11-03T19:43:06Z")

</div>

Make a concrete class with some editables some\_class:= class\<concrete\>: @editable MutatorZone : mutator\_zone\_device = mutator\_zone\_device{} @editable AudioPlayer : audio\_player\_device = audio\_player\_device{} T…

---

## [Show/hide prop to certain player?](https://forums.unrealengine.com/t/show-hide-prop-to-certain-player/1819630)

<div class="topic-metadata">

**Author:** [@Strelloke](https://forums.unrealengine.com/u/Strelloke)\
**Replies:** 2\
**Last updated:** [November 3, 2024, 4:13pm UTC](https://forums.unrealengine.com/t/show-hide-prop-to-certain-player/1819630 "2024-11-03T16:13:06Z")

</div>

Is it possible in UEFN to show/hide an object only for a certain player? For example, when one player interacts with a button, the door opens only for him, if another player wants to open this door, he also needs to int…

---

## [Verse Device Referencing Bug](https://forums.unrealengine.com/t/verse-device-referencing-bug/2100717)

<div class="topic-metadata">

**Author:** [@WafflezPvP](https://forums.unrealengine.com/u/WafflezPvP)\
**Replies:** 1\
**Last updated:** [November 2, 2024, 7:14pm UTC](https://forums.unrealengine.com/t/verse-device-referencing-bug/2100717 "2024-11-02T19:14:35Z")

</div>

When I have an 2 verse devices linked with an @.editable and I go to copy both these devices. They do not update their references to the new updated copied device (linked with editable) and instead the editable is filled…

---

## [why doesnt my ue have fortnite templates](https://forums.unrealengine.com/t/why-doesnt-my-ue-have-fortnite-templates/2099137)

<div class="topic-metadata">

**Author:** [@Abdulazim25](https://forums.unrealengine.com/u/Abdulazim25)\
**Replies:** 0\
**Last updated:** [November 1, 2024, 1:58pm UTC](https://forums.unrealengine.com/t/why-doesnt-my-ue-have-fortnite-templates/2099137 "2024-11-01T13:58:04Z")

</div>

fornite template

---

## [Can I initialize fort\_character type variable just like the other variables?](https://forums.unrealengine.com/t/can-i-initialize-fort-character-type-variable-just-like-the-other-variables/2095302)

<div class="topic-metadata">

**Author:** [@KrCha](https://forums.unrealengine.com/u/KrCha)\
**Replies:** 2\
**Last updated:** [October 30, 2024, 12:59pm UTC](https://forums.unrealengine.com/t/can-i-initialize-fort-character-type-variable-just-like-the-other-variables/2095302 "2024-10-30T12:59:45Z")

</div>

For exam: \_Player : fort\_character = fort\_character{}

---

## [How can I use suspends and loop function when subscribes?](https://forums.unrealengine.com/t/how-can-i-use-suspends-and-loop-function-when-subscribes/2095300)

<div class="topic-metadata">

**Author:** [@KrCha](https://forums.unrealengine.com/u/KrCha)\
**Replies:** 2\
**Last updated:** [October 30, 2024, 12:59pm UTC](https://forums.unrealengine.com/t/how-can-i-use-suspends-and-loop-function-when-subscribes/2095300 "2024-10-30T12:59:29Z")

</div>

I want to subscribe a function that is using loop but it cannot do that. What is the problem?

---

## [Linked Verse Devices Not Copying Correctly](https://forums.unrealengine.com/t/linked-verse-devices-not-copying-correctly/1974521)

<div class="topic-metadata">

**Author:** [@MrJaydub](https://forums.unrealengine.com/u/MrJaydub)\
**Replies:** 2\
**Last updated:** [October 30, 2024, 5:20am UTC](https://forums.unrealengine.com/t/linked-verse-devices-not-copying-correctly/1974521 "2024-10-30T05:20:57Z")

</div>

When using editables to communicate between two Verse devices, copying and pasting these linked devices will not automatically create new bindings; you must manually rebind each editable. However, if you copy and paste a…

---

## [Necesito ayuda en verse](https://forums.unrealengine.com/t/necesito-ayuda-en-verse/2094969)

<div class="topic-metadata">

**Author:** [@brujo-ninja](https://forums.unrealengine.com/u/brujo-ninja)\
**Replies:** 0\
**Last updated:** [October 30, 2024, 1:12am UTC](https://forums.unrealengine.com/t/necesito-ayuda-en-verse/2094969 "2024-10-30T01:12:33Z")

</div>

Buenas, necesito ayuda sobre un código de verse en mi mapa de UEFN. Tengo un código de un sistema de votación de diferentes loots que aparece en la ronda 1, y me gustaría que el loot que ha ganado se le otorgue automátic…

---

## [Is there a way to move devices?](https://forums.unrealengine.com/t/is-there-a-way-to-move-devices/2093624)

<div class="topic-metadata">

**Author:** [@KrCha](https://forums.unrealengine.com/u/KrCha)\
**Replies:** 3\
**Last updated:** [October 30, 2024, 1:02am UTC](https://forums.unrealengine.com/t/is-there-a-way-to-move-devices/2093624 "2024-10-30T01:02:48Z")

</div>

I want to attach a device to a prop or something, how to move device? I guess there is no function like MoveTo for devices. Do I use prop mover device for this? But prop mover device also has not MoveTo or TeleportTo.

---

## [Need help with custom HUD message](https://forums.unrealengine.com/t/need-help-with-custom-hud-message/2087982)

<div class="topic-metadata">

**Author:** [@RMCFN](https://forums.unrealengine.com/u/RMCFN)\
**Replies:** 2\
**Last updated:** [October 29, 2024, 8:57pm UTC](https://forums.unrealengine.com/t/need-help-with-custom-hud-message/2087982 "2024-10-29T20:57:16Z")

</div>

Hey! Need your advise how to do message with custom text that triggers by button. Player push the button and se simple message with his nick, map code and his lifetime score (like on screenshot) savepoint device is alre…

---

## [How do you print index of array?](https://forums.unrealengine.com/t/how-do-you-print-index-of-array/2093219)

<div class="topic-metadata">

**Author:** [@KrCha](https://forums.unrealengine.com/u/KrCha)\
**Replies:** 1\
**Last updated:** [October 29, 2024, 12:04am UTC](https://forums.unrealengine.com/t/how-do-you-print-index-of-array/2093219 "2024-10-29T00:04:03Z")

</div>

Just same as the image, how to print that index when OnBegin? And is there a way to print only specific number of index? I mean 5 elements array, and I wanna print index of element 3. Can I do this?

---

## [Can't find UE repository](https://forums.unrealengine.com/t/cant-find-ue-repository/2090577)

<div class="topic-metadata">

**Author:** [@garry0905](https://forums.unrealengine.com/u/garry0905)\
**Replies:** 9\
**Last updated:** [October 27, 2024, 3:18pm UTC](https://forums.unrealengine.com/t/cant-find-ue-repository/2090577 "2024-10-27T15:18:33Z")

</div>

Hello, folks I tried to access the UE repository in https://github.com/EpicGames/UnrealEngine. But page not founded. how can i get it? Hope your help…

---

## [Need help with code](https://forums.unrealengine.com/t/need-help-with-code/2090025)

<div class="topic-metadata">

**Author:** [@MrCaptainNoodles](https://forums.unrealengine.com/u/MrCaptainNoodles)\
**Replies:** 0\
**Last updated:** [October 27, 2024, 1:39am UTC](https://forums.unrealengine.com/t/need-help-with-code/2090025 "2024-10-27T01:39:56Z")

</div>

heyooo my knowledge on coding is pretty low at this point so i figured I’d have ChatGPT help me out for a little. it gave me two different codes for my situation. Essentially i need for verse to determine how many player…

---

## [Hi, I am trying to learn UEFN and opening verse commander template as per documentation but error comes](https://forums.unrealengine.com/t/hi-i-am-trying-to-learn-uefn-and-opening-verse-commander-template-as-per-documentation-but-error-comes/2078292)

<div class="topic-metadata">

**Author:** [@Ram07](https://forums.unrealengine.com/u/Ram07)\
**Replies:** 9\
**Last updated:** [October 26, 2024, 5:10am UTC](https://forums.unrealengine.com/t/hi-i-am-trying-to-learn-uefn-and-opening-verse-commander-template-as-per-documentation-but-error-comes/2078292 "2024-10-26T05:10:44Z")

</div>

This is on 5.5, Thanks for the help and answers

---

## [How to copy / expose Fortnite Icons?](https://forums.unrealengine.com/t/how-to-copy-expose-fortnite-icons/2082604)

<div class="topic-metadata">

**Author:** [@davidpkami](https://forums.unrealengine.com/u/davidpkami)\
**Replies:** 1\
**Last updated:** [October 25, 2024, 8:57am UTC](https://forums.unrealengine.com/t/how-to-copy-expose-fortnite-icons/2082604 "2024-10-25T08:57:47Z")

</div>

I want to use these icons or copy them to use them via code with a duplicate textre but I dont find any option to do it

---

## [Does creature can be included to Agent?](https://forums.unrealengine.com/t/does-creature-can-be-included-to-agent/2084110)

<div class="topic-metadata">

**Author:** [@KrCha](https://forums.unrealengine.com/u/KrCha)\
**Replies:** 1\
**Last updated:** [October 24, 2024, 3:13am UTC](https://forums.unrealengine.com/t/does-creature-can-be-included-to-agent/2084110 "2024-10-24T03:13:09Z")

</div>

I want to Initialize creatures when they has spawned. So I code this: InitCreatures( Agent:agent ):void= if( FC:= Agent.GetFortCharacter\[\] ): set spawnedCreatures += array{ FC } Print( "{spawnedCreat…

---

## [How to force a listenable event?](https://forums.unrealengine.com/t/how-to-force-a-listenable-event/2080815)

<div class="topic-metadata">

**Author:** [@davidpkami](https://forums.unrealengine.com/u/davidpkami)\
**Replies:** 5\
**Last updated:** [October 23, 2024, 11:51am UTC](https://forums.unrealengine.com/t/how-to-force-a-listenable-event/2080815 "2024-10-23T11:51:51Z")

</div>

I would like to force a listenable event as I can not Hide the collectible\_object\_device for one specific player. if(not IsScrollGranted?): Log("Collectible {Index} was no collected. Respawning i…

---

## [Using an expression inside a sync](https://forums.unrealengine.com/t/using-an-expression-inside-a-sync/2029007)

<div class="topic-metadata">

**Author:** [@DeepFathom](https://forums.unrealengine.com/u/DeepFathom)\
**Replies:** 3\
**Last updated:** [October 22, 2024, 2:58pm UTC](https://forums.unrealengine.com/t/using-an-expression-inside-a-sync/2029007 "2024-10-22T14:58:58Z")

</div>

I want to use ‘sync’ to call an asynchronous function to act on objects in an array, but I don’t know in advance which will need to be acted upon. The following code compiles, but the functions in the for loops execute …

---

## [What is the different there two functions?](https://forums.unrealengine.com/t/what-is-the-different-there-two-functions/2079737)

<div class="topic-metadata">

**Author:** [@KrCha](https://forums.unrealengine.com/u/KrCha)\
**Replies:** 1\
**Last updated:** [October 22, 2024, 8:22am UTC](https://forums.unrealengine.com/t/what-is-the-different-there-two-functions/2079737 "2024-10-22T08:22:53Z")

</div>

for( Player : player, FortCharacter : Player.GetFortCharacter ): FortCharacter.DamagedEvent.Subscribe( HelloEvent ) if( Player : player, FortCharacter : Player.GetFortCharacter ): FortCharacter.DamagedEvent.Subscribe(…

---

## [Is it possible to have a fixed point (or angle) camera while the player is in a car or bike?](https://forums.unrealengine.com/t/is-it-possible-to-have-a-fixed-point-or-angle-camera-while-the-player-is-in-a-car-or-bike/2079534)

<div class="topic-metadata">

**Author:** [@JukeBones](https://forums.unrealengine.com/u/JukeBones)\
**Replies:** 0\
**Last updated:** [October 22, 2024, 2:53am UTC](https://forums.unrealengine.com/t/is-it-possible-to-have-a-fixed-point-or-angle-camera-while-the-player-is-in-a-car-or-bike/2079534 "2024-10-22T02:53:14Z")

</div>

Hello, Is it possible to set a fixed point or fixed angle camera device as the active camera while the player is in a vehicle? I need it for a sequence in my creative island but have had no luck getting this to work, e…

---

## [Accessing and modifying team settings for players and devices](https://forums.unrealengine.com/t/accessing-and-modifying-team-settings-for-players-and-devices/2077864)

<div class="topic-metadata">

**Author:** [@SpitLotsOfFyre](https://forums.unrealengine.com/u/SpitLotsOfFyre)\
**Replies:** 3\
**Last updated:** [October 21, 2024, 5:18pm UTC](https://forums.unrealengine.com/t/accessing-and-modifying-team-settings-for-players-and-devices/2077864 "2024-10-21T17:18:27Z")

</div>

Is there any way to access the team that a player is on and edit some devices so that they only affect the players on that team? Basically what I am trying to do in verse is have a skydive volume device that only affects…

---

## [\[How To\]Checking if the prop collides with something for every single frame](https://forums.unrealengine.com/t/how-to-checking-if-the-prop-collides-with-something-for-every-single-frame/2078104)

<div class="topic-metadata">

**Author:** [@KrCha](https://forums.unrealengine.com/u/KrCha)\
**Replies:** 1\
**Last updated:** [October 21, 2024, 5:59am UTC](https://forums.unrealengine.com/t/how-to-checking-if-the-prop-collides-with-something-for-every-single-frame/2078104 "2024-10-21T05:59:42Z")

</div>

If a prop moves around and meet something. I want to know what that is, and how to checking this per every frame.

---

## [Call events on player damaged](https://forums.unrealengine.com/t/call-events-on-player-damaged/2077656)

<div class="topic-metadata">

**Author:** [@jakelev01](https://forums.unrealengine.com/u/jakelev01)\
**Replies:** 2\
**Last updated:** [October 21, 2024, 4:58am UTC](https://forums.unrealengine.com/t/call-events-on-player-damaged/2077656 "2024-10-21T04:58:26Z")

</div>

Is there any way to create a verse device that removes gold from the player when they receive damage? I understand you would pair an item remover device I just don’t know which/if any of the verse functions would allow m…

---

## [Canva Virtual keyboard for a passkey?](https://forums.unrealengine.com/t/canva-virtual-keyboard-for-a-passkey/2075672)

<div class="topic-metadata">

**Author:** [@The\_burguet](https://forums.unrealengine.com/u/The_burguet)\
**Replies:** 2\
**Last updated:** [October 20, 2024, 11:22am UTC](https://forums.unrealengine.com/t/canva-virtual-keyboard-for-a-passkey/2075672 "2024-10-20T11:22:48Z")

</div>

I have a question, I have read that you cannot create chat options, internal rooms or custom keyboards. But mine is a password for a puzzle room, which is generated by a keyboard to enter a single word (it is not a form…

---

## [I want to set vector3 transform but it doesn't work](https://forums.unrealengine.com/t/i-want-to-set-vector3-transform-but-it-doesnt-work/2072570)

<div class="topic-metadata">

**Author:** [@KrCha](https://forums.unrealengine.com/u/KrCha)\
**Replies:** 4\
**Last updated:** [October 20, 2024, 10:42am UTC](https://forums.unrealengine.com/t/i-want-to-set-vector3-transform-but-it-doesnt-work/2072570 "2024-10-20T10:42:04Z")

</div>

Initialized guard and set it to myGuardarray variable. So I use it outside but when I try to set GTran it doesn’t work. maybe array problem… It works like 17 lines but why it doesn’t work in 22 line? it looks the sam…

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

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