# Verse

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

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

**Page:** 42

---

## [Getting the game\_action\_causer from DamagedEvent?](https://forums.unrealengine.com/t/getting-the-game-action-causer-from-damagedevent/790207)

<div class="topic-metadata">

**Author:** [@spankysully1](https://forums.unrealengine.com/u/spankysully1)\
**Replies:** 7\
**Last updated:** [June 28, 2023, 7:50pm UTC](https://forums.unrealengine.com/t/getting-the-game-action-causer-from-damagedevent/790207 "2023-06-28T19:50:36Z")

</div>

SAW THIS GET A LIKE, SO HERE’S HOW TO DO IT… (Edited in March 2025) OnDamaged(Result:damage\_result):void= if: TheSource := Result.Source? #will be a FortChar, maybe a Vehicle then: …

---

## [How Could I Get A Combat Detection System](https://forums.unrealengine.com/t/how-could-i-get-a-combat-detection-system/1212747)

<div class="topic-metadata">

**Author:** [@CodeBLASTED246](https://forums.unrealengine.com/u/CodeBLASTED246)\
**Replies:** 1\
**Last updated:** [June 28, 2023, 3:41am UTC](https://forums.unrealengine.com/t/how-could-i-get-a-combat-detection-system/1212747 "2023-06-28T03:41:37Z")

</div>

I just need to make it so I can stop people going through rifts when they are in combat.

---

## [MoveTo is severely Buggy \[Fixed Fortnite v25.0\]](https://forums.unrealengine.com/t/moveto-is-severely-buggy-fixed-fortnite-v25-0/879773)

<div class="topic-metadata">

**Author:** [@dmac921](https://forums.unrealengine.com/u/dmac921)\
**Replies:** 42\
**Last updated:** [June 28, 2023, 2:41am UTC](https://forums.unrealengine.com/t/moveto-is-severely-buggy-fixed-fortnite-v25-0/879773 "2023-06-28T02:41:08Z")

</div>

When you use MoveTo in a function that loops, the prop being moved snaps back to the start position for maybe 1 frame, once it reaches it’s destination, and I can’t seem to get it to not do that.

---

## [Is it possible to transform creative devices?](https://forums.unrealengine.com/t/is-it-possible-to-transform-creative-devices/1208440)

<div class="topic-metadata">

**Author:** [@SeedohFN](https://forums.unrealengine.com/u/SeedohFN)\
**Replies:** 4\
**Last updated:** [June 25, 2023, 6:38am UTC](https://forums.unrealengine.com/t/is-it-possible-to-transform-creative-devices/1208440 "2023-06-25T06:38:44Z")

</div>

Is it possible to teleport creative devices? I tried to teleport the base of dirt bike spawner device to a new location but it doesn’t seems that you can do that as far as I can tell in the verse API. Considering that cr…

---

## [Playtesters Role?](https://forums.unrealengine.com/t/playtesters-role/1209602)

<div class="topic-metadata">

**Author:** [@GarettHunter](https://forums.unrealengine.com/u/GarettHunter)\
**Replies:** 0\
**Last updated:** [June 24, 2023, 11:23pm UTC](https://forums.unrealengine.com/t/playtesters-role/1209602 "2023-06-24T23:23:34Z")

</div>

I was reading this and I noticed the Playtesters role in the Image under Step 4 of the Adding Additional Team Members section. The other roles seem to allow people to modify your project in some way. I assume the …

---

## [Want to Implement Invisible Player Character Visible Only to Self / 自分だけに見える隠れ状態のプレイヤーを実現したい](https://forums.unrealengine.com/t/want-to-implement-invisible-player-character-visible-only-to-self/1209189)

<div class="topic-metadata">

**Author:** [@ziver00](https://forums.unrealengine.com/u/ziver00)\
**Replies:** 0\
**Last updated:** [June 24, 2023, 1:33pm UTC](https://forums.unrealengine.com/t/want-to-implement-invisible-player-character-visible-only-to-self/1209189 "2023-06-24T13:33:08Z")

</div>

I’ve followed the instructions on the “5. Making Players Invisible” (5. プレイヤーを不可視にする) page and used fort\_character.Hide() to introduce the invisibility function to my game. However, when the controlled character is compl…

---

## [I can't teleport a creative device to a location](https://forums.unrealengine.com/t/i-cant-teleport-a-creative-device-to-a-location/1133437)

<div class="topic-metadata">

**Author:** [@AddisonV](https://forums.unrealengine.com/u/AddisonV)\
**Replies:** 5\
**Last updated:** [June 23, 2023, 9:59pm UTC](https://forums.unrealengine.com/t/i-cant-teleport-a-creative-device-to-a-location/1133437 "2023-06-23T21:59:48Z")

</div>

So I am creating a team manager that controls the general flow of the a race. And I have set an array of checkpoints, I want to keep the player respawn on the last checkpoint that he passed and so I want to teleport the …

---

## [How can I make the game end in a draw?](https://forums.unrealengine.com/t/how-can-i-make-the-game-end-in-a-draw/1208037)

<div class="topic-metadata">

**Author:** [@GarettHunter](https://forums.unrealengine.com/u/GarettHunter)\
**Replies:** 2\
**Last updated:** [June 23, 2023, 9:21pm UTC](https://forums.unrealengine.com/t/how-can-i-make-the-game-end-in-a-draw/1208037 "2023-06-23T21:21:15Z")

</div>

I want the game to end in a draw if no players complete an objective before a timer runs out. At the moment, I can’t seem to figure it out. Does anyone know how to do this?

---

## [How can I "reset" the SprintedEvent](https://forums.unrealengine.com/t/how-can-i-reset-the-sprintedevent/1206815)

<div class="topic-metadata">

**Author:** [@WaffouUEFN](https://forums.unrealengine.com/u/WaffouUEFN)\
**Replies:** 1\
**Last updated:** [June 23, 2023, 3:45pm UTC](https://forums.unrealengine.com/t/how-can-i-reset-the-sprintedevent/1206815 "2023-06-23T15:45:18Z")

</div>

I’m making an Script to an object follow the player, but I want to switch the object to different players, but the SprintedEvent activates to all players that has the object before, there’s a way to do this? I tried some…

---

## [How to optimize my function with subscribe in mind](https://forums.unrealengine.com/t/how-to-optimize-my-function-with-subscribe-in-mind/1206681)

<div class="topic-metadata">

**Author:** [@michll](https://forums.unrealengine.com/u/michll)\
**Replies:** 2\
**Last updated:** [June 23, 2023, 4:56am UTC](https://forums.unrealengine.com/t/how-to-optimize-my-function-with-subscribe-in-mind/1206681 "2023-06-23T04:56:05Z")

</div>

My idea to optimize this is to make a function that gets device “name” as a variable, and then I could make this a single function. My problem is that I don’t know what parameter I should put inside my function bracket…

---

## [listenable Interfaces/Functions Should Pass this as the First Argument](https://forums.unrealengine.com/t/listenable-interfaces-functions-should-pass-this-as-the-first-argument/1206712)

<div class="topic-metadata">

**Author:** [@hyperdr1ve](https://forums.unrealengine.com/u/hyperdr1ve)\
**Replies:** 3\
**Last updated:** [June 22, 2023, 2:09pm UTC](https://forums.unrealengine.com/t/listenable-interfaces-functions-should-pass-this-as-the-first-argument/1206712 "2023-06-22T14:09:14Z")

</div>

Trying to use listenables to create device interactions that are not 1:1 (1 device directly bound to another device) is extremely painful right now. For instance, let’s say you want to monitor the 40 vehicle spawners in…

---

## [does GetTeamCollection return the teams in order?](https://forums.unrealengine.com/t/does-getteamcollection-return-the-teams-in-order/1205561)

<div class="topic-metadata">

**Author:** [@PiEqualsThree3](https://forums.unrealengine.com/u/PiEqualsThree3)\
**Replies:** 1\
**Last updated:** [June 22, 2023, 11:19am UTC](https://forums.unrealengine.com/t/does-getteamcollection-return-the-teams-in-order/1205561 "2023-06-22T11:19:54Z")

</div>

In Fortnite, the Teams are labeled 1, 2, 3, etc. When using the GetTeamCollection() function, does it return the elements in the same order as Fortnite? Example: would Team\[0\] be Team 1 in Fortnite?

---

## [print device name with verse?](https://forums.unrealengine.com/t/print-device-name-with-verse/1205142)

<div class="topic-metadata">

**Author:** [@laggyluk](https://forums.unrealengine.com/u/laggyluk)\
**Replies:** 3\
**Last updated:** [June 21, 2023, 6:33pm UTC](https://forums.unrealengine.com/t/print-device-name-with-verse/1205142 "2023-06-21T18:33:40Z")

</div>

Let’s say I have couple of ‘verse device’ instances on level running and I want to identify them in log, is there a way to print device name it has assigned in level outliner or sth like that?

---

## [How can I simplify my code when checking if a map has a key?](https://forums.unrealengine.com/t/how-can-i-simplify-my-code-when-checking-if-a-map-has-a-key/1205518)

<div class="topic-metadata">

**Author:** [@GarettHunter](https://forums.unrealengine.com/u/GarettHunter)\
**Replies:** 8\
**Last updated:** [June 21, 2023, 6:38am UTC](https://forums.unrealengine.com/t/how-can-i-simplify-my-code-when-checking-if-a-map-has-a-key/1205518 "2023-06-21T06:38:39Z")

</div>

I have an if-else pattern, but I don’t know how to write the if statement in order to negate it. The code in the else block is what matters to the function. # The players to keep alive and avoid elimination. The int…

---

## [(Un-)Structured concurrency](https://forums.unrealengine.com/t/un-structured-concurrency/1156893)

<div class="topic-metadata">

**Author:** [@Knight\_Breaker](https://forums.unrealengine.com/u/Knight_Breaker)\
**Replies:** 3\
**Last updated:** [June 20, 2023, 7:37am UTC](https://forums.unrealengine.com/t/un-structured-concurrency/1156893 "2023-06-20T07:37:55Z")

</div>

Hi Team behind Verse, let’s have a constructive discussion on (un-)structured concurrency in verse. I’m happy to see that Verse had decided to go that rout from day way since the language became publicly available. Prop…

---

## [How can I show on the minimap and overview map a line to a target location?](https://forums.unrealengine.com/t/how-can-i-show-on-the-minimap-and-overview-map-a-line-to-a-target-location/1205663)

<div class="topic-metadata">

**Author:** [@GarettHunter](https://forums.unrealengine.com/u/GarettHunter)\
**Replies:** 0\
**Last updated:** [June 20, 2023, 9:19pm UTC](https://forums.unrealengine.com/t/how-can-i-show-on-the-minimap-and-overview-map-a-line-to-a-target-location/1205663 "2023-06-20T21:19:52Z")

</div>

Similar to how the storm shows a line to the safe zone. How can I do something similar to some target location? I tried to do this with the Map Indicator Device, but it doesn’t seem to have a show line to option.

---

## [How Can I Prevent A Player from Never Respawning Again In Future Rounds?](https://forums.unrealengine.com/t/how-can-i-prevent-a-player-from-never-respawning-again-in-future-rounds/1205537)

<div class="topic-metadata">

**Author:** [@GarettHunter](https://forums.unrealengine.com/u/GarettHunter)\
**Replies:** 0\
**Last updated:** [June 20, 2023, 7:02pm UTC](https://forums.unrealengine.com/t/how-can-i-prevent-a-player-from-never-respawning-again-in-future-rounds/1205537 "2023-06-20T19:02:22Z")

</div>

Is it possible to eliminate a player during a round and mark them as being eligible to respawn next round? The ones who aren’t marked as eligible should no longer be allowed to respawn for the rest of the game session, b…

---

## [How can I teleport players to a waiting room when some condition is met and eliminate players who don't meet that condition?](https://forums.unrealengine.com/t/how-can-i-teleport-players-to-a-waiting-room-when-some-condition-is-met-and-eliminate-players-who-dont-meet-that-condition/1203834)

<div class="topic-metadata">

**Author:** [@GarettHunter](https://forums.unrealengine.com/u/GarettHunter)\
**Replies:** 2\
**Last updated:** [June 20, 2023, 12:07am UTC](https://forums.unrealengine.com/t/how-can-i-teleport-players-to-a-waiting-room-when-some-condition-is-met-and-eliminate-players-who-dont-meet-that-condition/1203834 "2023-06-20T00:07:15Z")

</div>

I want to eliminate half of the players who don’t meet a condition and keep half of the players who do meet that condition. Then I want to repeat this again for the surviving players. Once a player meets the condition, …

---

## [Can you create a save point device on verse?](https://forums.unrealengine.com/t/can-you-create-a-save-point-device-on-verse/1204506)

<div class="topic-metadata">

**Author:** [@LyssaSugarNya](https://forums.unrealengine.com/u/LyssaSugarNya)\
**Replies:** 1\
**Last updated:** [June 19, 2023, 8:10pm UTC](https://forums.unrealengine.com/t/can-you-create-a-save-point-device-on-verse/1204506 "2023-06-19T20:10:35Z")

</div>

Guys, I know nothing about coding. But I really want the save point device in my island (even though its removed). So, do you guys think it is possible to create something like the save point device in verse myself? If y…

---

## [Issue with HUD Widget and "InputMode" Setting](https://forums.unrealengine.com/t/issue-with-hud-widget-and-inputmode-setting/1201252)

<div class="topic-metadata">

**Author:** [@Dudiing](https://forums.unrealengine.com/u/Dudiing)\
**Replies:** 8\
**Last updated:** [June 17, 2023, 6:52pm UTC](https://forums.unrealengine.com/t/issue-with-hud-widget-and-inputmode-setting/1201252 "2023-06-17T18:52:36Z")

</div>

Hello, The problem I’m facing is related to the behavior of the HUD widget when using the “InputMode” setting as “All”. As I understand it, when this setting is enabled, the cursor appears on the screen and I’m unable t…

---

## [Is it possible to get the screen (X,Y) location for an object in the world (X,Y,Z)?](https://forums.unrealengine.com/t/is-it-possible-to-get-the-screen-x-y-location-for-an-object-in-the-world-x-y-z/1199939)

<div class="topic-metadata">

**Author:** [@SeanOfEarth](https://forums.unrealengine.com/u/SeanOfEarth)\
**Replies:** 1\
**Last updated:** [June 17, 2023, 4:10pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-get-the-screen-x-y-location-for-an-object-in-the-world-x-y-z/1199939 "2023-06-17T16:10:46Z")

</div>

For example, could I place a UI element over an item in the world?

---

## [A REPL for Verse?](https://forums.unrealengine.com/t/a-repl-for-verse/1186711)

<div class="topic-metadata">

**Author:** [@OB1\_canbeno](https://forums.unrealengine.com/u/OB1_canbeno)\
**Replies:** 5\
**Last updated:** [June 16, 2023, 5:32pm UTC](https://forums.unrealengine.com/t/a-repl-for-verse/1186711 "2023-06-16T17:32:36Z")

</div>

It seems like the only way one can learn Verse is through the fairly lengthy edit, compile, link, load, run, cycle process of going from a VSCode edits to the LOG screen inside a running Fortnite client. (Right?) Some c…

---

## [How to SetInteractionText on Conditional Button with Verse](https://forums.unrealengine.com/t/how-to-setinteractiontext-on-conditional-button-with-verse/1201078)

<div class="topic-metadata">

**Author:** [@CircuitC](https://forums.unrealengine.com/u/CircuitC)\
**Replies:** 2\
**Last updated:** [June 16, 2023, 10:38am UTC](https://forums.unrealengine.com/t/how-to-setinteractiontext-on-conditional-button-with-verse/1201078 "2023-06-16T10:38:05Z")

</div>

I am trying to set the interaction text on a conditional button via Verse but i cant figure out how to cast the string i got to a message so i can use it for the SetInteractionText function.

---

## [How do I get a reference to me (my character) in Verse?](https://forums.unrealengine.com/t/how-do-i-get-a-reference-to-me-my-character-in-verse/1199766)

<div class="topic-metadata">

**Author:** [@GraemeBB](https://forums.unrealengine.com/u/GraemeBB)\
**Replies:** 0\
**Last updated:** [June 15, 2023, 6:49am UTC](https://forums.unrealengine.com/t/how-do-i-get-a-reference-to-me-my-character-in-verse/1199766 "2023-06-15T06:49:13Z")

</div>

In all the tutorials it references getting the first “Player” in the array of players in the Playspace as the documentation assumes we are the only one testing. How to get a reliable reference of me in the list? Are we a…

---

## [Meta types and dynamic typing](https://forums.unrealengine.com/t/meta-types-and-dynamic-typing/1162255)

<div class="topic-metadata">

**Author:** [@Knight\_Breaker](https://forums.unrealengine.com/u/Knight_Breaker)\
**Replies:** 4\
**Last updated:** [June 13, 2023, 11:32pm UTC](https://forums.unrealengine.com/t/meta-types-and-dynamic-typing/1162255 "2023-06-13T23:32:13Z")

</div>

Does verse have these features, or are there any potential discussions in providing these in the future? Meta types: A meta type is basically “the type of a type” Dynamic typing: Dynamic typing allows one to obtain an …

---

## [Spawn & set timer with Device and verse basic knowledge.](https://forums.unrealengine.com/t/spawn-set-timer-with-device-and-verse-basic-knowledge/1197839)

<div class="topic-metadata">

**Author:** [@Est\_engine](https://forums.unrealengine.com/u/Est_engine)\
**Replies:** 0\
**Last updated:** [June 13, 2023, 10:05am UTC](https://forums.unrealengine.com/t/spawn-set-timer-with-device-and-verse-basic-knowledge/1197839 "2023-06-13T10:05:54Z")

</div>

I have some question on how exactly “think” and “use” verse. Let me explain. I placed a timer in the level, and made an editable variable of the Timer-type. So i can select it correctly and now is stored in the variab…

---

## [Casting Enum to string and int](https://forums.unrealengine.com/t/casting-enum-to-string-and-int/1196688)

<div class="topic-metadata">

**Author:** [@CircuitC](https://forums.unrealengine.com/u/CircuitC)\
**Replies:** 4\
**Last updated:** [June 12, 2023, 11:07am UTC](https://forums.unrealengine.com/t/casting-enum-to-string-and-int/1196688 "2023-06-12T11:07:19Z")

</div>

I wanted to use an enum for making my code more verbose. So i can have an enum named States and use that for the index variable when grabbing elements from an array. Aswell as i wanted to print the enum out. But in both…

---

## [Casting Enum to string and int](https://forums.unrealengine.com/t/casting-enum-to-string-and-int/1196689)

<div class="topic-metadata">

**Author:** [@CircuitC](https://forums.unrealengine.com/u/CircuitC)\
**Replies:** 0\
**Last updated:** [June 12, 2023, 10:33am UTC](https://forums.unrealengine.com/t/casting-enum-to-string-and-int/1196689 "2023-06-12T10:33:59Z")

</div>

I wanted to use an enum for making my code more verbose. So i can have an enum named States and use that for the index variable when grabbing elements from an array. Aswell as i wanted to print the enum out. But in both…

---

## [A function that create button\_device and set up](https://forums.unrealengine.com/t/a-function-that-create-button-device-and-set-up/1194802)

<div class="topic-metadata">

**Author:** [@t.tutiya](https://forums.unrealengine.com/u/t.tutiya)\
**Replies:** 2\
**Last updated:** [June 11, 2023, 12:32am UTC](https://forums.unrealengine.com/t/a-function-that-create-button-device-and-set-up/1194802 "2023-06-11T00:32:26Z")

</div>

I want to create a function that creates a button\_device, sets up a handler function, and returns that object. However, the following function gives me a compile error. CreateLoudButton(Name:string, Handler: widget\_mes…

---

## [Every time I kill a player it gives + 50 points to the player I killed instead of me. how can I fix this?](https://forums.unrealengine.com/t/every-time-i-kill-a-player-it-gives-50-points-to-the-player-i-killed-instead-of-me-how-can-i-fix-this/1190076)

<div class="topic-metadata">

**Author:** [@FURTHEST](https://forums.unrealengine.com/u/FURTHEST)\
**Replies:** 2\
**Last updated:** [June 10, 2023, 12:41am UTC](https://forums.unrealengine.com/t/every-time-i-kill-a-player-it-gives-50-points-to-the-player-i-killed-instead-of-me-how-can-i-fix-this/1190076 "2023-06-10T00:41:42Z")

</div>

I am making a script when a player reaches 100% power level it triggers a ultimate ability, but every time I kill a player it gives + 50 points to the player I killed instead of me. how can I fix this? var PowerLevel : …

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

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