# Editor Scripting

**URL:** https://forums.unrealengine.com/c/development-discussion/pipeline-plugins/editor-scripting/45.md?page=88

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

**Page:** 89

---

## [how to make a inventory like worms armagedom?](https://forums.unrealengine.com/t/how-to-make-a-inventory-like-worms-armagedom/365008)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_212cbb8b](https://forums.unrealengine.com/u/anonymous_user_212cbb8b)\
**Replies:** 0\
**Last updated:** [July 24, 2016, 10:39pm UTC](https://forums.unrealengine.com/t/how-to-make-a-inventory-like-worms-armagedom/365008 "2016-07-24T22:39:50Z")

</div>

I wonder if there is any way to make an inventory as the game worms Armageddon where ypu open the menu choose weapon and you can do this at any time in the game I would like any kind of information to help heap that kin…

---

## [Setting pointer in USTRUCT null on next Tick](https://forums.unrealengine.com/t/setting-pointer-in-ustruct-null-on-next-tick/364961)

<div class="topic-metadata">

**Author:** [@duke22](https://forums.unrealengine.com/u/duke22)\
**Replies:** 0\
**Last updated:** [July 24, 2016, 11:18am UTC](https://forums.unrealengine.com/t/setting-pointer-in-ustruct-null-on-next-tick/364961 "2016-07-24T11:18:09Z")

</div>

After setting a pointer in a custom USTRUCT to a value, it loses said value on the neck Tick. I’ve tried a few different types including something derived from UObject, and a vanilla, non-UE struct and both have the same…

---

## [Game instance not working](https://forums.unrealengine.com/t/game-instance-not-working/364904)

<div class="topic-metadata">

**Author:** [@dogu189](https://forums.unrealengine.com/u/dogu189)\
**Replies:** 4\
**Last updated:** [July 23, 2016, 6:14pm UTC](https://forums.unrealengine.com/t/game-instance-not-working/364904 "2016-07-23T18:14:09Z")

</div>

Hey I created an game instance called “DefGameIns” And in FirstpersonCharacter\_BP here is what I have: I press L to make lagamcheck true and press H it says ‘true’ I press z to open another level and press h it says …

---

## [Affecting an object via another actor.](https://forums.unrealengine.com/t/affecting-an-object-via-another-actor/364871)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_979e8ae3](https://forums.unrealengine.com/u/anonymous_user_979e8ae3)\
**Replies:** 5\
**Last updated:** [July 23, 2016, 11:30am UTC](https://forums.unrealengine.com/t/affecting-an-object-via-another-actor/364871 "2016-07-23T11:30:56Z")

</div>

I’m looking for a way to affect object (X) when I interact with object (Y). For example, I want to turn off/on a light source in my scene via interacting with another object, the light switch. I have the interaction ev…

---

## [I cannot figure out a way to equip an item, but keep that item in my hotbar while its equipped.](https://forums.unrealengine.com/t/i-cannot-figure-out-a-way-to-equip-an-item-but-keep-that-item-in-my-hotbar-while-its-equipped/364584)

<div class="topic-metadata">

**Author:** [@CSawyer](https://forums.unrealengine.com/u/CSawyer)\
**Replies:** 0\
**Last updated:** [July 20, 2016, 12:48pm UTC](https://forums.unrealengine.com/t/i-cannot-figure-out-a-way-to-equip-an-item-but-keep-that-item-in-my-hotbar-while-its-equipped/364584 "2016-07-20T12:48:30Z")

</div>

I have a full inventory system, and figured out how to equip items to my character, but when equipping the items it disappears from my inventory hotbar, and equips onto a socket on my character. Im trying to figure out h…

---

## [Inventory System - Cast to ThirdPersonCharacter fail](https://forums.unrealengine.com/t/inventory-system-cast-to-thirdpersoncharacter-fail/364251)

<div class="topic-metadata">

**Author:** [@vitor080vitor](https://forums.unrealengine.com/u/vitor080vitor)\
**Replies:** 6\
**Last updated:** [July 19, 2016, 6:50am UTC](https://forums.unrealengine.com/t/inventory-system-cast-to-thirdpersoncharacter-fail/364251 "2016-07-19T06:50:27Z")

</div>

If anyone can help me, i am brazilian and i am trying to see tutorials to create this inventory system, but always i got this message! Please,what can i do to resolve this?

---

## [Using arrays, "is pending kill" error after i have removed element :/](https://forums.unrealengine.com/t/using-arrays-is-pending-kill-error-after-i-have-removed-element/320584)

<div class="topic-metadata">

**Author:** [@Sgt\_HooF](https://forums.unrealengine.com/u/Sgt_HooF)\
**Replies:** 3\
**Last updated:** [July 18, 2016, 5:11pm UTC](https://forums.unrealengine.com/t/using-arrays-is-pending-kill-error-after-i-have-removed-element/320584 "2016-07-18T17:11:40Z")

</div>

So im trying to create a system where a varying amount of objects “orbitals” will rotate around another object “orbit tester 2”. Orbit tester 2 has an array or orbitals. pressing the “E” key creates a new orbital an…

---

## [Unable to set up save game mechanics.](https://forums.unrealengine.com/t/unable-to-set-up-save-game-mechanics/364260)

<div class="topic-metadata">

**Author:** [@TheGoldstrum](https://forums.unrealengine.com/u/TheGoldstrum)\
**Replies:** 2\
**Last updated:** [July 17, 2016, 9:38am UTC](https://forums.unrealengine.com/t/unable-to-set-up-save-game-mechanics/364260 "2016-07-17T09:38:50Z")

</div>

Hi, Ive been working on a game which ive made by following Unreal’s video tutorial series on how to make an endless runner. All of that has gone fine. Now i’ve tried to take that one step further by adding save mechani…

---

## [Cant change or update controlpoints for InterpToMovement](https://forums.unrealengine.com/t/cant-change-or-update-controlpoints-for-interptomovement/364262)

<div class="topic-metadata">

**Author:** [@sarchasm](https://forums.unrealengine.com/u/sarchasm)\
**Replies:** 2\
**Last updated:** [July 17, 2016, 8:40am UTC](https://forums.unrealengine.com/t/cant-change-or-update-controlpoints-for-interptomovement/364262 "2016-07-17T08:40:03Z")

</div>

Any way I try to adjust control points for this component it either completely breaks or acts very incorrect. Is this component not meant to be updated but only static and set at BeginPlay? I can’t imagine that to be so.…

---

## [Saving game notification](https://forums.unrealengine.com/t/saving-game-notification/363967)

<div class="topic-metadata">

**Author:** [@gustavorios2](https://forums.unrealengine.com/u/gustavorios2)\
**Replies:** 4\
**Last updated:** [July 16, 2016, 2:25pm UTC](https://forums.unrealengine.com/t/saving-game-notification/363967 "2016-07-16T14:25:34Z")

</div>

When I run the save game function of my game it saves instantly (or at least looks like), but I wanted to display a tiny “Game is now saving” or “game saved successfully”. Is that possible? To get information that the s…

---

## [How to make save game?](https://forums.unrealengine.com/t/how-to-make-save-game/364065)

<div class="topic-metadata">

**Author:** [@DE4Dkiller616\_MC](https://forums.unrealengine.com/u/DE4Dkiller616_MC)\
**Replies:** 0\
**Last updated:** [July 14, 2016, 8:40pm UTC](https://forums.unrealengine.com/t/how-to-make-save-game/364065 "2016-07-14T20:40:05Z")

</div>

Hello, I am using UE 4.10 for making a Sand Box game style where you scavenge for suplies, build stuff around and kill the enemies that make your survival difficult, so I was thinking if there is a way to save my invento…

---

## [Get transform of all actors of class](https://forums.unrealengine.com/t/get-transform-of-all-actors-of-class/363678)

<div class="topic-metadata">

**Author:** [@SuperKillJuul](https://forums.unrealengine.com/u/SuperKillJuul)\
**Replies:** 2\
**Last updated:** [July 11, 2016, 11:15pm UTC](https://forums.unrealengine.com/t/get-transform-of-all-actors-of-class/363678 "2016-07-11T23:15:26Z")

</div>

Hello, I am trying to get the transform of every player start in my level using the class blueprints. So far I haven’t been able to discover a better way, but I am trying to find the spawn locations using the get all act…

---

## [How do you display a text variable from a blueprint?](https://forums.unrealengine.com/t/how-do-you-display-a-text-variable-from-a-blueprint/315798)

<div class="topic-metadata">

**Author:** [@Vendrium\_1](https://forums.unrealengine.com/u/Vendrium_1)\
**Replies:** 8\
**Last updated:** [July 11, 2016, 8:39am UTC](https://forums.unrealengine.com/t/how-do-you-display-a-text-variable-from-a-blueprint/315798 "2016-07-11T08:39:05Z")

</div>

Hi, I’ve been trying to wrap my head around this and followed some tutorials but ultimately couldn’t get this to work. I’m trying to do the following: In one blueprint (let’s just call it the input blueprint) - I have…

---

## [inventory wont close when press action key](https://forums.unrealengine.com/t/inventory-wont-close-when-press-action-key/363182)

<div class="topic-metadata">

**Author:** [@JonathanCDev](https://forums.unrealengine.com/u/JonathanCDev)\
**Replies:** 5\
**Last updated:** [July 8, 2016, 7:41am UTC](https://forums.unrealengine.com/t/inventory-wont-close-when-press-action-key/363182 "2016-07-08T07:41:05Z")

</div>

For some reason the Inventory wont close when i put it i ahve to Stop pie. It fires off when i Press TAB but when i press it again it doesnt fire off. i dont if the node are different then in 4.10 but i used the Skyrim i…

---

## [How to pass a 2D array as a parameter?](https://forums.unrealengine.com/t/how-to-pass-a-2d-array-as-a-parameter/362614)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_1ed1c3df](https://forums.unrealengine.com/u/anonymous_user_1ed1c3df)\
**Replies:** 4\
**Last updated:** [July 6, 2016, 2:01pm UTC](https://forums.unrealengine.com/t/how-to-pass-a-2d-array-as-a-parameter/362614 "2016-07-06T14:01:50Z")

</div>

The C++ way of handling bool arrays has my brain hurting. I have an array of bool arrays in certain permutations as a fixed constant that I want to copy from. In C# this is as simple as saying… bool\[\]\[\] thing = new boo…

---

## [Sort Players based on Lap, and Checkpoint](https://forums.unrealengine.com/t/sort-players-based-on-lap-and-checkpoint/363063)

<div class="topic-metadata">

**Author:** [@rfw7755](https://forums.unrealengine.com/u/rfw7755)\
**Replies:** 0\
**Last updated:** [July 5, 2016, 10:06pm UTC](https://forums.unrealengine.com/t/sort-players-based-on-lap-and-checkpoint/363063 "2016-07-05T22:06:58Z")

</div>

Hey Guys, I have a Problem I’m trying to solve with ordering players based on distance around a track in a racing game. So as of now, I have 3 variables that all players have every tick. Lap#, Checkpoint#, and Distance…

---

## [Cannot use Toggle Visibility for Actor Blueprint](https://forums.unrealengine.com/t/cannot-use-toggle-visibility-for-actor-blueprint/362933)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_8842144f](https://forums.unrealengine.com/u/anonymous_user_8842144f)\
**Replies:** 2\
**Last updated:** [July 5, 2016, 10:32am UTC](https://forums.unrealengine.com/t/cannot-use-toggle-visibility-for-actor-blueprint/362933 "2016-07-05T10:32:09Z")

</div>

Hello all, I am trying to create a blueprint in which an object becomes visible once the character enters a box trigger. In this case, the object is a key. Here is the tutorial I’m following as a reference: This tut…

---

## [Best way to store items in an inventory](https://forums.unrealengine.com/t/best-way-to-store-items-in-an-inventory/361907)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_7b2a231b](https://forums.unrealengine.com/u/anonymous_user_7b2a231b)\
**Replies:** 5\
**Last updated:** [July 4, 2016, 4:17pm UTC](https://forums.unrealengine.com/t/best-way-to-store-items-in-an-inventory/361907 "2016-07-04T16:17:48Z")

</div>

Hi, I am working on a inventory system and was hoping for a bit of advice about how to store the actual items. Basically, I am trying to figure out if it would be better to store items as an array of a custom struct tha…

---

## [Not Updating Variable](https://forums.unrealengine.com/t/not-updating-variable/362460)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_d2ad3639](https://forums.unrealengine.com/u/anonymous_user_d2ad3639)\
**Replies:** 5\
**Last updated:** [July 3, 2016, 10:33pm UTC](https://forums.unrealengine.com/t/not-updating-variable/362460 "2016-07-03T22:33:51Z")

</div>

Hey guys, got a slight problem with my score system. i swear this worked and all of a sudden it has suddenly stopped working ! i basically have a system where at the end of a game i Set high score. On first attempt it s…

---

## [When to pass parameters by variable VS. constant reference](https://forums.unrealengine.com/t/when-to-pass-parameters-by-variable-vs-constant-reference/362641)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_5bf0957e](https://forums.unrealengine.com/u/anonymous_user_5bf0957e)\
**Replies:** 2\
**Last updated:** [July 3, 2016, 8:13pm UTC](https://forums.unrealengine.com/t/when-to-pass-parameters-by-variable-vs-constant-reference/362641 "2016-07-03T20:13:46Z")

</div>

I just read about passing arguments by reference. At the end of that page it is mentioned, that you should not pass fundamental types (bool, char, int, float) by constant reference and pass by value instead. So which Unr…

---

## [How to create a Chest/Container System from the Inventory Drag&Drop System!](https://forums.unrealengine.com/t/how-to-create-a-chest-container-system-from-the-inventory-drag-drop-system/362147)

<div class="topic-metadata">

**Author:** [@Lexyth](https://forums.unrealengine.com/u/Lexyth)\
**Replies:** 10\
**Last updated:** [July 2, 2016, 7:27pm UTC](https://forums.unrealengine.com/t/how-to-create-a-chest-container-system-from-the-inventory-drag-drop-system/362147 "2016-07-02T19:27:47Z")

</div>

Hello, I’m currently working on a Survival Game and i recently integrated the Drag&Drop Inventory System from the UE4 Youtube channel (\[uploaded live stream 1 of 3\] (Drag & Drop with UMG | 01 | Live Training | Unreal Eng…

---

## [Saving objects in Save Game](https://forums.unrealengine.com/t/saving-objects-in-save-game/329112)

<div class="topic-metadata">

**Author:** [@Dividual](https://forums.unrealengine.com/u/Dividual)\
**Replies:** 4\
**Last updated:** [June 30, 2016, 5:41pm UTC](https://forums.unrealengine.com/t/saving-objects-in-save-game/329112 "2016-06-30T17:41:30Z")

</div>

It seems you can’t simply save an object reference. I have an array of objects; an inventory. The array type is a base class for items, the actual instances are healthpotions, weapons, or whatever. Of course, I want th…

---

## [Problem Accessing C++ Class Through BP](https://forums.unrealengine.com/t/problem-accessing-c-class-through-bp/362464)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_bef2083f](https://forums.unrealengine.com/u/anonymous_user_bef2083f)\
**Replies:** 0\
**Last updated:** [June 29, 2016, 7:39pm UTC](https://forums.unrealengine.com/t/problem-accessing-c-class-through-bp/362464 "2016-06-29T19:39:10Z")

</div>

Hello, I am trying to access some UPROPERTY’s I created in my main player class, which look like the following: And attempt to access these variables in my animation BP through: Which obviously doesn’t work, which…

---

## [How can I pick a savegame location for an HTML build?](https://forums.unrealengine.com/t/how-can-i-pick-a-savegame-location-for-an-html-build/362238)

<div class="topic-metadata">

**Author:** [@tedshrop](https://forums.unrealengine.com/u/tedshrop)\
**Replies:** 0\
**Last updated:** [June 28, 2016, 2:41am UTC](https://forums.unrealengine.com/t/how-can-i-pick-a-savegame-location-for-an-html-build/362238 "2016-06-28T02:41:45Z")

</div>

I’m trying to make a web customizer that lets the user store their creation on the server for us to be able to open. The problem I’m having is that when I run it in the editor, it saves in the /saved/savegame folder, but…

---

## [How do I expose a user-created variable from an anim blueprint class](https://forums.unrealengine.com/t/how-do-i-expose-a-user-created-variable-from-an-anim-blueprint-class/362165)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_550bf211](https://forums.unrealengine.com/u/anonymous_user_550bf211)\
**Replies:** 1\
**Last updated:** [June 27, 2016, 3:04pm UTC](https://forums.unrealengine.com/t/how-do-i-expose-a-user-created-variable-from-an-anim-blueprint-class/362165 "2016-06-27T15:04:31Z")

</div>

Hi, I am new to Unreal so sorry for the dumb question. I have an event graph within an anim blueprint in which I want to reference an external actor by name to be able to use getActorLocation. I thought that I would jus…

---

## [Error on USTRUCT's GENERATED\_BODY](https://forums.unrealengine.com/t/error-on-ustructs-generated_body/362108)

<div class="topic-metadata">

**Author:** [@DwarfObserver](https://forums.unrealengine.com/u/DwarfObserver)\
**Replies:** 2\
**Last updated:** [June 27, 2016, 8:07am UTC](https://forums.unrealengine.com/t/error-on-ustructs-generated_body/362108 "2016-06-27T08:07:39Z")

</div>

Hi, Sorry if this question was resolved because I read many similars posts but I still can’t resolve my issue (I’m new to Unreal Engine 4). When I’m declaring my UStruct in the header file of a custom class, the compil…

---

## [Save Game To Slot False?](https://forums.unrealengine.com/t/save-game-to-slot-false/361213)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_ce582f0a](https://forums.unrealengine.com/u/anonymous_user_ce582f0a)\
**Replies:** 2\
**Last updated:** [June 26, 2016, 12:18pm UTC](https://forums.unrealengine.com/t/save-game-to-slot-false/361213 "2016-06-26T12:18:27Z")

</div>

Greetings, Ok I am stuck on a save game issue and despite the research I have done, can’t seem to figure it out. I am hoping someone here might be able/willing to lend a hand. I am having trouble saving an Integer usin…

---

## [Save error](https://forums.unrealengine.com/t/save-error/361642)

<div class="topic-metadata">

**Author:** [@veccher](https://forums.unrealengine.com/u/veccher)\
**Replies:** 2\
**Last updated:** [June 24, 2016, 5:16pm UTC](https://forums.unrealengine.com/t/save-error/361642 "2016-06-24T17:16:05Z")

</div>

hi guys, i’m trying to build a “save system” to my game, i created a blueprint class based on “save game” and i gave it 3 variables, then created another blueprint called checkpoint that creates an instance of this class…

---

## [Loading a Saved Game](https://forums.unrealengine.com/t/loading-a-saved-game/307537)

<div class="topic-metadata">

**Author:** [@Janyx](https://forums.unrealengine.com/u/Janyx)\
**Replies:** 8\
**Last updated:** [June 21, 2016, 7:34pm UTC](https://forums.unrealengine.com/t/loading-a-saved-game/307537 "2016-06-21T19:34:56Z")

</div>

I am trying to create a save file that basically just remembers the player’s primary and secondary weapons. It is weird because when I first run then game it loads the data fine. However when I travel to a new level, i…

---

## [Changing ubication on the Reference Editor?](https://forums.unrealengine.com/t/changing-ubication-on-the-reference-editor/325364)

<div class="topic-metadata">

**Author:** [@Sn4ke66](https://forums.unrealengine.com/u/Sn4ke66)\
**Replies:** 1\
**Last updated:** [June 17, 2016, 5:54pm UTC](https://forums.unrealengine.com/t/changing-ubication-on-the-reference-editor/325364 "2016-06-17T17:54:17Z")

</div>

The company that I work for just bought the evermotion UE4 package. They asked me to organize all the assets in meshes, materials and textures. The problem is that the shaders are trying to take the texutres from the ori…

[Previous page](https://forums.unrealengine.com/c/development-discussion/pipeline-plugins/editor-scripting/45.md?page=87)

[Next page](https://forums.unrealengine.com/c/development-discussion/pipeline-plugins/editor-scripting/45.md?page=89)
