# Verse

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

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

**Page:** 45

---

## [Multiple Class in one verse script](https://forums.unrealengine.com/t/multiple-class-in-one-verse-script/1137414)

<div class="topic-metadata">

**Author:** [@YouTube\_Samu](https://forums.unrealengine.com/u/YouTube_Samu)\
**Replies:** 0\
**Last updated:** [April 22, 2023, 10:28pm UTC](https://forums.unrealengine.com/t/multiple-class-in-one-verse-script/1137414 "2023-04-22T22:28:57Z")

</div>

How can I use multiple class in one verse script, I remember that I saw a guy that uses multiple class in a single verse file to make all the “@editable” more sorted, i tried to do it but in my device my variables don’t …

---

## [Prop that replicates player movement](https://forums.unrealengine.com/t/prop-that-replicates-player-movement/1136891)

<div class="topic-metadata">

**Author:** [@YouTube\_Samu](https://forums.unrealengine.com/u/YouTube_Samu)\
**Replies:** 1\
**Last updated:** [April 22, 2023, 3:22pm UTC](https://forums.unrealengine.com/t/prop-that-replicates-player-movement/1136891 "2023-04-22T15:22:34Z")

</div>

I’m trying to make my prop replicate the player’s movement, similar to player follow but this way the prop won’t go through walls. I don’t know how I could do it.

---

## [disabling bots when theres a certain amount of players?](https://forums.unrealengine.com/t/disabling-bots-when-theres-a-certain-amount-of-players/1135876)

<div class="topic-metadata">

**Author:** [@LawDawe](https://forums.unrealengine.com/u/LawDawe)\
**Replies:** 1\
**Last updated:** [April 22, 2023, 2:43am UTC](https://forums.unrealengine.com/t/disabling-bots-when-theres-a-certain-amount-of-players/1135876 "2023-04-22T02:43:20Z")

</div>

Hi, im using guard\_spawner\_devices, and i have a playermap, and a @editables storing the Guard spawners basically i want to disable guardspawners when there are more than real players i want to use an if statement lik…

---

## [Change speed variable every 15 seconds for a moving prop?](https://forums.unrealengine.com/t/change-speed-variable-every-15-seconds-for-a-moving-prop/1135987)

<div class="topic-metadata">

**Author:** [@MoJoeGaming](https://forums.unrealengine.com/u/MoJoeGaming)\
**Replies:** 0\
**Last updated:** [April 21, 2023, 5:26pm UTC](https://forums.unrealengine.com/t/change-speed-variable-every-15-seconds-for-a-moving-prop/1135987 "2023-04-21T17:26:42Z")

</div>

I know this is probabaly a newb question from a programming standpoint. I’d imagine I have to run some sort of timer on a loop and keep applying it to the variable? I’m using the same rotate object code as everyone else …

---

## [How to programatically set the \`initialPosition\` and \`playRate\` fields of a SkeletalMeshComponent?](https://forums.unrealengine.com/t/how-to-programatically-set-the-initialposition-and-playrate-fields-of-a-skeletalmeshcomponent/1089017)

<div class="topic-metadata">

**Author:** [@papunglian](https://forums.unrealengine.com/u/papunglian)\
**Replies:** 1\
**Last updated:** [April 21, 2023, 12:57pm UTC](https://forums.unrealengine.com/t/how-to-programatically-set-the-initialposition-and-playrate-fields-of-a-skeletalmeshcomponent/1089017 "2023-04-21T12:57:07Z")

</div>

I want to be able to programatically set the initialPosition and playRate fields of a SkeletalMeshComponent. I have been unable to access these parameters. So, I thought to use an animated\_mesh\_device, that provides ac…

---

## [How to fill an array in a parent creative\_device with children of type AudioPlayer](https://forums.unrealengine.com/t/how-to-fill-an-array-in-a-parent-creative-device-with-children-of-type-audioplayer/1135076)

<div class="topic-metadata">

**Author:** [@papunglian](https://forums.unrealengine.com/u/papunglian)\
**Replies:** 4\
**Last updated:** [April 21, 2023, 12:54pm UTC](https://forums.unrealengine.com/t/how-to-fill-an-array-in-a-parent-creative-device-with-children-of-type-audioplayer/1135076 "2023-04-21T12:54:19Z")

</div>

How to fill an array in a parent creative\_device with children of type AudioPlayer. I am new to Verse, so any pointers, or links to examples would be very helpful and much appreciated

---

## [How to call parent function from an overriden function?](https://forums.unrealengine.com/t/how-to-call-parent-function-from-an-overriden-function/1134093)

<div class="topic-metadata">

**Author:** [@Guedin](https://forums.unrealengine.com/u/Guedin)\
**Replies:** 2\
**Last updated:** [April 20, 2023, 2:32am UTC](https://forums.unrealengine.com/t/how-to-call-parent-function-from-an-overriden-function/1134093 "2023-04-20T02:32:32Z")

</div>

Hello, I’m looking for a way to call the parent class function from an overridden function. In the following example, only “child” is printed, but I’d also like “parent” to be printed. # Parent class character := class…

---

## [Can't MoveTo SpawnProps That Are Structural? (Like floor tiles)](https://forums.unrealengine.com/t/cant-moveto-spawnprops-that-are-structural-like-floor-tiles/970969)

<div class="topic-metadata">

**Author:** [@spentak](https://forums.unrealengine.com/u/spentak)\
**Replies:** 2\
**Last updated:** [April 18, 2023, 4:01pm UTC](https://forums.unrealengine.com/t/cant-moveto-spawnprops-that-are-structural-like-floor-tiles/970969 "2023-04-18T16:01:57Z")

</div>

It seems we cannot 'move" certain props like floor tiles. If we do, we get the errors below. Is that correct? That only certain props can be moved? # Generic floor tile asset @editable var GenericFloorTile: creative\_pro…

---

## [can't overload function with array parameter](https://forums.unrealengine.com/t/cant-overload-function-with-array-parameter/1112227)

<div class="topic-metadata">

**Author:** [@matthieu.blin](https://forums.unrealengine.com/u/matthieu.blin)\
**Replies:** 1\
**Last updated:** [April 18, 2023, 2:47pm UTC](https://forums.unrealengine.com/t/cant-overload-function-with-array-parameter/1112227 "2023-04-18T14:47:01Z")

</div>

while trying to add a ToString(arr:\[\]CustomObj) while testing verse, got some errors The function (/localhost/MyProjectA:)ToString(:\[\]CustomObj) in package MyProjectA is ambiguous with this definition: function (/Verse…

---

## [How do I Get the class that the player selected?](https://forums.unrealengine.com/t/how-do-i-get-the-class-that-the-player-selected/838007)

<div class="topic-metadata">

**Author:** [@JoshuaSavage904](https://forums.unrealengine.com/u/JoshuaSavage904)\
**Replies:** 4\
**Last updated:** [April 18, 2023, 1:37pm UTC](https://forums.unrealengine.com/t/how-do-i-get-the-class-that-the-player-selected/838007 "2023-04-18T13:37:42Z")

</div>

I need to restock players based on the class they chose on spawn. To do that I need some reference to what was chosen. Any ideas?

---

## [Use Print in function that uses specifiers](https://forums.unrealengine.com/t/use-print-in-function-that-uses-specifiers/1013005)

<div class="topic-metadata">

**Author:** [@FinestCreative](https://forums.unrealengine.com/u/FinestCreative)\
**Replies:** 2\
**Last updated:** [April 17, 2023, 4:26pm UTC](https://forums.unrealengine.com/t/use-print-in-function-that-uses-specifiers/1013005 "2023-04-17T16:26:39Z")

</div>

In nearly all my functions I use Print to print errors. But when I use the effect specifier that my function needs I can no longer use Print because Print has the no\_rollback effect. Any idea how I can use the specifiers…

---

## [Fake agent](https://forums.unrealengine.com/t/fake-agent/1033711)

<div class="topic-metadata">

**Author:** [@Codissius](https://forums.unrealengine.com/u/Codissius)\
**Replies:** 2\
**Last updated:** [April 16, 2023, 9:16pm UTC](https://forums.unrealengine.com/t/fake-agent/1033711 "2023-04-16T21:16:04Z")

</div>

I have doors that open with button interactions on my map, however as the player using the button is passed in, it seems to open the door away from them always. Is there a way to pass in a spoofed agent (like a prop plac…

---

## [Damage an agent to put them to spectator](https://forums.unrealengine.com/t/damage-an-agent-to-put-them-to-spectator/1068023)

<div class="topic-metadata">

**Author:** [@FinestCreative](https://forums.unrealengine.com/u/FinestCreative)\
**Replies:** 1\
**Last updated:** [April 16, 2023, 6:49pm UTC](https://forums.unrealengine.com/t/damage-an-agent-to-put-them-to-spectator/1068023 "2023-04-16T18:49:36Z")

</div>

Is there a way to damage an Agent without using a creative Device. I am trying to make a newly joined player go into spectator by eliminating them if they join in round 2.

---

## [How I can create a player instance?](https://forums.unrealengine.com/t/how-i-can-create-a-player-instance/881386)

<div class="topic-metadata">

**Author:** [@JHBOGameDev](https://forums.unrealengine.com/u/JHBOGameDev)\
**Replies:** 6\
**Last updated:** [April 15, 2023, 8:57am UTC](https://forums.unrealengine.com/t/how-i-can-create-a-player-instance/881386 "2023-04-15T08:57:48Z")

</div>

Hi everyone! I’m trying to instantiate player as follows: Player1 : player = player{} var Player2 : player = player{} But, I get this error: Invalid access of epic\_internal class constructor (/Verse.org/Simulation:)…

---

## [How to use MoveTo() on an actor? ](https://forums.unrealengine.com/t/how-to-use-moveto-on-an-actor/980880)

<div class="topic-metadata">

**Author:** [@wasserful](https://forums.unrealengine.com/u/wasserful)\
**Replies:** 1\
**Last updated:** [April 15, 2023, 12:33am UTC](https://forums.unrealengine.com/t/how-to-use-moveto-on-an-actor/980880 "2023-04-15T00:33:26Z")

</div>

I’m trying to keep this simple. I have an actor (a modified tower prefab). I want to move the tower up when a player gets a kill. The MoveTo() function only wants to work on a prop it seems. I appreciate any help!!!

---

## [Get reference to the ball that is spawned by the ball spawner device](https://forums.unrealengine.com/t/get-reference-to-the-ball-that-is-spawned-by-the-ball-spawner-device/969856)

<div class="topic-metadata">

**Author:** [@\_umbug](https://forums.unrealengine.com/u/_umbug)\
**Replies:** 1\
**Last updated:** [April 15, 2023, 12:19am UTC](https://forums.unrealengine.com/t/get-reference-to-the-ball-that-is-spawned-by-the-ball-spawner-device/969856 "2023-04-15T00:19:08Z")

</div>

hey Is there any way to get the reference (and access to the properties) of the ball that a ball spawner device spawns. Just wondering if I can manipulate the ball as and when i want programmatically. Thanks

---

## [Direct Event Binding](https://forums.unrealengine.com/t/direct-event-binding/979398)

<div class="topic-metadata">

**Author:** [@TwitchMinhinks](https://forums.unrealengine.com/u/TwitchMinhinks)\
**Replies:** 1\
**Last updated:** [April 14, 2023, 11:36pm UTC](https://forums.unrealengine.com/t/direct-event-binding/979398 "2023-04-14T23:36:52Z")

</div>

Hello! Very new to UEFN, trying to understand it. Going to try and explain my question as clearly as possible: A device like the, “trigger,” use to have a “Channels,” option where it would enable/disable all devices on …

---

## [Is it possible to change the fortnite character mesh?](https://forums.unrealengine.com/t/is-it-possible-to-change-the-fortnite-character-mesh/827381)

<div class="topic-metadata">

**Author:** [@pewmannen](https://forums.unrealengine.com/u/pewmannen)\
**Replies:** 3\
**Last updated:** [April 14, 2023, 12:27pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-change-the-fortnite-character-mesh/827381 "2023-04-14T12:27:38Z")

</div>

Is it possible to swap the fortnite character with a different character imported from blender? Or does Epic not allow changes done the the playable characters appearance?

---

## [How do I create some kind of Portal Gun with UEFN?](https://forums.unrealengine.com/t/how-do-i-create-some-kind-of-portal-gun-with-uefn/909121)

<div class="topic-metadata">

**Author:** [@sororoooooo](https://forums.unrealengine.com/u/sororoooooo)\
**Replies:** 5\
**Last updated:** [April 14, 2023, 5:20am UTC](https://forums.unrealengine.com/t/how-do-i-create-some-kind-of-portal-gun-with-uefn/909121 "2023-04-14T05:20:56Z")

</div>

Im trying to create a portal gun but right all i can do shoot the wall and teleport to that wall but i want to create actual portals which i can walk trough. Also i cant really go to the position where the bullet is goin…

---

## [Can we get an image widget in Verse please?](https://forums.unrealengine.com/t/can-we-get-an-image-widget-in-verse-please/925808)

<div class="topic-metadata">

**Author:** [@Gamblyat](https://forums.unrealengine.com/u/Gamblyat)\
**Replies:** 3\
**Last updated:** [April 13, 2023, 8:37pm UTC](https://forums.unrealengine.com/t/can-we-get-an-image-widget-in-verse-please/925808 "2023-04-13T20:37:33Z")

</div>

An image widget would be really helpful. Currently, we can only add images in widget blueprints, but they display on top of any other UI done in Verse. They’re also not very dynamic. Having an image widget created in Ver…

---

## [How do I get the player reference from the player spawner?](https://forums.unrealengine.com/t/how-do-i-get-the-player-reference-from-the-player-spawner/920719)

<div class="topic-metadata">

**Author:** [@AddisonV](https://forums.unrealengine.com/u/AddisonV)\
**Replies:** 1\
**Last updated:** [April 13, 2023, 4:43pm UTC](https://forums.unrealengine.com/t/how-do-i-get-the-player-reference-from-the-player-spawner/920719 "2023-04-13T16:43:53Z")

</div>

I am trying to create a team manager that tracks the player respawn location and if it has been to long after it passed a certain checkpoint. But i don’t know how to create the player ref, i know there is a player type, …

---

## [verse :The editable attribute does not yet support multidimensional arrays](https://forums.unrealengine.com/t/verse-the-editable-attribute-does-not-yet-support-multidimensional-arrays/861450)

<div class="topic-metadata">

**Author:** [@Power\_Jin](https://forums.unrealengine.com/u/Power_Jin)\
**Replies:** 3\
**Last updated:** [April 12, 2023, 2:33am UTC](https://forums.unrealengine.com/t/verse-the-editable-attribute-does-not-yet-support-multidimensional-arrays/861450 "2023-04-12T02:33:56Z")

</div>

I need to use multidimensional array It is said that Unreal Editor does not support it. Error: The editable attribute does not yet support multidimensional arrays Uploading: image.png…

---

## [Creatures Spawning Loot](https://forums.unrealengine.com/t/creatures-spawning-loot/884295)

<div class="topic-metadata">

**Author:** [@wasti](https://forums.unrealengine.com/u/wasti)\
**Replies:** 2\
**Last updated:** [April 11, 2023, 3:05am UTC](https://forums.unrealengine.com/t/creatures-spawning-loot/884295 "2023-04-11T03:05:40Z")

</div>

Various mods such as Zombieland spawn weapons or other items on the ground where the creature was eliminated. How are they accomplishing this? To be clear, I’m not talking about putting items directly into a players inv…

---

## [Canvas unintendingly removing widgets](https://forums.unrealengine.com/t/canvas-unintendingly-removing-widgets/882707)

<div class="topic-metadata">

**Author:** [@Grey\_Chalk](https://forums.unrealengine.com/u/Grey_Chalk)\
**Replies:** 0\
**Last updated:** [April 10, 2023, 7:30am UTC](https://forums.unrealengine.com/t/canvas-unintendingly-removing-widgets/882707 "2023-04-10T07:30:33Z")

</div>

With the new fortnite creative tools I have been creating a game where players are able to buy upgrades over the course of a match. Originally I was using a series of conditional buttons and item granters but I felt that…

---

## [Verse言語の文法仕様についてブログで考察しています/The grammatical specification of the Verse language is discussed in the blog](https://forums.unrealengine.com/t/verse-the-grammatical-specification-of-the-verse-language-is-discussed-in-the-blog/878406)

<div class="topic-metadata">

**Author:** [@t.tutiya](https://forums.unrealengine.com/u/t.tutiya)\
**Replies:** 0\
**Last updated:** [April 8, 2023, 1:27pm UTC](https://forums.unrealengine.com/t/verse-the-grammatical-specification-of-the-verse-language-is-discussed-in-the-blog/878406 "2023-04-08T13:27:24Z")

</div>

Verse言語の個々の文法仕様が、どのような意図に基づいて設計されているのかについて、公式ドキュメントから読み取れる範囲についてブログで考察しています。ご興味あればご覧下さい。 This blog discusses the extent to which the individual grammatical specifications of the Verse language are designed according to …

---

## [Change the parameter of a function inside the function](https://forums.unrealengine.com/t/change-the-parameter-of-a-function-inside-the-function/875443)

<div class="topic-metadata">

**Author:** [@FinestCreative](https://forums.unrealengine.com/u/FinestCreative)\
**Replies:** 1\
**Last updated:** [April 8, 2023, 12:31am UTC](https://forums.unrealengine.com/t/change-the-parameter-of-a-function-inside-the-function/875443 "2023-04-08T00:31:16Z")

</div>

Is there a way so that I can use set to change the input parameter for my function? What I have been doing now is this workaround in the 2nd screenshot

---

## [Variable in for loop changing](https://forums.unrealengine.com/t/variable-in-for-loop-changing/873555)

<div class="topic-metadata">

**Author:** [@FinestCreative](https://forums.unrealengine.com/u/FinestCreative)\
**Replies:** 0\
**Last updated:** [April 7, 2023, 4:12pm UTC](https://forums.unrealengine.com/t/variable-in-for-loop-changing/873555 "2023-04-07T16:12:26Z")

</div>

In my chess game I created an AI that now can look 3 steps into the future. Each step I update the the variable Moves in chess\_piece that contains an array of moves a chess\_piece can make. The problem is, if I update th…

---

## [Default input parameters for functions](https://forums.unrealengine.com/t/default-input-parameters-for-functions/867561)

<div class="topic-metadata">

**Author:** [@FinestCreative](https://forums.unrealengine.com/u/FinestCreative)\
**Replies:** 3\
**Last updated:** [April 7, 2023, 2:57am UTC](https://forums.unrealengine.com/t/default-input-parameters-for-functions/867561 "2023-04-07T02:57:39Z")

</div>

Any way to have default input parameters for functions, like I try to do here, setting Depth to 3 by default. I would like to then be able to call the function like this: GenerateAlphaBetaTree(MyBoard) # uses depth 3

---

## [Saving an instance of an object in real-time?](https://forums.unrealengine.com/t/saving-an-instance-of-an-object-in-real-time/856243)

<div class="topic-metadata">

**Author:** [@itsowaisiqbal1](https://forums.unrealengine.com/u/itsowaisiqbal1)\
**Replies:** 2\
**Last updated:** [April 6, 2023, 6:11pm UTC](https://forums.unrealengine.com/t/saving-an-instance-of-an-object-in-real-time/856243 "2023-04-06T18:11:42Z")

</div>

I am trying to create a experience where the users are able to place objects in the space, let’s say a flag and then when the user comes back into the environment the flag they placed is still there. I want to do this i…

---

## [verse OnButtonInteractedWith handler error](https://forums.unrealengine.com/t/verse-onbuttoninteractedwith-handler-error/859733)

<div class="topic-metadata">

**Author:** [@Power\_Jin](https://forums.unrealengine.com/u/Power_Jin)\
**Replies:** 2\
**Last updated:** [April 6, 2023, 12:04pm UTC](https://forums.unrealengine.com/t/verse-onbuttoninteractedwith-handler-error/859733 "2023-04-06T12:04:57Z")

</div>

Hello, I am following the coding-device-interactions-in-verse watch of the verse tutorial. However, the OnButtonInteractedWith hander must be agent-\>void, and the OnButtonInteractedWith function parameter must be recei…

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

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