# Verse

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

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

**Page:** 39

---

## [How do I edit already created text blocks through verse](https://forums.unrealengine.com/t/how-do-i-edit-already-created-text-blocks-through-verse/1257789)

<div class="topic-metadata">

**Author:** [@nelmi](https://forums.unrealengine.com/u/nelmi)\
**Replies:** 3\
**Last updated:** [August 21, 2023, 7:32am UTC](https://forums.unrealengine.com/t/how-do-i-edit-already-created-text-blocks-through-verse/1257789 "2023-08-21T07:32:20Z")

</div>

I have 5 text blocks already created in a canvas and I want to edit their properties like visibility, text etc… I didn’t make these through code. Can anyone help

---

## [Dangling \`=\` assignment with no expressions or empty braced block \`{}\` on its right hand side.](https://forums.unrealengine.com/t/dangling-assignment-with-no-expressions-or-empty-braced-block-on-its-right-hand-side/884231)

<div class="topic-metadata">

**Author:** [@agentfufu1](https://forums.unrealengine.com/u/agentfufu1)\
**Replies:** 10\
**Last updated:** [August 19, 2023, 4:56am UTC](https://forums.unrealengine.com/t/dangling-assignment-with-no-expressions-or-empty-braced-block-on-its-right-hand-side/884231 "2023-08-19T04:56:56Z")

</div>

Hello , as i’m learning VERSE i got into a problem. As i was doing the Detonation Verse Template i run into this error: Dangling = assignment with no expressions or empty braced block {} on its right hand side. i foun…

---

## [weak\_map with GetSession Is broken and does not persist between rounds and crashes](https://forums.unrealengine.com/t/weak-map-with-getsession-is-broken-and-does-not-persist-between-rounds-and-crashes/1263028)

<div class="topic-metadata">

**Author:** [@spentak](https://forums.unrealengine.com/u/spentak)\
**Replies:** 5\
**Last updated:** [August 18, 2023, 6:15pm UTC](https://forums.unrealengine.com/t/weak-map-with-getsession-is-broken-and-does-not-persist-between-rounds-and-crashes/1263028 "2023-08-18T18:15:04Z")

</div>

GetSession() works with ANY type in a session so long as you don’t have a game with “rounds” With rounds, GetSession() + weak\_map will crash your game 99% of the time. In the code below you will see my test cases for G…

---

## [How do I make text blocks in verse as a list](https://forums.unrealengine.com/t/how-do-i-make-text-blocks-in-verse-as-a-list/1263350)

<div class="topic-metadata">

**Author:** [@nelmi](https://forums.unrealengine.com/u/nelmi)\
**Replies:** 2\
**Last updated:** [August 18, 2023, 10:51am UTC](https://forums.unrealengine.com/t/how-do-i-make-text-blocks-in-verse-as-a-list/1263350 "2023-08-18T10:51:18Z")

</div>

The title says it all, I want to make 5 text blocks but I don’t know how to make them like a list. Basically, when the first (at the top), disappears, the next one goes up and moves the entire bunch of text blocks up

---

## [how to tie two players](https://forums.unrealengine.com/t/how-to-tie-two-players/1263915)

<div class="topic-metadata">

**Author:** [@LyssaSugarNya](https://forums.unrealengine.com/u/LyssaSugarNya)\
**Replies:** 0\
**Last updated:** [August 17, 2023, 1:12pm UTC](https://forums.unrealengine.com/t/how-to-tie-two-players/1263915 "2023-08-17T13:12:53Z")

</div>

Hi, is there a way to tie a rope to 2 players?

---

## [How do I use SuccessEvent on a timer device?](https://forums.unrealengine.com/t/how-do-i-use-successevent-on-a-timer-device/1250934)

<div class="topic-metadata">

**Author:** [@nelmi](https://forums.unrealengine.com/u/nelmi)\
**Replies:** 14\
**Last updated:** [August 16, 2023, 10:37pm UTC](https://forums.unrealengine.com/t/how-do-i-use-successevent-on-a-timer-device/1250934 "2023-08-16T22:37:13Z")

</div>

The title says it all, I want to use the data member “SuccessEvent” to execute a part of my code. I don’t exactly know how to do this because it uses “listenable” and I’m only familiar with “Subscribe” which isn’t the ca…

---

## [Best Way to Check if All Players Are Eliminated](https://forums.unrealengine.com/t/best-way-to-check-if-all-players-are-eliminated/1261391)

<div class="topic-metadata">

**Author:** [@PoshyPoshLad1](https://forums.unrealengine.com/u/PoshyPoshLad1)\
**Replies:** 5\
**Last updated:** [August 16, 2023, 2:34am UTC](https://forums.unrealengine.com/t/best-way-to-check-if-all-players-are-eliminated/1261391 "2023-08-16T02:34:52Z")

</div>

Hey Everyone! I’m trying to make a system where when all of the players in my game are eliminated, then it Activates my End Game Device. I’ve been trying to set something up with triggers and the End Game Device but am…

---

## [Is there a way to get a reference to the current device the subscribed event is into?](https://forums.unrealengine.com/t/is-there-a-way-to-get-a-reference-to-the-current-device-the-subscribed-event-is-into/1261955)

<div class="topic-metadata">

**Author:** [@Portine](https://forums.unrealengine.com/u/Portine)\
**Replies:** 2\
**Last updated:** [August 15, 2023, 6:45pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-get-a-reference-to-the-current-device-the-subscribed-event-is-into/1261955 "2023-08-15T18:45:59Z")

</div>

I want to push the triggers that the events are subscribed into down when they are triggered, how can I get reference to themselves through Verse? Something like this: OnBegin\<override\>()\<suspends\> : void= MyTrigge…

---

## [MoveTo Some things are not smooth](https://forums.unrealengine.com/t/moveto-some-things-are-not-smooth/1261572)

<div class="topic-metadata">

**Author:** [@ponponpon6](https://forums.unrealengine.com/u/ponponpon6)\
**Replies:** 4\
**Last updated:** [August 15, 2023, 3:06pm UTC](https://forums.unrealengine.com/t/moveto-some-things-are-not-smooth/1261572 "2023-08-15T15:06:20Z")

</div>

I Creating prop bouncing motions for 2D games The bouncing movement is implemented by finely changing the MoveTo value, but depending on the time, it may not be smooth, and in the case of multiple objects, it may not be…

---

## [Get Agent of the first and second team for Color changing device](https://forums.unrealengine.com/t/get-agent-of-the-first-and-second-team-for-color-changing-device/1259431)

<div class="topic-metadata">

**Author:** [@prasanth.akon](https://forums.unrealengine.com/u/prasanth.akon)\
**Replies:** 5\
**Last updated:** [August 15, 2023, 11:42am UTC](https://forums.unrealengine.com/t/get-agent-of-the-first-and-second-team-for-color-changing-device/1259431 "2023-08-15T11:42:53Z")

</div>

I want to add a timed feature for color-changing devices that set the team back and forth using the SetTeam function. I got the player’s agent using the below code, but I want to get the other team’s Agent to switch dyna…

---

## [Verse Runtime Error](https://forums.unrealengine.com/t/verse-runtime-error/1260977)

<div class="topic-metadata">

**Author:** [@dudee236](https://forums.unrealengine.com/u/dudee236)\
**Replies:** 1\
**Last updated:** [August 15, 2023, 4:06am UTC](https://forums.unrealengine.com/t/verse-runtime-error/1260977 "2023-08-15T04:06:44Z")

</div>

I consistently get the following error without any explanation whatsoever. What could be causing it? Since failable expressions are a thing in Verse, how could such error occur?

---

## [how to use 'HasAllItem' in verse for conditional button](https://forums.unrealengine.com/t/how-to-use-hasallitem-in-verse-for-conditional-button/1257136)

<div class="topic-metadata">

**Author:** [@LyssaSugarNya](https://forums.unrealengine.com/u/LyssaSugarNya)\
**Replies:** 5\
**Last updated:** [August 14, 2023, 7:11pm UTC](https://forums.unrealengine.com/t/how-to-use-hasallitem-in-verse-for-conditional-button/1257136 "2023-08-14T19:11:02Z")

</div>

Hello, I’m really new to verse and coding in general. Today, I tried to use HasAllItem from conditional button, so that it can check if the player has the required item that is stored in the conditional button. But,…

---

## [Not all code inside function running for some reason](https://forums.unrealengine.com/t/not-all-code-inside-function-running-for-some-reason/1254023)

<div class="topic-metadata">

**Author:** [@nelmi](https://forums.unrealengine.com/u/nelmi)\
**Replies:** 1\
**Last updated:** [August 14, 2023, 7:37am UTC](https://forums.unrealengine.com/t/not-all-code-inside-function-running-for-some-reason/1254023 "2023-08-14T07:37:34Z")

</div>

As said in title, the code doesn’t run except for Print(“Phone is ringing”) for some reason and I don’t know why.

---

## [How do I update UI text](https://forums.unrealengine.com/t/how-do-i-update-ui-text/1259986)

<div class="topic-metadata">

**Author:** [@nelmi](https://forums.unrealengine.com/u/nelmi)\
**Replies:** 0\
**Last updated:** [August 13, 2023, 9:08pm UTC](https://forums.unrealengine.com/t/how-do-i-update-ui-text/1259986 "2023-08-13T21:08:22Z")

</div>

How do I update these text with text. I don’t know how to call them or define them in verse. I just want to define them just like you would with a timer for example (timer : timer\_device = timer\_device{}). Thanks in adva…

---

## [How do i convert from type ?agent to agent... im so confused with optionals](https://forums.unrealengine.com/t/how-do-i-convert-from-type-agent-to-agent-im-so-confused-with-optionals/1258390)

<div class="topic-metadata">

**Author:** [@mneko24](https://forums.unrealengine.com/u/mneko24)\
**Replies:** 3\
**Last updated:** [August 13, 2023, 11:43am UTC](https://forums.unrealengine.com/t/how-do-i-convert-from-type-agent-to-agent-im-so-confused-with-optionals/1258390 "2023-08-13T11:43:57Z")

</div>

:frowning: why cant this just be cpp

---

## [Activate Trigger Device with Prop Damage or Destruction](https://forums.unrealengine.com/t/activate-trigger-device-with-prop-damage-or-destruction/1257873)

<div class="topic-metadata">

**Author:** [@felislsd](https://forums.unrealengine.com/u/felislsd)\
**Replies:** 3\
**Last updated:** [August 11, 2023, 11:19pm UTC](https://forums.unrealengine.com/t/activate-trigger-device-with-prop-damage-or-destruction/1257873 "2023-08-11T23:19:55Z")

</div>

I use the Trigger device to fire an event of freezing the player as soon as he steps on the device: Trigger.TriggeredEvent.Subscribe(FreezePlayer) I would like the player to get freezed as soon as someone else shots a …

---

## [Is it possible to get the ID of the player who clicked on the button on the map?](https://forums.unrealengine.com/t/is-it-possible-to-get-the-id-of-the-player-who-clicked-on-the-button-on-the-map/1257988)

<div class="topic-metadata">

**Author:** [@Szyg1](https://forums.unrealengine.com/u/Szyg1)\
**Replies:** 0\
**Last updated:** [August 11, 2023, 5:01pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-get-the-id-of-the-player-who-clicked-on-the-button-on-the-map/1257988 "2023-08-11T17:01:20Z")

</div>

Is it possible to get the ID of the player who clicked on the button on the map?

---

## [Debug a failable function](https://forums.unrealengine.com/t/debug-a-failable-function/1251290)

<div class="topic-metadata">

**Author:** [@Orodex](https://forums.unrealengine.com/u/Orodex)\
**Replies:** 4\
**Last updated:** [August 11, 2023, 8:45am UTC](https://forums.unrealengine.com/t/debug-a-failable-function/1251290 "2023-08-11T08:45:18Z")

</div>

If you’re writing a failable function, and you find that it is failing when you don’t want it to, how are you supposed to debug it? Breakpoints are not in yet Cant print in no\_rollback No error logs available like……

---

## [How do I set text blocks visible and how can I change their text in Verse](https://forums.unrealengine.com/t/how-do-i-set-text-blocks-visible-and-how-can-i-change-their-text-in-verse/1256196)

<div class="topic-metadata">

**Author:** [@nelmi](https://forums.unrealengine.com/u/nelmi)\
**Replies:** 7\
**Last updated:** [August 10, 2023, 10:19pm UTC](https://forums.unrealengine.com/t/how-do-i-set-text-blocks-visible-and-how-can-i-change-their-text-in-verse/1256196 "2023-08-10T22:19:40Z")

</div>

The titles says it all. I have 5 text blocks already created in a canvas and I want to set them to visible when something happens and change their text depending on the situation.

---

## [Is it possible to change the time of day programmatically?](https://forums.unrealengine.com/t/is-it-possible-to-change-the-time-of-day-programmatically/1256975)

<div class="topic-metadata">

**Author:** [@user\_d33a0feb4641f21961dd8765e4c7aac2d901d3cfec11817f7221ee](https://forums.unrealengine.com/u/user_d33a0feb4641f21961dd8765e4c7aac2d901d3cfec11817f7221ee)\
**Replies:** 0\
**Last updated:** [August 10, 2023, 5:09pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-change-the-time-of-day-programmatically/1256975 "2023-08-10T17:09:26Z")

</div>

I’ve looked at the Day Sequence Device but it doesn’t contain any event listeners, or any way to change the time of day. I want to change to night time after a specific period of time has passed, and back to daytime aft…

---

## [Is there a way to reload all weapons on elimination?](https://forums.unrealengine.com/t/is-there-a-way-to-reload-all-weapons-on-elimination/1254751)

<div class="topic-metadata">

**Author:** [@LyssaSugarNya](https://forums.unrealengine.com/u/LyssaSugarNya)\
**Replies:** 19\
**Last updated:** [August 10, 2023, 11:48am UTC](https://forums.unrealengine.com/t/is-there-a-way-to-reload-all-weapons-on-elimination/1254751 "2023-08-10T11:48:40Z")

</div>

Hello, I have been struggling in UEFN trying to find a way to provide a full weapons reload for players who got a elimination in my island. Is there a way for this?

---

## [How do I get the class slot number of a player through Verse code?](https://forums.unrealengine.com/t/how-do-i-get-the-class-slot-number-of-a-player-through-verse-code/1256342)

<div class="topic-metadata">

**Author:** [@Hrududu1](https://forums.unrealengine.com/u/Hrududu1)\
**Replies:** 0\
**Last updated:** [August 10, 2023, 3:13am UTC](https://forums.unrealengine.com/t/how-do-i-get-the-class-slot-number-of-a-player-through-verse-code/1256342 "2023-08-10T03:13:13Z")

</div>

I can’t seem to find how I can GET the player’s class slot number of a player through verse code. I’m trying to do something simple like Player selects a class from Class Selector UI Device If class is {class slot}, e…

---

## [Function not working for some reason and only a line of it actually runs](https://forums.unrealengine.com/t/function-not-working-for-some-reason-and-only-a-line-of-it-actually-runs/1255688)

<div class="topic-metadata">

**Author:** [@nelmi](https://forums.unrealengine.com/u/nelmi)\
**Replies:** 2\
**Last updated:** [August 9, 2023, 8:33pm UTC](https://forums.unrealengine.com/t/function-not-working-for-some-reason-and-only-a-line-of-it-actually-runs/1255688 "2023-08-09T20:33:50Z")

</div>

The way it’s supposed to work is that when one of the buttons is pressed, it runs code inside the function PhoneRing(). When I playtest, the “Phone is ringing” message prints but the rest doesn’t do anything (btw OrderTi…

---

## [How can I to record the time in the scoreboard](https://forums.unrealengine.com/t/how-can-i-to-record-the-time-in-the-scoreboard/1255459)

<div class="topic-metadata">

**Author:** [@Ssmemonkey](https://forums.unrealengine.com/u/Ssmemonkey)\
**Replies:** 0\
**Last updated:** [August 9, 2023, 8:25am UTC](https://forums.unrealengine.com/t/how-can-i-to-record-the-time-in-the-scoreboard/1255459 "2023-08-09T08:25:57Z")

</div>

---

## [How to activate low gravity with a language verse ?](https://forums.unrealengine.com/t/how-to-activate-low-gravity-with-a-language-verse/1226674)

<div class="topic-metadata">

**Author:** [@Skyet0zYouTube](https://forums.unrealengine.com/u/Skyet0zYouTube)\
**Replies:** 1\
**Last updated:** [August 9, 2023, 3:30am UTC](https://forums.unrealengine.com/t/how-to-activate-low-gravity-with-a-language-verse/1226674 "2023-08-09T03:30:38Z")

</div>

Hello everyone, I started UEFN for Fortnite since 1 month. But I would like to activate (for my new creative map) the low gravity (for exemple: one shot mode in fortnite). Is it posible to create, with language verse, th…

---

## [How to get a players loadout (verse)](https://forums.unrealengine.com/t/how-to-get-a-players-loadout-verse/1254756)

<div class="topic-metadata">

**Author:** [@LyssaSugarNya](https://forums.unrealengine.com/u/LyssaSugarNya)\
**Replies:** 0\
**Last updated:** [August 8, 2023, 4:27pm UTC](https://forums.unrealengine.com/t/how-to-get-a-players-loadout-verse/1254756 "2023-08-08T16:27:20Z")

</div>

HI, I have been trying to trigger different events based on what weapons the player has in his loadout. Is there a way to know/Get the data of the player’s inventory in verse?

---

## [How do I make it so that the program waits until the value is reached](https://forums.unrealengine.com/t/how-do-i-make-it-so-that-the-program-waits-until-the-value-is-reached/1252972)

<div class="topic-metadata">

**Author:** [@nelmi](https://forums.unrealengine.com/u/nelmi)\
**Replies:** 8\
**Last updated:** [August 8, 2023, 2:09am UTC](https://forums.unrealengine.com/t/how-do-i-make-it-so-that-the-program-waits-until-the-value-is-reached/1252972 "2023-08-08T02:09:17Z")

</div>

How can I make it so that once activeOrders = 5, the program waits for activeOrders to become equals to 3?

---

## [Getting error when adding values to array](https://forums.unrealengine.com/t/getting-error-when-adding-values-to-array/1252429)

<div class="topic-metadata">

**Author:** [@nelmi](https://forums.unrealengine.com/u/nelmi)\
**Replies:** 1\
**Last updated:** [August 7, 2023, 1:39pm UTC](https://forums.unrealengine.com/t/getting-error-when-adding-values-to-array/1252429 "2023-08-07T13:39:08Z")

</div>

So, I have an array that shuffles between timer devices but when I put the name of the timer devices, it comes up with this error (in the ss there is only 1 of the 5 timer devices)

---

## [Someone helped me make this code and I can't seem to implement something I want to add](https://forums.unrealengine.com/t/someone-helped-me-make-this-code-and-i-cant-seem-to-implement-something-i-want-to-add/1252726)

<div class="topic-metadata">

**Author:** [@nelmi](https://forums.unrealengine.com/u/nelmi)\
**Replies:** 3\
**Last updated:** [August 6, 2023, 6:36pm UTC](https://forums.unrealengine.com/t/someone-helped-me-make-this-code-and-i-cant-seem-to-implement-something-i-want-to-add/1252726 "2023-08-06T18:36:09Z")

</div>

Basically, this code shuffles between an array of timers (there are 5) and picks a timer that hasn’t started yet. These timers, upon completion, should disable the conditional button that is linked to it (there are 12 bu…

---

## [Creature place Device](https://forums.unrealengine.com/t/creature-place-device/1251176)

<div class="topic-metadata">

**Author:** [@Sneznhaya](https://forums.unrealengine.com/u/Sneznhaya)\
**Replies:** 0\
**Last updated:** [August 4, 2023, 11:49pm UTC](https://forums.unrealengine.com/t/creature-place-device/1251176 "2023-08-04T23:49:58Z")

</div>

Hello! Is there any way to determine which Creature place device does not have an active zombie? Ty!

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

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