# Verse

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

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

**Page:** 21

---

## [I'm writing a murder election system](https://forums.unrealengine.com/t/im-writing-a-murder-election-system/1980372)

<div class="topic-metadata">

**Author:** [@Fali](https://forums.unrealengine.com/u/Fali)\
**Replies:** 4\
**Last updated:** [September 5, 2024, 1:21pm UTC](https://forums.unrealengine.com/t/im-writing-a-murder-election-system/1980372 "2024-09-05T13:21:18Z")

</div>

I’m writing a murder selection system, but I’m confused because I think it only takes the first “Agent” instead of checking them all… Please see if someone can help me… using { /Fortnite.com/Characters } using { /Fortn…

---

## [Referencing Assets from other Folders through Verse](https://forums.unrealengine.com/t/referencing-assets-from-other-folders-through-verse/2006263)

<div class="topic-metadata">

**Author:** [@DoubleBGames](https://forums.unrealengine.com/u/DoubleBGames)\
**Replies:** 0\
**Last updated:** [September 5, 2024, 10:29am UTC](https://forums.unrealengine.com/t/referencing-assets-from-other-folders-through-verse/2006263 "2024-09-05T10:29:44Z")

</div>

Hello everyone, I am trying to use a texture in my verse UI with the following code: DefaultImage := UI.LoadingPlayersUI.Player\_BG\_tex but the reference is throwing this error: Invalid access of internal module (/Inv…

---

## [abstract creative\_device](https://forums.unrealengine.com/t/abstract-creative-device/1974492)

<div class="topic-metadata">

**Author:** [@karahtar](https://forums.unrealengine.com/u/karahtar)\
**Replies:** 2\
**Last updated:** [September 4, 2024, 3:54pm UTC](https://forums.unrealengine.com/t/abstract-creative-device/1974492 "2024-09-04T15:54:49Z")

</div>

I’m trying to create an abstract device that other devices can inherit fields and methods from, however I cannot make my device class abstract since creative\_device is concrete. Am I doing something wrong? I have a pare…

---

## [How do i fix this code in my verse script? It has unexpected expression error.](https://forums.unrealengine.com/t/how-do-i-fix-this-code-in-my-verse-script-it-has-unexpected-expression-error/2002943)

<div class="topic-metadata">

**Author:** [@SonicGamez2](https://forums.unrealengine.com/u/SonicGamez2)\
**Replies:** 0\
**Last updated:** [September 3, 2024, 4:24am UTC](https://forums.unrealengine.com/t/how-do-i-fix-this-code-in-my-verse-script-it-has-unexpected-expression-error/2002943 "2024-09-03T04:24:06Z")

</div>

---

## [How do we remove player stats from weak map](https://forums.unrealengine.com/t/how-do-we-remove-player-stats-from-weak-map/1931475)

<div class="topic-metadata">

**Author:** [@q\_e\_e](https://forums.unrealengine.com/u/q_e_e)\
**Replies:** 12\
**Last updated:** [September 1, 2024, 1:37am UTC](https://forums.unrealengine.com/t/how-do-we-remove-player-stats-from-weak-map/1931475 "2024-09-01T01:37:59Z")

</div>

Hello, I am having trouble to remove the player saved data when the player leaves the game I found these two videos and the problem is they use a normal type of map, but I am using a weak map t…

---

## [Use a creative\_prop as the key for a map?](https://forums.unrealengine.com/t/use-a-creative-prop-as-the-key-for-a-map/1998801)

<div class="topic-metadata">

**Author:** [@JamieDeGamie](https://forums.unrealengine.com/u/JamieDeGamie)\
**Replies:** 2\
**Last updated:** [August 30, 2024, 8:17pm UTC](https://forums.unrealengine.com/t/use-a-creative-prop-as-the-key-for-a-map/1998801 "2024-08-30T20:17:24Z")

</div>

I’m trying to make a map with a creative\_prop as key and a custom class as a value, so the map would look something like var CustomCreatures:\[creative\_prop\]custom\_creature = map{}, however i get the following error: 'cr…

---

## [fort\_character.DamagedEvent() firing twice on lethal hit](https://forums.unrealengine.com/t/fort-character-damagedevent-firing-twice-on-lethal-hit/1998405)

<div class="topic-metadata">

**Author:** [@SaSteMi](https://forums.unrealengine.com/u/SaSteMi)\
**Replies:** 0\
**Last updated:** [August 30, 2024, 2:17pm UTC](https://forums.unrealengine.com/t/fort-character-damagedevent-firing-twice-on-lethal-hit/1998405 "2024-08-30T14:17:39Z")

</div>

Summary There is an additional triggering of the DamagedEvent() event listener after a lethal hit Steps to Reproduce Set up an event listener for the DamagedEvent() function of a player (or all players) The event liste…

---

## [Localization for Verse UI images?](https://forums.unrealengine.com/t/localization-for-verse-ui-images/1964336)

<div class="topic-metadata">

**Author:** [@DustinREDGames](https://forums.unrealengine.com/u/DustinREDGames)\
**Replies:** 2\
**Last updated:** [August 30, 2024, 2:21pm UTC](https://forums.unrealengine.com/t/localization-for-verse-ui-images/1964336 "2024-08-30T14:21:05Z")

</div>

I know you can setup localization for devices that use text, like the HUD message device. And I know how to setup an asset like a texture or material for localization and this works currently with world assets that ha…

---

## [MoveTo doesn't change scale object](https://forums.unrealengine.com/t/moveto-doesnt-change-scale-object/1998073)

<div class="topic-metadata">

**Author:** [@Strelloke](https://forums.unrealengine.com/u/Strelloke)\
**Replies:** 0\
**Last updated:** [August 30, 2024, 9:51am UTC](https://forums.unrealengine.com/t/moveto-doesnt-change-scale-object/1998073 "2024-08-30T09:51:00Z")

</div>

Hi all, I am working with MoveTo in Verse, I need to change the position and shape of one massive object. When I change these parameters in the logs, everything happens normally, but visually the object doesn’t move. As …

---

## [COLOR ERROR VERSE PLEASE HELP!](https://forums.unrealengine.com/t/color-error-verse-please-help/1981460)

<div class="topic-metadata">

**Author:** [@AfterHours1](https://forums.unrealengine.com/u/AfterHours1)\
**Replies:** 6\
**Last updated:** [August 30, 2024, 3:46am UTC](https://forums.unrealengine.com/t/color-error-verse-please-help/1981460 "2024-08-30T03:46:06Z")

</div>

---

## [Verse persistance](https://forums.unrealengine.com/t/verse-persistance/1978755)

<div class="topic-metadata">

**Author:** [@iliasxsd](https://forums.unrealengine.com/u/iliasxsd)\
**Replies:** 2\
**Last updated:** [August 29, 2024, 2:40pm UTC](https://forums.unrealengine.com/t/verse-persistance/1978755 "2024-08-29T14:40:44Z")

</div>

i Got this error after today’s update, and the map was working fine with it, but after the the update the map got unpublished

---

## [Players spawn in as spectators ](https://forums.unrealengine.com/t/players-spawn-in-as-spectators/1996802)

<div class="topic-metadata">

**Author:** [@LazeredDevil](https://forums.unrealengine.com/u/LazeredDevil)\
**Replies:** 0\
**Last updated:** [August 29, 2024, 1:16pm UTC](https://forums.unrealengine.com/t/players-spawn-in-as-spectators/1996802 "2024-08-29T13:16:35Z")

</div>

When a large number of players use my map, loads go straight to spectate without spawning in. I’ve got it set to Spawn when joining mid game and there are enough starter spawns. It works fine with smaller numbers for peo…

---

## [Why doesn't it give the objects to the selected "Player"...v](https://forums.unrealengine.com/t/why-doesnt-it-give-the-objects-to-the-selected-player-v/1982661)

<div class="topic-metadata">

**Author:** [@Fali](https://forums.unrealengine.com/u/Fali)\
**Replies:** 1\
**Last updated:** [August 29, 2024, 11:25am UTC](https://forums.unrealengine.com/t/why-doesnt-it-give-the-objects-to-the-selected-player-v/1982661 "2024-08-29T11:25:04Z")

</div>

Why doesn’t it give the objects to the selected “Player”… I’ve been trying to make the code for a few days now to select the murderer, the sheriff and the innocents. The murderer gets his gun, but the second player nev…

---

## [Why doesn't it give the objects to the selected "Player"](https://forums.unrealengine.com/t/why-doesnt-it-give-the-objects-to-the-selected-player/1980532)

<div class="topic-metadata">

**Author:** [@Fali](https://forums.unrealengine.com/u/Fali)\
**Replies:** 3\
**Last updated:** [August 28, 2024, 10:18pm UTC](https://forums.unrealengine.com/t/why-doesnt-it-give-the-objects-to-the-selected-player/1980532 "2024-08-28T22:18:45Z")

</div>

Why doesn’t it give the objects to the selected “Player”… I’ve been trying to make the code for a few days now to select the murderer, the sheriff and the innocents. The murderer gets his gun, but the second player nev…

---

## [vErr:S76: Expected block, got "nearest\_player" following "if" Verse Error](https://forums.unrealengine.com/t/verr-expected-block-got-nearest-player-following-if-verse-error/1989046)

<div class="topic-metadata">

**Author:** [@Kaydo007](https://forums.unrealengine.com/u/Kaydo007)\
**Replies:** 1\
**Last updated:** [August 28, 2024, 9:47pm UTC](https://forums.unrealengine.com/t/verr-expected-block-got-nearest-player-following-if-verse-error/1989046 "2024-08-28T21:47:46Z")

</div>

Hi to all i imported a godzilla model from sketchfab that had a (walking, Idle, Roar), i imported it to UEFN, the animation Idle file is named (godzillaIdle); the animation walk file is named (godzillawalk); the animati…

---

## [Any idea on how to make a non-collision prop apear when player enters it and disapear while they leave the prop?](https://forums.unrealengine.com/t/any-idea-on-how-to-make-a-non-collision-prop-apear-when-player-enters-it-and-disapear-while-they-leave-the-prop/1995588)

<div class="topic-metadata">

**Author:** [@PeterTVYT](https://forums.unrealengine.com/u/PeterTVYT)\
**Replies:** 1\
**Last updated:** [August 28, 2024, 6:37pm UTC](https://forums.unrealengine.com/t/any-idea-on-how-to-make-a-non-collision-prop-apear-when-player-enters-it-and-disapear-while-they-leave-the-prop/1995588 "2024-08-28T18:37:40Z")

</div>

Well, I was trying to create a Fortnite Civ game, but I am unable to create a tile selection to make npcs move. I know how to make them move, but I don’t know how to do the tilw selection.

---

## [How to Show which Trigger is Selected visually](https://forums.unrealengine.com/t/how-to-show-which-trigger-is-selected-visually/1986091)

<div class="topic-metadata">

**Author:** [@HeyitsCyy](https://forums.unrealengine.com/u/HeyitsCyy)\
**Replies:** 1\
**Last updated:** [August 28, 2024, 2:04pm UTC](https://forums.unrealengine.com/t/how-to-show-which-trigger-is-selected-visually/1986091 "2024-08-28T14:04:13Z")

</div>

So I’m new to verse and i have a rain functionality with a niagara System in my map, and I’m wanting to implement a way show which one is selected with these triggers (reference below) The Idea i hand in mind is simi…

---

## [How to make the code work for players, not just sentries?](https://forums.unrealengine.com/t/how-to-make-the-code-work-for-players-not-just-sentries/1993042)

<div class="topic-metadata">

**Author:** [@Siksa99](https://forums.unrealengine.com/u/Siksa99)\
**Replies:** 1\
**Last updated:** [August 28, 2024, 1:55pm UTC](https://forums.unrealengine.com/t/how-to-make-the-code-work-for-players-not-just-sentries/1993042 "2024-08-28T13:55:06Z")

</div>

As per the topic… Granting weapons only works for sentry using { /Fortnite.com/Devices } using { /Verse.org/Simulation } using { /Fortnite.com/Teams } using { /Fortnite.com/Game } using { /Fortnite.com/Characters } …

---

## [how to create an exchange of two resources at a rate using Verse code](https://forums.unrealengine.com/t/how-to-create-an-exchange-of-two-resources-at-a-rate-using-verse-code/1994418)

<div class="topic-metadata">

**Author:** [@DIDI1](https://forums.unrealengine.com/u/DIDI1)\
**Replies:** 0\
**Last updated:** [August 27, 2024, 8:13pm UTC](https://forums.unrealengine.com/t/how-to-create-an-exchange-of-two-resources-at-a-rate-using-verse-code/1994418 "2024-08-27T20:13:13Z")

</div>

Could you please tell me how to create an exchange of two resources at a rate of one to two using Verse code, for example?

---

## [Team class information](https://forums.unrealengine.com/t/team-class-information/1992557)

<div class="topic-metadata">

**Author:** [@gsAzzurr3l](https://forums.unrealengine.com/u/gsAzzurr3l)\
**Replies:** 0\
**Last updated:** [August 26, 2024, 2:49pm UTC](https://forums.unrealengine.com/t/team-class-information/1992557 "2024-08-26T14:49:18Z")

</div>

I’m new to verse and I would like to get some information about the “Team” class itself, shuch as the attributes , types and functions to do stuff like printing the team’s name, number of players in it, etc. I can’t seem…

---

## [Get the current player](https://forums.unrealengine.com/t/get-the-current-player/1988295)

<div class="topic-metadata">

**Author:** [@JWRHarding](https://forums.unrealengine.com/u/JWRHarding)\
**Replies:** 1\
**Last updated:** [August 24, 2024, 11:44am UTC](https://forums.unrealengine.com/t/get-the-current-player/1988295 "2024-08-24T11:44:58Z")

</div>

How do I access. The current player. For example let’s say I want to display the current position of the player in X, Y and Z on the HUD with UI. How would I proceed to access the player’s object.

---

## [Verse Throw Errors When I Call Function About Types](https://forums.unrealengine.com/t/verse-throw-errors-when-i-call-function-about-types/1988347)

<div class="topic-metadata">

**Author:** [@GBL-TYPE-08](https://forums.unrealengine.com/u/GBL-TYPE-08)\
**Replies:** 0\
**Last updated:** [August 23, 2024, 2:11am UTC](https://forums.unrealengine.com/t/verse-throw-errors-when-i-call-function-about-types/1988347 "2024-08-23T02:11:11Z")

</div>

I attached two screenshots that says all about error context. I saw this code on Type system of Fortnite's Verse language - BAM Weblog . the author says “It compiles well”, but when I tried this, this occurs error …

---

## [VERSE CONSOLE HELPER](https://forums.unrealengine.com/t/verse-console-helper/1986982)

<div class="topic-metadata">

**Author:** [@LilWikipedia](https://forums.unrealengine.com/u/LilWikipedia)\
**Replies:** 0\
**Last updated:** [August 22, 2024, 3:57am UTC](https://forums.unrealengine.com/t/verse-console-helper/1986982 "2024-08-22T03:57:14Z")

</div>

Here is a python terminal app I made that acts as a Verse snippet library. It was intended for my own use but thought I might as well just package it. The snippets are from various places and by various authors- I tried …

---

## [it is possible to change the material of a skeletal mesh in game via verse?](https://forums.unrealengine.com/t/it-is-possible-to-change-the-material-of-a-skeletal-mesh-in-game-via-verse/1939319)

<div class="topic-metadata">

**Author:** [@davidpkami](https://forums.unrealengine.com/u/davidpkami)\
**Replies:** 3\
**Last updated:** [August 20, 2024, 11:36am UTC](https://forums.unrealengine.com/t/it-is-possible-to-change-the-material-of-a-skeletal-mesh-in-game-via-verse/1939319 "2024-08-20T11:36:46Z")

</div>

I am trying to change the material of a mesh via verse, but I can only change the statich mesh material. There is another way? Prop.SetMaterial(Mat\_Green, ?Index:=0)

---

## [Why Visual Studio can't Go To Definition in Verse ?](https://forums.unrealengine.com/t/why-visual-studio-cant-go-to-definition-in-verse/1935284)

<div class="topic-metadata">

**Author:** [@ChrixBed](https://forums.unrealengine.com/u/ChrixBed)\
**Replies:** 4\
**Last updated:** [August 18, 2024, 9:22pm UTC](https://forums.unrealengine.com/t/why-visual-studio-cant-go-to-definition-in-verse/1935284 "2024-08-18T21:22:23Z")

</div>

---

## [Access var from a class array](https://forums.unrealengine.com/t/access-var-from-a-class-array/1974365)

<div class="topic-metadata">

**Author:** [@Ulvdiaz](https://forums.unrealengine.com/u/Ulvdiaz)\
**Replies:** 3\
**Last updated:** [August 18, 2024, 9:17am UTC](https://forums.unrealengine.com/t/access-var-from-a-class-array/1974365 "2024-08-18T09:17:33Z")

</div>

Hey! I’m creating a custom dialog device, in which you can choose between 2 responses and depending on which one you choose the next dialog will show. I made this using a class called dialog and adding it to an array in …

---

## [How to smoothly move a prop?](https://forums.unrealengine.com/t/how-to-smoothly-move-a-prop/1978791)

<div class="topic-metadata">

**Author:** [@Foreignprince80](https://forums.unrealengine.com/u/Foreignprince80)\
**Replies:** 2\
**Last updated:** [August 17, 2024, 1:30pm UTC](https://forums.unrealengine.com/t/how-to-smoothly-move-a-prop/1978791 "2024-08-17T13:30:20Z")

</div>

Hiya, I want a prop to stay above the players head at all times, however, using the TeleportTo function causes the movement to be snappy and not smooth, using the MoveTo function is smooth, but it lags behind the player…

---

## [Why does it return "TemporalAleatorio" I think it should return a float](https://forums.unrealengine.com/t/why-does-it-return-temporalaleatorio-i-think-it-should-return-a-float/1977202)

<div class="topic-metadata">

**Author:** [@Fali](https://forums.unrealengine.com/u/Fali)\
**Replies:** 2\
**Last updated:** [August 15, 2024, 5:47pm UTC](https://forums.unrealengine.com/t/why-does-it-return-temporalaleatorio-i-think-it-should-return-a-float/1977202 "2024-08-15T17:47:36Z")

</div>

Why does it return “TemporalAleatorio” I think it should return a float I’m sorry for the errors in my code, but I’m trying to make a randomization system for my murder game, to choose between Murder, Sheriff or Innocen…

---

## [agent and ?agent in the same function?](https://forums.unrealengine.com/t/agent-and-agent-in-the-same-function/1975805)

<div class="topic-metadata">

**Author:** [@q\_e\_e](https://forums.unrealengine.com/u/q_e_e)\
**Replies:** 2\
**Last updated:** [August 14, 2024, 4:36pm UTC](https://forums.unrealengine.com/t/agent-and-agent-in-the-same-function/1975805 "2024-08-14T16:36:23Z")

</div>

How do you guys work around this? when i want to subscribe to the function it asks me to have it as type of ?agent like here in the image and when I change it to ?agent i get this error in the function

---

## [I want to rotate the Fall Guys props, how do I do that?](https://forums.unrealengine.com/t/i-want-to-rotate-the-fall-guys-props-how-do-i-do-that/1967731)

<div class="topic-metadata">

**Author:** [@renzymode](https://forums.unrealengine.com/u/renzymode)\
**Replies:** 2\
**Last updated:** [August 10, 2024, 3:36am UTC](https://forums.unrealengine.com/t/i-want-to-rotate-the-fall-guys-props-how-do-i-do-that/1967731 "2024-08-10T03:36:49Z")

</div>

I want to rotate the Fall Guys props, how do I do that? I thought I was using Verse on the UEFN, but I don’t know how. Specifically, I wanted to rotate FG01\_SpinningBar\_L\_C. If I just wanted to move it, I could move i…

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

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