# Verse

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

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

**Page:** 37

---

## [I want to move a prop forward x amount?](https://forums.unrealengine.com/t/i-want-to-move-a-prop-forward-x-amount/1309594)

<div class="topic-metadata">

**Author:** [@bananna\_manuk](https://forums.unrealengine.com/u/bananna_manuk)\
**Replies:** 0\
**Last updated:** [September 23, 2023, 9:44pm UTC](https://forums.unrealengine.com/t/i-want-to-move-a-prop-forward-x-amount/1309594 "2023-09-23T21:44:37Z")

</div>

i wanna make a a simple prop that follows you but every tutorial i find uses the player location in the moveto function i want to move my prop forward x amount then rotate to player then move forward but im having troub…

---

## [What is the relationship between teams & devices?](https://forums.unrealengine.com/t/what-is-the-relationship-between-teams-devices/1298955)

<div class="topic-metadata">

**Author:** [@TheDadXI](https://forums.unrealengine.com/u/TheDadXI)\
**Replies:** 12\
**Last updated:** [September 23, 2023, 6:36am UTC](https://forums.unrealengine.com/t/what-is-the-relationship-between-teams-devices/1298955 "2023-09-23T06:36:32Z")

</div>

I have a custom class with 2 \[team\_settings\_and\_inventory\_device\] editables & then in the main device code I call GetPlayspace().GetTeamCollection() … How do I determine which item in the collection relates to my device? …

---

## [I don't know why I'm getting red squiggles when I try to generate a random number](https://forums.unrealengine.com/t/i-dont-know-why-im-getting-red-squiggles-when-i-try-to-generate-a-random-number/1306626)

<div class="topic-metadata">

**Author:** [@LyssaSugarNya](https://forums.unrealengine.com/u/LyssaSugarNya)\
**Replies:** 2\
**Last updated:** [September 21, 2023, 3:47pm UTC](https://forums.unrealengine.com/t/i-dont-know-why-im-getting-red-squiggles-when-i-try-to-generate-a-random-number/1306626 "2023-09-21T15:47:51Z")

</div>

I saw this code “GetRandomInt” in the verse documentation saying it generates an random integer but I’m getting red lines when I try to use it.

---

## [How can i make a purchasable pressure plate?](https://forums.unrealengine.com/t/how-can-i-make-a-purchasable-pressure-plate/1303935)

<div class="topic-metadata">

**Author:** [@Furypeek](https://forums.unrealengine.com/u/Furypeek)\
**Replies:** 3\
**Last updated:** [September 20, 2023, 9:28pm UTC](https://forums.unrealengine.com/t/how-can-i-make-a-purchasable-pressure-plate/1303935 "2023-09-20T21:28:42Z")

</div>

Hi! I saw in some Tycoon Maps that they developed some type of Pressure Plate that when you step over them, you could buy some wall in the map, weapons or other things, can someone explain how to develop them? Thanks

---

## [Why iteration specification in \`for\` can't use the function with \<transacts\> effetct ?](https://forums.unrealengine.com/t/why-iteration-specification-in-for-cant-use-the-function-with-transacts-effetct/1303163)

<div class="topic-metadata">

**Author:** [@t.tutiya](https://forums.unrealengine.com/u/t.tutiya)\
**Replies:** 3\
**Last updated:** [September 20, 2023, 10:31am UTC](https://forums.unrealengine.com/t/why-iteration-specification-in-for-cant-use-the-function-with-transacts-effetct/1303163 "2023-09-20T10:31:51Z")

</div>

The below code in the Verse Document can’t compile. for(X := 1..5; S := IncrementSomeVariable(); X \< 3): X Because IncrementSomeVariable() is not failer expression. Even if IncrementSomeVariable() has \< transacts…

---

## [How to call Popup Dialog Device's Responses in Verse](https://forums.unrealengine.com/t/how-to-call-popup-dialog-devices-responses-in-verse/1151014)

<div class="topic-metadata">

**Author:** [@EV\_WAKA](https://forums.unrealengine.com/u/EV_WAKA)\
**Replies:** 1\
**Last updated:** [September 19, 2023, 6:17pm UTC](https://forums.unrealengine.com/t/how-to-call-popup-dialog-devices-responses-in-verse/1151014 "2023-09-19T18:17:45Z")

</div>

I want to use this method inside the popup dialog device but not sure how to setup the handle function since it involves a tuple. My goal is to have a Pop Up Dialog Device show up after I click Response 1 of another …

---

## [Spawning a Prop](https://forums.unrealengine.com/t/spawning-a-prop/1301715)

<div class="topic-metadata">

**Author:** [@SUMTHINFRESH](https://forums.unrealengine.com/u/SUMTHINFRESH)\
**Replies:** 8\
**Last updated:** [September 18, 2023, 6:03pm UTC](https://forums.unrealengine.com/t/spawning-a-prop/1301715 "2023-09-18T18:03:43Z")

</div>

Is it possible to spawn a prop/asset not connected to a spawning device in the outliner. Every tutorial I have seen only places items, objects, etc. that are connected to a device. If it can be done I will gladly pay s…

---

## [How do you assign a value to a map of structs?](https://forums.unrealengine.com/t/how-do-you-assign-a-value-to-a-map-of-structs/1301954)

<div class="topic-metadata">

**Author:** [@Ululator](https://forums.unrealengine.com/u/Ululator)\
**Replies:** 1\
**Last updated:** [September 18, 2023, 4:07pm UTC](https://forums.unrealengine.com/t/how-do-you-assign-a-value-to-a-map-of-structs/1301954 "2023-09-18T16:07:13Z")

</div>

It seems you can’t assign a value to a map of structs because the compiler thinks you want to modify the interior of the struct instead of replacing the struct wholesale in the map: example\_struct := struct: something…

---

## [How can I set a text block in a canvas in verse to show text only to the agent (the instigator)](https://forums.unrealengine.com/t/how-can-i-set-a-text-block-in-a-canvas-in-verse-to-show-text-only-to-the-agent-the-instigator/1300539)

<div class="topic-metadata">

**Author:** [@nelmi](https://forums.unrealengine.com/u/nelmi)\
**Replies:** 0\
**Last updated:** [September 17, 2023, 5:54pm UTC](https://forums.unrealengine.com/t/how-can-i-set-a-text-block-in-a-canvas-in-verse-to-show-text-only-to-the-agent-the-instigator/1300539 "2023-09-17T17:54:43Z")

</div>

Title says it all.

---

## [Simple way of making logic variables for all players](https://forums.unrealengine.com/t/simple-way-of-making-logic-variables-for-all-players/1299289)

<div class="topic-metadata">

**Author:** [@nelmi](https://forums.unrealengine.com/u/nelmi)\
**Replies:** 7\
**Last updated:** [September 17, 2023, 10:41am UTC](https://forums.unrealengine.com/t/simple-way-of-making-logic-variables-for-all-players/1299289 "2023-09-17T10:41:10Z")

</div>

I’m trying to make a logic variable for each player and I want to edit it. For example:(if x=y): set Agent’s variable to true. Can help on this, been struggling to make this work

---

## [How can I set the default value of logic variables in a map](https://forums.unrealengine.com/t/how-can-i-set-the-default-value-of-logic-variables-in-a-map/1298633)

<div class="topic-metadata">

**Author:** [@nelmi](https://forums.unrealengine.com/u/nelmi)\
**Replies:** 10\
**Last updated:** [September 16, 2023, 2:01pm UTC](https://forums.unrealengine.com/t/how-can-i-set-the-default-value-of-logic-variables-in-a-map/1298633 "2023-09-16T14:01:20Z")

</div>

So I made a map which is basically a logic variable for each player, I use this to do other things but I don’t know how to set all of these variables to false by default, can anyone help? tia

---

## [How do I determine Agent properties in an OnDamaged event?](https://forums.unrealengine.com/t/how-do-i-determine-agent-properties-in-an-ondamaged-event/1294459)

<div class="topic-metadata">

**Author:** [@TheDadXI](https://forums.unrealengine.com/u/TheDadXI)\
**Replies:** 5\
**Last updated:** [September 15, 2023, 1:19pm UTC](https://forums.unrealengine.com/t/how-do-i-determine-agent-properties-in-an-ondamaged-event/1294459 "2023-09-15T13:19:57Z")

</div>

I have subscribed to a prop\_manipulator\_device… PropManipulator.DamagedEvent.Subscribe(OnPropDamaged) I’d like to determine what ammo was used to cause the damage (if possible)… but to debug, I’d just like to see all pr…

---

## [I got red squiggles but have no idea why](https://forums.unrealengine.com/t/i-got-red-squiggles-but-have-no-idea-why/1295882)

<div class="topic-metadata">

**Author:** [@LyssaSugarNya](https://forums.unrealengine.com/u/LyssaSugarNya)\
**Replies:** 2\
**Last updated:** [September 14, 2023, 6:29pm UTC](https://forums.unrealengine.com/t/i-got-red-squiggles-but-have-no-idea-why/1295882 "2023-09-14T18:29:02Z")

</div>

I don’t know what I’m doing wrong and why the code won’t build. I’d appreciate any help!

---

## [Possible For Classes to only affect a subset of player stats](https://forums.unrealengine.com/t/possible-for-classes-to-only-affect-a-subset-of-player-stats/1294342)

<div class="topic-metadata">

**Author:** [@CGerritsSF](https://forums.unrealengine.com/u/CGerritsSF)\
**Replies:** 2\
**Last updated:** [September 14, 2023, 3:50pm UTC](https://forums.unrealengine.com/t/possible-for-classes-to-only-affect-a-subset-of-player-stats/1294342 "2023-09-14T15:50:31Z")

</div>

Hello, I have a system where players pay to upgrade their health permanently, as well as a number of other stats. To do this, I was utilizing the fort\_character.SetMaxHealth method to do so. Another part of my project …

---

## [Blocking volumes](https://forums.unrealengine.com/t/blocking-volumes/1294209)

<div class="topic-metadata">

**Author:** [@LyssaSugarNya](https://forums.unrealengine.com/u/LyssaSugarNya)\
**Replies:** 2\
**Last updated:** [September 14, 2023, 10:54am UTC](https://forums.unrealengine.com/t/blocking-volumes/1294209 "2023-09-14T10:54:57Z")

</div>

Is there a way you can affect a single player only even though every player is inside the blocking volume?

---

## [PiEqualsThree/UEFN-Tutorials/blob/main/HealingStuff/life\_steal\_device.verse](https://forums.unrealengine.com/t/piequalsthree-uefn-tutorials-blob-main-healingstuff-life-steal-device-verse/1293021)

<div class="topic-metadata">

**Author:** [@Cooljs20002](https://forums.unrealengine.com/u/Cooljs20002)\
**Replies:** 0\
**Last updated:** [September 13, 2023, 2:02am UTC](https://forums.unrealengine.com/t/piequalsthree-uefn-tutorials-blob-main-healingstuff-life-steal-device-verse/1293021 "2023-09-13T02:02:40Z")

</div>

I found this script and I’m trying to modify it so it only activates when the player is granted an item granter, then 15 seconds later it disables. I’m new to coding in general and have been trying to do edit this for ho…

---

## [Subscribe isn't working](https://forums.unrealengine.com/t/subscribe-isnt-working/1291991)

<div class="topic-metadata">

**Author:** [@Cooljs20002](https://forums.unrealengine.com/u/Cooljs20002)\
**Replies:** 2\
**Last updated:** [September 13, 2023, 1:54am UTC](https://forums.unrealengine.com/t/subscribe-isnt-working/1291991 "2023-09-13T01:54:47Z")

</div>

using { /Fortnite.com/Devices } using { /Verse.org/Simulation } using { /UnrealEngine.com/Temporary/Diagnostics } using { /Fortnite.com/Characters } See Create Your Own Device Using Verse in Unreal Editor for Fortnit…

---

## [Calculating a rotation and using it in a function?](https://forums.unrealengine.com/t/calculating-a-rotation-and-using-it-in-a-function/1292843)

<div class="topic-metadata">

**Author:** [@Alexotronic](https://forums.unrealengine.com/u/Alexotronic)\
**Replies:** 0\
**Last updated:** [September 12, 2023, 9:57pm UTC](https://forums.unrealengine.com/t/calculating-a-rotation-and-using-it-in-a-function/1292843 "2023-09-12T21:57:53Z")

</div>

Hi all, I haven’t fully groked rotations and am hoping someone can easily point out the correct syntax. Imagine a Square, and the player will TeleportTo a random side of the square when they take damage. I was able to …

---

## [TeleportTo not working properly](https://forums.unrealengine.com/t/teleportto-not-working-properly/1292501)

<div class="topic-metadata">

**Author:** [@bkarminSF](https://forums.unrealengine.com/u/bkarminSF)\
**Replies:** 1\
**Last updated:** [September 12, 2023, 5:39pm UTC](https://forums.unrealengine.com/t/teleportto-not-working-properly/1292501 "2023-09-12T17:39:36Z")

</div>

In verse, I am using the TeleportTo function to move some creative props around, but I’m having an issue where the object isn’t being teleported properly. It seems like on some level it is being teleported, but it leaves…

---

## [CustomVictoryCallout of end\_game\_device class](https://forums.unrealengine.com/t/customvictorycallout-of-end-game-device-class/1292329)

<div class="topic-metadata">

**Author:** [@user\_0472526955eddac6616c2975c1f67f864a7d234677483dd41da00e](https://forums.unrealengine.com/u/user_0472526955eddac6616c2975c1f67f864a7d234677483dd41da00e)\
**Replies:** 0\
**Last updated:** [September 12, 2023, 1:50pm UTC](https://forums.unrealengine.com/t/customvictorycallout-of-end-game-device-class/1292329 "2023-09-12T13:50:44Z")

</div>

Can I access the CustomVictoryCallout of the endgame device class from a script? My aim is to dynamically change the win message. I thought I might be able to accomplish this using CustomVictoryCallout, but any feedbac…

---

## [How do I make a respawn system like in Horde Rush?](https://forums.unrealengine.com/t/how-do-i-make-a-respawn-system-like-in-horde-rush/1287585)

<div class="topic-metadata">

**Author:** [@GarettHunter](https://forums.unrealengine.com/u/GarettHunter)\
**Replies:** 4\
**Last updated:** [September 9, 2023, 4:57pm UTC](https://forums.unrealengine.com/t/how-do-i-make-a-respawn-system-like-in-horde-rush/1287585 "2023-09-09T16:57:02Z")

</div>

I have verse code that keeps track of the storm phases by registering for an event from the storm controller. I can check which storm phase it is and then trigger a respawn at special storm phases. There are two things …

---

## [How to do multiplayer working huds?](https://forums.unrealengine.com/t/how-to-do-multiplayer-working-huds/1288384)

<div class="topic-metadata">

**Author:** [@VETZBR](https://forums.unrealengine.com/u/VETZBR)\
**Replies:** 0\
**Last updated:** [September 8, 2023, 9:07pm UTC](https://forums.unrealengine.com/t/how-to-do-multiplayer-working-huds/1288384 "2023-09-08T21:07:44Z")

</div>

hey, i started to learn verse and one of my biggest problems: How to make the things works in multiplayer, in this case, i created a hud to count how many trees i breaked, and its works very greate in solo, but when othe…

---

## [How to detect storm damage or elimination with verse](https://forums.unrealengine.com/t/how-to-detect-storm-damage-or-elimination-with-verse/1284245)

<div class="topic-metadata">

**Author:** [@GraemeBB](https://forums.unrealengine.com/u/GraemeBB)\
**Replies:** 10\
**Last updated:** [September 6, 2023, 4:21pm UTC](https://forums.unrealengine.com/t/how-to-detect-storm-damage-or-elimination-with-verse/1284245 "2023-09-06T16:21:45Z")

</div>

In the docs it says that in the elimination\_result: # The \`fort\_character\` eliminated from the match by \`EliminatingCharacter\`. EliminatedCharacter\<native\>\<public\>:fort\_character # \`fort\_character\` tha…

---

## [Creatures Enter Event](https://forums.unrealengine.com/t/creatures-enter-event/1177676)

<div class="topic-metadata">

**Author:** [@ETERNITY-FNC](https://forums.unrealengine.com/u/ETERNITY-FNC)\
**Replies:** 1\
**Last updated:** [May 25, 2023, 7:09pm UTC](https://forums.unrealengine.com/t/creatures-enter-event/1177676 "2023-05-25T19:09:35Z")

</div>

Is there any way to detect when Creatures enter a mutator or any other device as of right now?

---

## [Question about custom UI (Like health bar)](https://forums.unrealengine.com/t/question-about-custom-ui-like-health-bar/1287110)

<div class="topic-metadata">

**Author:** [@landscapecmy](https://forums.unrealengine.com/u/landscapecmy)\
**Replies:** 0\
**Last updated:** [September 7, 2023, 5:20pm UTC](https://forums.unrealengine.com/t/question-about-custom-ui-like-health-bar/1287110 "2023-09-07T17:20:01Z")

</div>

I’m trying to create a Health bar in a multiplayer game and AddWidget to all clients’ screens. However, after my struggle, I found that I couldn’t use a variable to store the Widget information and AddWidget to all playe…

---

## [How to detect Biplane collision with any static mesh?](https://forums.unrealengine.com/t/how-to-detect-biplane-collision-with-any-static-mesh/1285124)

<div class="topic-metadata">

**Author:** [@gamozy](https://forums.unrealengine.com/u/gamozy)\
**Replies:** 7\
**Last updated:** [September 7, 2023, 12:58pm UTC](https://forums.unrealengine.com/t/how-to-detect-biplane-collision-with-any-static-mesh/1285124 "2023-09-07T12:58:35Z")

</div>

I need my Biplane explode after colliding with any static mesh (more than 1000 static meshes). Simplest decision is set vehicle health to minimum value 1. But it works only for shooting! Not for collisions… (why??) Sec…

---

## [Wheel of Fortune](https://forums.unrealengine.com/t/wheel-of-fortune/1284709)

<div class="topic-metadata">

**Author:** [@ETnemo](https://forums.unrealengine.com/u/ETnemo)\
**Replies:** 4\
**Last updated:** [September 7, 2023, 12:17pm UTC](https://forums.unrealengine.com/t/wheel-of-fortune/1284709 "2023-09-07T12:17:41Z")

</div>

Do you have any ideas how to make working wheel of fortune?

---

## [Does the damage\_result instigator or source even work??](https://forums.unrealengine.com/t/does-the-damage-result-instigator-or-source-even-work/1284499)

<div class="topic-metadata">

**Author:** [@GraemeBB](https://forums.unrealengine.com/u/GraemeBB)\
**Replies:** 8\
**Last updated:** [September 6, 2023, 7:42pm UTC](https://forums.unrealengine.com/t/does-the-damage-result-instigator-or-source-even-work/1284499 "2023-09-06T19:42:43Z")

</div>

This is what is in the code for damage\_result damage\_result\<native\>\<public\> := struct\<epic\_internal\>: # Object that was damaged. Target\<native\>\<public\>:damageable # Amount of damage applied to …

---

## [Checkpoint device event does not work when the checkpoint is in an array?](https://forums.unrealengine.com/t/checkpoint-device-event-does-not-work-when-the-checkpoint-is-in-an-array/1283473)

<div class="topic-metadata">

**Author:** [@Icifyed](https://forums.unrealengine.com/u/Icifyed)\
**Replies:** 2\
**Last updated:** [September 5, 2023, 2:05pm UTC](https://forums.unrealengine.com/t/checkpoint-device-event-does-not-work-when-the-checkpoint-is-in-an-array/1283473 "2023-09-05T14:05:38Z")

</div>

Hello! I am a verse newbie and so far I am really enjoying it! However, I ran into an issue regarding the checkpoint device and the FirstActivationPerAgentEvent signal. In this practice project, I am attempting to creat…

---

## [Why am I getting this error when trying to round a float](https://forums.unrealengine.com/t/why-am-i-getting-this-error-when-trying-to-round-a-float/1281517)

<div class="topic-metadata">

**Author:** [@nelmi](https://forums.unrealengine.com/u/nelmi)\
**Replies:** 2\
**Last updated:** [September 5, 2023, 12:53pm UTC](https://forums.unrealengine.com/t/why-am-i-getting-this-error-when-trying-to-round-a-float/1281517 "2023-09-05T12:53:22Z")

</div>

So I’m trying to round a float using Ceil() (rounding upwards). But it gives me this error and I don’t know how to fix that, can someone help? Tia

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

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