# Verse

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

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

**Page:** 44

---

## [Shuffle teams on round start](https://forums.unrealengine.com/t/shuffle-teams-on-round-start/1147595)

<div class="topic-metadata">

**Author:** [@im\_a\_lama](https://forums.unrealengine.com/u/im_a_lama)\
**Replies:** 1\
**Last updated:** [May 13, 2023, 8:56am UTC](https://forums.unrealengine.com/t/shuffle-teams-on-round-start/1147595 "2023-05-13T08:56:37Z")

</div>

I have a team balancing function that I can’t seem to get done with devices (1/9999 ratio) I tried putting a maximum size on the “alone” team but it doesn’t shuffle on round restart (which could be better than doing it …

---

## [How do I grab the instigator of AgentEntersEvent in a function?](https://forums.unrealengine.com/t/how-do-i-grab-the-instigator-of-agententersevent-in-a-function/1163212)

<div class="topic-metadata">

**Author:** [@Krosis](https://forums.unrealengine.com/u/Krosis)\
**Replies:** 1\
**Last updated:** [May 12, 2023, 7:05am UTC](https://forums.unrealengine.com/t/how-do-i-grab-the-instigator-of-agententersevent-in-a-function/1163212 "2023-05-12T07:05:57Z")

</div>

Plz no judgement i have very little experience with code, I can stutter my way through html and css, and the best I can do is a console calculator in c++… What I’m trying to make is Basically a mutator zone, which, ever…

---

## [\[FEATURE REQUEST\] Tuple or assignment destructuring](https://forums.unrealengine.com/t/feature-request-tuple-or-assignment-destructuring/1162224)

<div class="topic-metadata">

**Author:** [@Knight\_Breaker](https://forums.unrealengine.com/u/Knight_Breaker)\
**Replies:** 1\
**Last updated:** [May 11, 2023, 7:28am UTC](https://forums.unrealengine.com/t/feature-request-tuple-or-assignment-destructuring/1162224 "2023-05-11T07:28:45Z")

</div>

Occasionally I run into a situation where I want to pass a tuple around to group some data. However the language currently does not support to destructure a statically known tuple of fixed length. It would be great if t…

---

## [Using SearchCriteria to find objects with multiple gameplay tags](https://forums.unrealengine.com/t/using-searchcriteria-to-find-objects-with-multiple-gameplay-tags/1162127)

<div class="topic-metadata">

**Author:** [@JacobBeamish1](https://forums.unrealengine.com/u/JacobBeamish1)\
**Replies:** 0\
**Last updated:** [May 11, 2023, 4:28am UTC](https://forums.unrealengine.com/t/using-searchcriteria-to-find-objects-with-multiple-gameplay-tags/1162127 "2023-05-11T04:28:34Z")

</div>

How can I use SearchCriteria to reference only objects that have two tags? Could someone show me an example of initializing tags, an array of tags, and then SearchCriteria using that array? I am currently stuck with re…

---

## [Applying rotations to a player](https://forums.unrealengine.com/t/applying-rotations-to-a-player/818575)

<div class="topic-metadata">

**Author:** [@SyntaxzError](https://forums.unrealengine.com/u/SyntaxzError)\
**Replies:** 7\
**Last updated:** [May 10, 2023, 8:57pm UTC](https://forums.unrealengine.com/t/applying-rotations-to-a-player/818575 "2023-05-10T20:57:59Z")

</div>

Hello Everyone! I’ve tried to run a couple tests on Rotation a player by the yaw, however i’ve had no luck yet. The issue currently is that i am applying the yaw to an rotation but its not updating for the user. I’ve al…

---

## [Playing a Cinematic Sequence When Another is Playing Freezes Player](https://forums.unrealengine.com/t/playing-a-cinematic-sequence-when-another-is-playing-freezes-player/1160927)

<div class="topic-metadata">

**Author:** [@1-UPProtocol](https://forums.unrealengine.com/u/1-UPProtocol)\
**Replies:** 0\
**Last updated:** [May 10, 2023, 4:15am UTC](https://forums.unrealengine.com/t/playing-a-cinematic-sequence-when-another-is-playing-freezes-player/1160927 "2023-05-10T04:15:59Z")

</div>

Hey there! I’m making a game where I frequently switch between cinematic sequences, and a common issue I’ve come across is that switching between sequences too fast causes the screen to freeze. I usually encounter this w…

---

## [Verse UI - Shop - What are HUD Identifiers?](https://forums.unrealengine.com/t/verse-ui-shop-what-are-hud-identifiers/1156388)

<div class="topic-metadata">

**Author:** [@300mice](https://forums.unrealengine.com/u/300mice)\
**Replies:** 1\
**Last updated:** [May 8, 2023, 11:22pm UTC](https://forums.unrealengine.com/t/verse-ui-shop-what-are-hud-identifiers/1156388 "2023-05-08T23:22:10Z")

</div>

Hey there! I’ve been delving into setting up a shop with Verse UI and would like to display Icons like gold currency on the buttons I’ve set up for purchasing guns. I know you can’t add images yet, but I took a look at…

---

## [teleporting prop to player](https://forums.unrealengine.com/t/teleporting-prop-to-player/816093)

<div class="topic-metadata">

**Author:** [@Awesomebossdj7](https://forums.unrealengine.com/u/Awesomebossdj7)\
**Replies:** 4\
**Last updated:** [May 8, 2023, 2:09pm UTC](https://forums.unrealengine.com/t/teleporting-prop-to-player/816093 "2023-05-08T14:09:08Z")

</div>

I want to use a remote to teleport a prop to a player for a small amount of time, i’ve figured out how to teleport the prop, but i cant figure out how to get the player position this is the code i have so far: using {…

---

## [verse \[\]\[\]int not yet support multidimensional arrays](https://forums.unrealengine.com/t/verse-int-not-yet-support-multidimensional-arrays/868776)

<div class="topic-metadata">

**Author:** [@Power\_Jin](https://forums.unrealengine.com/u/Power_Jin)\
**Replies:** 3\
**Last updated:** [May 8, 2023, 1:33pm UTC](https://forums.unrealengine.com/t/verse-int-not-yet-support-multidimensional-arrays/868776 "2023-05-08T13:33:37Z")

</div>

Script error 9005: The editable attribute does not yet support multidimensional arrays Code from part of the tutorial. If you follow the tutorial, multiple arrays are not supported. did it change? This is code from …

---

## [Structs and enums in Verse](https://forums.unrealengine.com/t/structs-and-enums-in-verse/1156901)

<div class="topic-metadata">

**Author:** [@Knight\_Breaker](https://forums.unrealengine.com/u/Knight_Breaker)\
**Replies:** 4\
**Last updated:** [May 8, 2023, 3:35am UTC](https://forums.unrealengine.com/t/structs-and-enums-in-verse/1156901 "2023-05-08T03:35:46Z")

</div>

Hey Verse team, I’d like to talk about structs and enums in Verse. First things that came to my mind after being driven by Swift development almost daily for the 4-5 years are the following things: Why does Verse have…

---

## [What is wrong with this code? (verse)](https://forums.unrealengine.com/t/what-is-wrong-with-this-code-verse/1157989)

<div class="topic-metadata">

**Author:** [@mrcjwilliams7-mr](https://forums.unrealengine.com/u/mrcjwilliams7-mr)\
**Replies:** 1\
**Last updated:** [May 7, 2023, 8:22pm UTC](https://forums.unrealengine.com/t/what-is-wrong-with-this-code-verse/1157989 "2023-05-07T20:22:45Z")

</div>

Hi, i have followed Wahlbeck Warforge tutorial on Youtube, on how to make enemy props follow you. I have a problem that I don’t know how to fix. Please can someone help me?

---

## [Get all players in certain area](https://forums.unrealengine.com/t/get-all-players-in-certain-area/1147530)

<div class="topic-metadata">

**Author:** [@leev\_01](https://forums.unrealengine.com/u/leev_01)\
**Replies:** 3\
**Last updated:** [May 7, 2023, 3:13pm UTC](https://forums.unrealengine.com/t/get-all-players-in-certain-area/1147530 "2023-05-07T15:13:04Z")

</div>

Is there a way to get all players in a certain area, and access these players in Verse? For example all players inside a barrier device?

---

## [Is \`false\` a bottom type in Verse?](https://forums.unrealengine.com/t/is-false-a-bottom-type-in-verse/1156905)

<div class="topic-metadata">

**Author:** [@Knight\_Breaker](https://forums.unrealengine.com/u/Knight_Breaker)\
**Replies:** 4\
**Last updated:** [May 7, 2023, 1:23pm UTC](https://forums.unrealengine.com/t/is-false-a-bottom-type-in-verse/1156905 "2023-05-07T13:23:35Z")

</div>

Studying the public verse APIs I run into Err\<native\>\<public\>(Message:\[\]char)\<computes\>: false function which returns false as its type. I haven’t found any explicit mention in the documentation regarding this type. So …

---

## [Are maps with keys of type any usable?](https://forums.unrealengine.com/t/are-maps-with-keys-of-type-any-usable/1157389)

<div class="topic-metadata">

**Author:** [@poltrr](https://forums.unrealengine.com/u/poltrr)\
**Replies:** 2\
**Last updated:** [May 7, 2023, 12:45pm UTC](https://forums.unrealengine.com/t/are-maps-with-keys-of-type-any-usable/1157389 "2023-05-07T12:45:29Z")

</div>

Hi, Map : \[string\]any = map{} Map\["Number"\] = 1 Number : int = Map\["Number"\] ## Throws error cause Map\["Number"\] returns 'any' instead of 'int'. Is there a way to cast the type any to a different type? Unless there is,…

---

## [Disable the visual effect of "Damage Amplifier Powerup"](https://forums.unrealengine.com/t/disable-the-visual-effect-of-damage-amplifier-powerup/1157400)

<div class="topic-metadata">

**Author:** [@\_SAPO](https://forums.unrealengine.com/u/_SAPO)\
**Replies:** 1\
**Last updated:** [May 7, 2023, 8:43am UTC](https://forums.unrealengine.com/t/disable-the-visual-effect-of-damage-amplifier-powerup/1157400 "2023-05-07T08:43:56Z")

</div>

I want to disable the effect that the player emits when they pick up the Damage Amplifier Powerup. It seems that there is no option to disable effects in UEFN, but can it be done by combining it with Verse? I haven’t fu…

---

## [Failure contexts and the Floor() function](https://forums.unrealengine.com/t/failure-contexts-and-the-floor-function/1149240)

<div class="topic-metadata">

**Author:** [@MegaFatDog](https://forums.unrealengine.com/u/MegaFatDog)\
**Replies:** 3\
**Last updated:** [May 6, 2023, 12:28pm UTC](https://forums.unrealengine.com/t/failure-contexts-and-the-floor-function/1149240 "2023-05-06T12:28:28Z")

</div>

I have a four digit integer. I want to separate each digit out into it’s own variable. So instead of x = ‘1234’ I have x1 = ‘1’, x2 = ‘2’, x3 = ‘3’, x4 = ‘4’. My idea (non-Verse, just conceptually) is something like this…

---

## [Convert logic to string](https://forums.unrealengine.com/t/convert-logic-to-string/790825)

<div class="topic-metadata">

**Author:** [@FinestCreative](https://forums.unrealengine.com/u/FinestCreative)\
**Replies:** 4\
**Last updated:** [May 5, 2023, 5:03pm UTC](https://forums.unrealengine.com/t/convert-logic-to-string/790825 "2023-05-05T17:03:48Z")

</div>

I am debugging and trying to print some logic value on the screen. But I have no idea how to print anything that is not of type string.

---

## [How can I get the server/unix time?](https://forums.unrealengine.com/t/how-can-i-get-the-server-unix-time/1152116)

<div class="topic-metadata">

**Author:** [@CaptinLetus](https://forums.unrealengine.com/u/CaptinLetus)\
**Replies:** 1\
**Last updated:** [May 5, 2023, 12:23am UTC](https://forums.unrealengine.com/t/how-can-i-get-the-server-unix-time/1152116 "2023-05-05T00:23:41Z")

</div>

Hey, how can I get the current unix time or server time? I want to sync an event across all of my servers at the exact same time, so I was going to use the unix time to determine when that would be Any help is apprecia…

---

## [Error: Scrip has exceeded its maximum running time](https://forums.unrealengine.com/t/error-scrip-has-exceeded-its-maximum-running-time/864262)

<div class="topic-metadata">

**Author:** [@FinestCreative](https://forums.unrealengine.com/u/FinestCreative)\
**Replies:** 8\
**Last updated:** [May 4, 2023, 8:38am UTC](https://forums.unrealengine.com/t/error-scrip-has-exceeded-its-maximum-running-time/864262 "2023-05-04T08:38:11Z")

</div>

I made an AI for my chess game using the MinMax algorithm to generate a decision tree. If I set the depth value for the tree generation to 1, it works, because the tree only has like up to 50 nodes. But if I go any deepe…

---

## [I want a prop to rotate to where the player is looking.](https://forums.unrealengine.com/t/i-want-a-prop-to-rotate-to-where-the-player-is-looking/1134069)

<div class="topic-metadata">

**Author:** [@AgentJonesyFN1](https://forums.unrealengine.com/u/AgentJonesyFN1)\
**Replies:** 4\
**Last updated:** [May 3, 2023, 3:42am UTC](https://forums.unrealengine.com/t/i-want-a-prop-to-rotate-to-where-the-player-is-looking/1134069 "2023-05-03T03:42:57Z")

</div>

So I don’t know how to do so a prop follows the player’s looking direction. So far I got a code that follows the player, and it works pretty well, but I want that same prop to rotate where the player is looking. I am doi…

---

## [creative\_prop\_asset works only with build in Fortnite assets?](https://forums.unrealengine.com/t/creative-prop-asset-works-only-with-build-in-fortnite-assets/1116106)

<div class="topic-metadata">

**Author:** [@eternalme](https://forums.unrealengine.com/u/eternalme)\
**Replies:** 7\
**Last updated:** [May 2, 2023, 1:37pm UTC](https://forums.unrealengine.com/t/creative-prop-asset-works-only-with-build-in-fortnite-assets/1116106 "2023-05-02T13:37:13Z")

</div>

So I have this code in my custom device @editable var Wall : creative\_prop\_asset = DefaultCreativePropAsset when I want to add a asset to it, I am only able to select build in Fortnite assets and not ones I created…

---

## [\[Major\] - Creative Session Crashes Repeatedly when perfectly valid Verse code uncommented](https://forums.unrealengine.com/t/major-creative-session-crashes-repeatedly-when-perfectly-valid-verse-code-uncommented/854288)

<div class="topic-metadata">

**Author:** [@AngularRat](https://forums.unrealengine.com/u/AngularRat)\
**Replies:** 6\
**Last updated:** [May 2, 2023, 1:19am UTC](https://forums.unrealengine.com/t/major-creative-session-crashes-repeatedly-when-perfectly-valid-verse-code-uncommented/854288 "2023-05-02T01:19:09Z")

</div>

I am working on a UEFN project that includes a lot of verse code. Repeatedly, I’ve had the Session (Creative Mode session, from Start Session) crash suddenly when deploying changed code, after which it will continue cra…

---

## [Why does GetViewRotation get crazy when looking backwards?](https://forums.unrealengine.com/t/why-does-getviewrotation-get-crazy-when-looking-backwards/1146268)

<div class="topic-metadata">

**Author:** [@AgentJonesyFN1](https://forums.unrealengine.com/u/AgentJonesyFN1)\
**Replies:** 4\
**Last updated:** [May 2, 2023, 12:24am UTC](https://forums.unrealengine.com/t/why-does-getviewrotation-get-crazy-when-looking-backwards/1146268 "2023-05-02T00:24:44Z")

</div>

Props move very weird when looking backwards using GetViewRotation on them, here’s a video: Code Used: using { /Fortnite.com/Devices } using { /Verse.org/Simulation } using { /UnrealEngine.com/Temporary/Diag…

---

## [getyawpitchrolldegrees is failing silently](https://forums.unrealengine.com/t/getyawpitchrolldegrees-is-failing-silently/1151193)

<div class="topic-metadata">

**Author:** [@InsanePete](https://forums.unrealengine.com/u/InsanePete)\
**Replies:** 1\
**Last updated:** [May 1, 2023, 11:07pm UTC](https://forums.unrealengine.com/t/getyawpitchrolldegrees-is-failing-silently/1151193 "2023-05-01T23:07:05Z")

</div>

I’ve been having trouble with rotation not doing what I expect, so I made a simple test device to experiment with it and understand the properties of this implementation better. I’m stuck at the first hurdle though, bec…

---

## [What does transacts actually do?](https://forums.unrealengine.com/t/what-does-transacts-actually-do/1013626)

<div class="topic-metadata">

**Author:** [@FinestCreative](https://forums.unrealengine.com/u/FinestCreative)\
**Replies:** 4\
**Last updated:** [May 1, 2023, 2:39am UTC](https://forums.unrealengine.com/t/what-does-transacts-actually-do/1013626 "2023-05-01T02:39:04Z")

</div>

Can anyone give an example of a verse function that \<transacts\>, or in other words undo its actions. Like how would this undoing of actions look like. I dont get it. When and how would you ever undo something after you j…

---

## [GetViewRotation not working properly](https://forums.unrealengine.com/t/getviewrotation-not-working-properly/1148670)

<div class="topic-metadata">

**Author:** [@Orange1775](https://forums.unrealengine.com/u/Orange1775)\
**Replies:** 5\
**Last updated:** [April 29, 2023, 6:04pm UTC](https://forums.unrealengine.com/t/getviewrotation-not-working-properly/1148670 "2023-04-29T18:04:00Z")

</div>

to make a camera actor follow where my player is looking, I used GetViewRotation, but when I look past a certain angle, the camera starts going all over the place. I want to know if anyone else tried doing this and know…

---

## [Can I connect to DynamoDB from verse](https://forums.unrealengine.com/t/can-i-connect-to-dynamodb-from-verse/1145950)

<div class="topic-metadata">

**Author:** [@steve9rad](https://forums.unrealengine.com/u/steve9rad)\
**Replies:** 1\
**Last updated:** [April 27, 2023, 12:10pm UTC](https://forums.unrealengine.com/t/can-i-connect-to-dynamodb-from-verse/1145950 "2023-04-27T12:10:41Z")

</div>

Hi, I need to communicate the player’s Bio reactions to the characters Skill set in real time - in UEFN / Verse ↔ Cloud DB ( DynamoDB or MongoDB etc.) Please tell me this will be / is possible?

---

## [I can't seem to add a value to the map type variable.](https://forums.unrealengine.com/t/i-cant-seem-to-add-a-value-to-the-map-type-variable/1145070)

<div class="topic-metadata">

**Author:** [@AddisonV](https://forums.unrealengine.com/u/AddisonV)\
**Replies:** 1\
**Last updated:** [April 27, 2023, 3:20am UTC](https://forums.unrealengine.com/t/i-cant-seem-to-add-a-value-to-the-map-type-variable/1145070 "2023-04-27T03:20:01Z")

</div>

So I have an verse script that is supposed to keep track of which checkpoint a player is on, and later respawn him in that checkpoint. But no matter what I do the map keeps being empty and no value is stored in it, so I …

---

## [How can I delay a loop's iterations to allow time for a callback function to occur?](https://forums.unrealengine.com/t/how-can-i-delay-a-loops-iterations-to-allow-time-for-a-callback-function-to-occur/886987)

<div class="topic-metadata">

**Author:** [@MegaFatDog](https://forums.unrealengine.com/u/MegaFatDog)\
**Replies:** 4\
**Last updated:** [April 27, 2023, 1:16am UTC](https://forums.unrealengine.com/t/how-can-i-delay-a-loops-iterations-to-allow-time-for-a-callback-function-to-occur/886987 "2023-04-27T01:16:04Z")

</div>

I’ll start with the TL;DR version: I have a loop in which a tracker device increments itself, while keeping count of incrementations; when the tracker completes I want the loop to break. However, the only way I know to d…

---

## [I need help with something in verse.](https://forums.unrealengine.com/t/i-need-help-with-something-in-verse/1139895)

<div class="topic-metadata">

**Author:** [@AgentJonesyFN1](https://forums.unrealengine.com/u/AgentJonesyFN1)\
**Replies:** 2\
**Last updated:** [April 25, 2023, 7:21pm UTC](https://forums.unrealengine.com/t/i-need-help-with-something-in-verse/1139895 "2023-04-25T19:21:16Z")

</div>

So i’m searching for help. First of all, I want too explain what i’m doing, I’m working (or trying to) make a working flashlight using a prop that is actually a Spotlight, and it works perfectly using the code I’ll show…

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

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