# Verse

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

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

**Page:** 23

---

## [Is Player Editing Build Checker](https://forums.unrealengine.com/t/is-player-editing-build-checker/1929887)

<div class="topic-metadata">

**Author:** [@ideyot](https://forums.unrealengine.com/u/ideyot)\
**Replies:** 0\
**Last updated:** [July 8, 2024, 12:19am UTC](https://forums.unrealengine.com/t/is-player-editing-build-checker/1929887 "2024-07-08T00:19:06Z")

</div>

Is it currently possible to know if player is editing a build in UEFN? I know how to check if they are building by tracking their resource wood, stone and metal to see if it changes, but I’m not entirely sure about edit…

---

## [Object spawn restriction](https://forums.unrealengine.com/t/object-spawn-restriction/1927611)

<div class="topic-metadata">

**Author:** [@Strelloke](https://forums.unrealengine.com/u/Strelloke)\
**Replies:** 1\
**Last updated:** [July 6, 2024, 12:54am UTC](https://forums.unrealengine.com/t/object-spawn-restriction/1927611 "2024-07-06T00:54:35Z")

</div>

I recently found out that SpawnProp has a limitation. “#More props have been spawned than are permitted by the island’s rules (currently 100 per script device and 200 total per island).” But during testing, it turned o…

---

## [Fix constructors functionality](https://forums.unrealengine.com/t/fix-constructors-functionality/1927389)

<div class="topic-metadata">

**Author:** [@GTrovatoES](https://forums.unrealengine.com/u/GTrovatoES)\
**Replies:** 0\
**Last updated:** [July 5, 2024, 11:05am UTC](https://forums.unrealengine.com/t/fix-constructors-functionality/1927389 "2024-07-05T11:05:46Z")

</div>

After looking around in the documentation and experimenting a bit with constructors it seems that constructors cannot do properly what they should do. By definition a constructor is used to create a new instance of a cla…

---

## [How to reference element of array when compiler says that I'm trying to call a function with 'decides' effect](https://forums.unrealengine.com/t/how-to-reference-element-of-array-when-compiler-says-that-im-trying-to-call-a-function-with-decides-effect/1925426)

<div class="topic-metadata">

**Author:** [@ForestTrener](https://forums.unrealengine.com/u/ForestTrener)\
**Replies:** 1\
**Last updated:** [July 3, 2024, 3:54pm UTC](https://forums.unrealengine.com/t/how-to-reference-element-of-array-when-compiler-says-that-im-trying-to-call-a-function-with-decides-effect/1925426 "2024-07-03T15:54:50Z")

</div>

line\_class := class\<concrete\>: @editable Title : string = "Title" @editable Description : string = "Message" @editable Decisions : \[\]decision\_class = array{} @editable Camera : gameplay\_c…

---

## [Not awarding gun to right player in Gun Game](https://forums.unrealengine.com/t/not-awarding-gun-to-right-player-in-gun-game/1925320)

<div class="topic-metadata">

**Author:** [@SuperMonkey](https://forums.unrealengine.com/u/SuperMonkey)\
**Replies:** 0\
**Last updated:** [July 3, 2024, 1:49pm UTC](https://forums.unrealengine.com/t/not-awarding-gun-to-right-player-in-gun-game/1925320 "2024-07-03T13:49:43Z")

</div>

I copied the uefn gun game tutorial. everything works fine except for one thing. When I am playing with at least 2 other people, sometimes when I get a kill it awards a different player the gun that I was supposed to get…

---

## [Different Verse files in the same Module](https://forums.unrealengine.com/t/different-verse-files-in-the-same-module/1924313)

<div class="topic-metadata">

**Author:** [@Portine](https://forums.unrealengine.com/u/Portine)\
**Replies:** 1\
**Last updated:** [July 3, 2024, 12:16am UTC](https://forums.unrealengine.com/t/different-verse-files-in-the-same-module/1924313 "2024-07-03T00:16:26Z")

</div>

Hey! I’m developing a basic and modular system to be used accross different projects. With that in mind, I want to separate the Base classes from the actual implemented classes on each project, so I thought of putting e…

---

## [How to add an element to an array that contains another array](https://forums.unrealengine.com/t/how-to-add-an-element-to-an-array-that-contains-another-array/1921847)

<div class="topic-metadata">

**Author:** [@Soy\_Ema\_31](https://forums.unrealengine.com/u/Soy_Ema_31)\
**Replies:** 4\
**Last updated:** [June 30, 2024, 7:47pm UTC](https://forums.unrealengine.com/t/how-to-add-an-element-to-an-array-that-contains-another-array/1921847 "2024-06-30T19:47:21Z")

</div>

I know how to add elements to an array, but I don’t know how to add elements to the following array structure PropData:=class\<concrete\>(): @editable PropsIn:\[\]creative\_prop = array{} Forum := class(creative\_dev…

---

## [Trigger device not triggering?](https://forums.unrealengine.com/t/trigger-device-not-triggering/1919899)

<div class="topic-metadata">

**Author:** [@sevenkdirl](https://forums.unrealengine.com/u/sevenkdirl)\
**Replies:** 1\
**Last updated:** [June 28, 2024, 6:00pm UTC](https://forums.unrealengine.com/t/trigger-device-not-triggering/1919899 "2024-06-28T18:00:05Z")

</div>

Hello, This is my code: using { /Fortnite.com/Devices } using { /Verse.org/Simulation } using { /UnrealEngine.com/Temporary/Diagnostics } auto\_select\_team\_device := class(creative\_device): @editable SaveTeam : tr…

---

## [It is possible to change the material in a specific keyframe\_delta?](https://forums.unrealengine.com/t/it-is-possible-to-change-the-material-in-a-specific-keyframe-delta/1916303)

<div class="topic-metadata">

**Author:** [@davidpkami](https://forums.unrealengine.com/u/davidpkami)\
**Replies:** 0\
**Last updated:** [June 25, 2024, 4:23pm UTC](https://forums.unrealengine.com/t/it-is-possible-to-change-the-material-in-a-specific-keyframe-delta/1916303 "2024-06-25T16:23:00Z")

</div>

Example: MovementKeyFrame1 : keyframe\_delta = keyframe\_delta #Key Frame 1 to begining { DeltaLocation := VectorToMidPoint DeltaRotation := StandarRotation DeltaScale := Standa…

---

## [Multiple Level experience?](https://forums.unrealengine.com/t/multiple-level-experience/1915349)

<div class="topic-metadata">

**Author:** [@cpt\_boogie](https://forums.unrealengine.com/u/cpt_boogie)\
**Replies:** 1\
**Last updated:** [June 25, 2024, 3:54pm UTC](https://forums.unrealengine.com/t/multiple-level-experience/1915349 "2024-06-25T15:54:42Z")

</div>

Are we able to have multiple maps in our experience, or is it limited to one? I’m wanting a level select and unlock system. Thanks for your time.

---

## [Loop works but parts within it happen after it has finished](https://forums.unrealengine.com/t/loop-works-but-parts-within-it-happen-after-it-has-finished/1915400)

<div class="topic-metadata">

**Author:** [@sevenkdirl](https://forums.unrealengine.com/u/sevenkdirl)\
**Replies:** 4\
**Last updated:** [June 25, 2024, 12:45pm UTC](https://forums.unrealengine.com/t/loop-works-but-parts-within-it-happen-after-it-has-finished/1915400 "2024-06-25T12:45:38Z")

</div>

Hello, I have a map that allows the players to select their team (2 teams) when the round starts. This works but if someone doesn’t pick a team, I want the game to auto assign a team to them with it balancing the team si…

---

## [Help with Timer Script](https://forums.unrealengine.com/t/help-with-timer-script/1912079)

<div class="topic-metadata">

**Author:** [@Mock04](https://forums.unrealengine.com/u/Mock04)\
**Replies:** 3\
**Last updated:** [June 23, 2024, 7:25am UTC](https://forums.unrealengine.com/t/help-with-timer-script/1912079 "2024-06-23T07:25:59Z")

</div>

I am just getting into coding and created this timer script for an obby I made. It works perfectly-- if you only have one person. If you have more than one person it affects everybody. How should I fix this. Looking at v…

---

## [SetTextOpacity](https://forums.unrealengine.com/t/settextopacity/1909825)

<div class="topic-metadata">

**Author:** [@OriginalTomGanks](https://forums.unrealengine.com/u/OriginalTomGanks)\
**Replies:** 2\
**Last updated:** [June 22, 2024, 11:58pm UTC](https://forums.unrealengine.com/t/settextopacity/1909825 "2024-06-22T23:58:10Z")

</div>

Hello, I’m trying to understand how I can use SetTextOpacity on a text\_block. Looking at the function: Sets the opacity of the displayed text. SetTextOpacity\<native\>\<public\>(InOpacity:type {\_X:float where 0.000…

---

## [Strange behavior of function optional parameter](https://forums.unrealengine.com/t/strange-behavior-of-function-optional-parameter/1890533)

<div class="topic-metadata">

**Author:** [@Benjf29](https://forums.unrealengine.com/u/Benjf29)\
**Replies:** 1\
**Last updated:** [June 20, 2024, 4:19pm UTC](https://forums.unrealengine.com/t/strange-behavior-of-function-optional-parameter/1890533 "2024-06-20T16:19:56Z")

</div>

Hi, I’m recently trying to use optional parameter on a function in my project. The function with optional parameter are: UpdateNpcState(NewState:npc\_state, ?ForceAction: logic = false): void = { if(ForceActio…

---

## [Custom Player Map](https://forums.unrealengine.com/t/custom-player-map/1791518)

<div class="topic-metadata">

**Author:** [@lowfpsplayer1](https://forums.unrealengine.com/u/lowfpsplayer1)\
**Replies:** 1\
**Last updated:** [June 20, 2024, 3:11pm UTC](https://forums.unrealengine.com/t/custom-player-map/1791518 "2024-06-20T15:11:48Z")

</div>

var PlayersMap: \[player\]CustomPlayerData = map{} How would I access this in a separate class?

---

## [Take the location X,Y,Z of an object and add plus 30 to the X. Then using TeleportTo, to that location.](https://forums.unrealengine.com/t/take-the-location-x-y-z-of-an-object-and-add-plus-30-to-the-x-then-using-teleportto-to-that-location/1772839)

<div class="topic-metadata">

**Author:** [@Kelan](https://forums.unrealengine.com/u/Kelan)\
**Replies:** 2\
**Last updated:** [June 20, 2024, 1:21am UTC](https://forums.unrealengine.com/t/take-the-location-x-y-z-of-an-object-and-add-plus-30-to-the-x-then-using-teleportto-to-that-location/1772839 "2024-06-20T01:21:01Z")

</div>

Take the location X,Y,Z of an object and add plus 30 to the X. Then using TeleportTo, to that location. :slight\_smile:

---

## [Unreal Engine Changing resolution](https://forums.unrealengine.com/t/unreal-engine-changing-resolution/1891624)

<div class="topic-metadata">

**Author:** [@Skyper4342](https://forums.unrealengine.com/u/Skyper4342)\
**Replies:** 1\
**Last updated:** [June 19, 2024, 12:06am UTC](https://forums.unrealengine.com/t/unreal-engine-changing-resolution/1891624 "2024-06-19T00:06:52Z")

</div>

Hello! I made a menu for graphics settings, and when I change the graphics the game for some reason immediately sets the screen resolution to 2554x1400, what could be the problem?

---

## [Respawn Spectating players](https://forums.unrealengine.com/t/respawn-spectating-players/1883141)

<div class="topic-metadata">

**Author:** [@XXL](https://forums.unrealengine.com/u/XXL)\
**Replies:** 1\
**Last updated:** [June 19, 2024, 12:05am UTC](https://forums.unrealengine.com/t/respawn-spectating-players/1883141 "2024-06-19T00:05:49Z")

</div>

can anyone help me make a code to respawn spectating players

---

## [NPC Damage stuck on Infinite Loop](https://forums.unrealengine.com/t/npc-damage-stuck-on-infinite-loop/1906986)

<div class="topic-metadata">

**Author:** [@Xonxo9000](https://forums.unrealengine.com/u/Xonxo9000)\
**Replies:** 6\
**Last updated:** [June 18, 2024, 11:23pm UTC](https://forums.unrealengine.com/t/npc-damage-stuck-on-infinite-loop/1906986 "2024-06-18T23:23:23Z")

</div>

Infinite loop keeps happening when NPC dies. Damage works fine until death. HandlePlayerHit makes it so the NPC deals extra damage when it is hit. I need this to stop having errors. using { /Fortnite.com/Devices } us…

---

## [Is there a way to set gravity to zero in UEFN ?](https://forums.unrealengine.com/t/is-there-a-way-to-set-gravity-to-zero-in-uefn/1883070)

<div class="topic-metadata">

**Author:** [@AZOM-Games](https://forums.unrealengine.com/u/AZOM-Games)\
**Replies:** 13\
**Last updated:** [June 18, 2024, 11:16am UTC](https://forums.unrealengine.com/t/is-there-a-way-to-set-gravity-to-zero-in-uefn/1883070 "2024-06-18T11:16:45Z")

</div>

Is there a way to set gravity to zero in UEFN ?

---

## [UEFN with VR](https://forums.unrealengine.com/t/uefn-with-vr/803799)

<div class="topic-metadata">

**Author:** [@tomhalpin8](https://forums.unrealengine.com/u/tomhalpin8)\
**Replies:** 6\
**Last updated:** [June 17, 2024, 2:57pm UTC](https://forums.unrealengine.com/t/uefn-with-vr/803799 "2024-06-17T14:57:43Z")

</div>

What do you think the chances are that UEFN can and will implement VR? Kind of like how you can play VRChat in both flat screen and VR working with each other?

---

## [How does this get updated?](https://forums.unrealengine.com/t/how-does-this-get-updated/1904360)

<div class="topic-metadata">

**Author:** [@q\_e\_e](https://forums.unrealengine.com/u/q_e_e)\
**Replies:** 32\
**Last updated:** [June 17, 2024, 1:26pm UTC](https://forums.unrealengine.com/t/how-does-this-get-updated/1904360 "2024-06-17T13:26:49Z")

</div>

I used Score Manager but it idoesn’t update for some reason but when I press tab it shows the score won or on the right hand side there is a trophey I get the score won on next to it

---

## [How to setup a function to be available in user options functions list ?](https://forums.unrealengine.com/t/how-to-setup-a-function-to-be-available-in-user-options-functions-list/1905867)

<div class="topic-metadata">

**Author:** [@AZOM-Games](https://forums.unrealengine.com/u/AZOM-Games)\
**Replies:** 5\
**Last updated:** [June 17, 2024, 5:15am UTC](https://forums.unrealengine.com/t/how-to-setup-a-function-to-be-available-in-user-options-functions-list/1905867 "2024-06-17T05:15:37Z")

</div>

How to setup a function to be available in user options functions list ? Here :

---

## [Point in the blueprint (score)](https://forums.unrealengine.com/t/point-in-the-blueprint-score/1905463)

<div class="topic-metadata">

**Author:** [@LoupFr](https://forums.unrealengine.com/u/LoupFr)\
**Replies:** 0\
**Last updated:** [June 16, 2024, 7:02pm UTC](https://forums.unrealengine.com/t/point-in-the-blueprint-score/1905463 "2024-06-16T19:02:31Z")

</div>

how can I modify a text block in the blueprint, for example I make a kill and I gain 20 in score, like adding 20 to the text block, etc.? and then when you go over 1,000 it goes up to 1K… 1K25 (1250)

---

## [Removing BallSpawner's ball slow down effect](https://forums.unrealengine.com/t/removing-ballspawners-ball-slow-down-effect/1905035)

<div class="topic-metadata">

**Author:** [@AZOM-Games](https://forums.unrealengine.com/u/AZOM-Games)\
**Replies:** 0\
**Last updated:** [June 16, 2024, 11:07am UTC](https://forums.unrealengine.com/t/removing-ballspawners-ball-slow-down-effect/1905035 "2024-06-16T11:07:26Z")

</div>

How to remove the effect that slow down BallSpawner’s Ball ?

---

## [cursor and camera controls](https://forums.unrealengine.com/t/cursor-and-camera-controls/1903346)

<div class="topic-metadata">

**Author:** [@Mrwoofwoof03](https://forums.unrealengine.com/u/Mrwoofwoof03)\
**Replies:** 0\
**Last updated:** [June 14, 2024, 5:25pm UTC](https://forums.unrealengine.com/t/cursor-and-camera-controls/1903346 "2024-06-14T17:25:54Z")

</div>

is there a way to program your own cursor lock or and also is there a way to hid courser and also is there a way to make it to were you have to hold down a button to be able to rotate camera or is that just not possible …

---

## [Destroy Agents with Trigger device](https://forums.unrealengine.com/t/destroy-agents-with-trigger-device/1784530)

<div class="topic-metadata">

**Author:** [@MelodyApe](https://forums.unrealengine.com/u/MelodyApe)\
**Replies:** 2\
**Last updated:** [June 12, 2024, 9:48pm UTC](https://forums.unrealengine.com/t/destroy-agents-with-trigger-device/1784530 "2024-06-12T21:48:16Z")

</div>

I am trying to destroy a ball from a ball spawner when the ball activates a Trigger, the problem is I can’t seem to figure out how to destroy it, since its an ?agent, the method Destroy does not exist, and I can’t use th…

---

## [How to print text with duration and color?](https://forums.unrealengine.com/t/how-to-print-text-with-duration-and-color/1148664)

<div class="topic-metadata">

**Author:** [@R0ya1Eag1e](https://forums.unrealengine.com/u/R0ya1Eag1e)\
**Replies:** 2\
**Last updated:** [June 12, 2024, 2:57pm UTC](https://forums.unrealengine.com/t/how-to-print-text-with-duration-and-color/1148664 "2024-06-12T14:57:53Z")

</div>

So, how to pass duration and color to Print function in Verse? What i tried: using { /Fortnite.com/Devices } using { /Verse.org/Simulation } using { /Verse.org/Colors } using { /Verse.org/Colors/NamedColors } hello…

---

## [Whether using a method pointer as a map value results in a lazy instantiation?](https://forums.unrealengine.com/t/whether-using-a-method-pointer-as-a-map-value-results-in-a-lazy-instantiation/1897215)

<div class="topic-metadata">

**Author:** [@Webactivist](https://forums.unrealengine.com/u/Webactivist)\
**Replies:** 1\
**Last updated:** [June 12, 2024, 9:04am UTC](https://forums.unrealengine.com/t/whether-using-a-method-pointer-as-a-map-value-results-in-a-lazy-instantiation/1897215 "2024-06-12T09:04:04Z")

</div>

Hi! I would appreciate some clarification on what’s happening when I declare something like this: data\_provider := class(): SomeData\<private\>:string = "The data's here" GetData\<public\>():string = SomeDa…

---

## [How to enable red squiggly errors to Verse in VS Code?](https://forums.unrealengine.com/t/how-to-enable-red-squiggly-errors-to-verse-in-vs-code/1894394)

<div class="topic-metadata">

**Author:** [@TechnicFox](https://forums.unrealengine.com/u/TechnicFox)\
**Replies:** 7\
**Last updated:** [June 12, 2024, 3:40am UTC](https://forums.unrealengine.com/t/how-to-enable-red-squiggly-errors-to-verse-in-vs-code/1894394 "2024-06-12T03:40:57Z")

</div>

So when I type random stuff it doesn’t mark it as an error, and when i try to compile it errors pop up. Earlier it worked fine but when I updated windows it stoped showing them I am on Windows 11 pro 23H2 VS code 1.90…

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

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