# Editor Scripting

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

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

**Page:** 93

---

## [How to use Enumeration to create a categorized Inventory System?](https://forums.unrealengine.com/t/how-to-use-enumeration-to-create-a-categorized-inventory-system/347387)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_e2451f55](https://forums.unrealengine.com/u/anonymous_user_e2451f55)\
**Replies:** 1\
**Last updated:** [February 14, 2016, 1:00am UTC](https://forums.unrealengine.com/t/how-to-use-enumeration-to-create-a-categorized-inventory-system/347387 "2016-02-14T01:00:02Z")

</div>

Hay guys, I am currently Creating an RPG game and I as wondering how I could use enumeration to create item categories (Weapons, Food, etc.) in my inventory. I am following a tutorial on how to create a inventory system …

---

## [Cant use Pointer for TArray](https://forums.unrealengine.com/t/cant-use-pointer-for-tarray/347255)

<div class="topic-metadata">

**Author:** [@Diddykonga](https://forums.unrealengine.com/u/Diddykonga)\
**Replies:** 2\
**Last updated:** [February 12, 2016, 5:30pm UTC](https://forums.unrealengine.com/t/cant-use-pointer-for-tarray/347255 "2016-02-12T17:30:45Z")

</div>

Im trying to create a TArray pointer to store a link to a const TArray reference outputed by a Reference Skeleton. // Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "…

---

## [Can i change the location of the socket on a static Mesh during ingame](https://forums.unrealengine.com/t/can-i-change-the-location-of-the-socket-on-a-static-mesh-during-ingame/347241)

<div class="topic-metadata">

**Author:** [@aikender](https://forums.unrealengine.com/u/aikender)\
**Replies:** 0\
**Last updated:** [February 12, 2016, 1:01pm UTC](https://forums.unrealengine.com/t/can-i-change-the-location-of-the-socket-on-a-static-mesh-during-ingame/347241 "2016-02-12T13:01:23Z")

</div>

I have a socket placed on a static mesh. I want to change the location of that Socket in the game, i think it is the Relative Location. I found ‘Set Relative Location’ but that asks for a Socket reference .But i cant…

---

## [Potion Charges](https://forums.unrealengine.com/t/potion-charges/346930)

<div class="topic-metadata">

**Author:** [@Koaku](https://forums.unrealengine.com/u/Koaku)\
**Replies:** 0\
**Last updated:** [February 9, 2016, 7:48pm UTC](https://forums.unrealengine.com/t/potion-charges/346930 "2016-02-09T19:48:18Z")

</div>

I have created a blueprint object that when hit by the player adds 1 to the variable Small Potion, now i have two of these items in the game and when i hit one can use my potion but after that when i hit the other object…

---

## [Save Game Tutorial?](https://forums.unrealengine.com/t/save-game-tutorial/346538)

<div class="topic-metadata">

**Author:** [@MaxPower42](https://forums.unrealengine.com/u/MaxPower42)\
**Replies:** 5\
**Last updated:** [February 9, 2016, 6:55pm UTC](https://forums.unrealengine.com/t/save-game-tutorial/346538 "2016-02-09T18:55:00Z")

</div>

Hi. Learning how to save and load a game has been on my list for weeks, but I can’t find a good tutorial about this. It would be nice, if there was something for c++ (almost every tutorial uses blueprints), but more impo…

---

## [Creating an Inventory System in UE4?](https://forums.unrealengine.com/t/creating-an-inventory-system-in-ue4/346657)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_e2451f55](https://forums.unrealengine.com/u/anonymous_user_e2451f55)\
**Replies:** 2\
**Last updated:** [February 9, 2016, 10:14am UTC](https://forums.unrealengine.com/t/creating-an-inventory-system-in-ue4/346657 "2016-02-09T10:14:05Z")

</div>

Hey everyone, I am new to UE4 and I was wondering if anyone had any tutorials on how to create an Inventory system using UE4. Additionally, If anyone Could tell me how to add Item Categories such as the categories preset…

---

## [Line trace hit value won't stay true](https://forums.unrealengine.com/t/line-trace-hit-value-wont-stay-true/346683)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_7953e8f0](https://forums.unrealengine.com/u/anonymous_user_7953e8f0)\
**Replies:** 3\
**Last updated:** [February 8, 2016, 11:34am UTC](https://forums.unrealengine.com/t/line-trace-hit-value-wont-stay-true/346683 "2016-02-08T11:34:31Z")

</div>

I’m trying to trace each frame to check if a hit has occurred with the world, changing a variable to “true” until the trace is no longer hitting. The problem is when a hit occurs, the variable changes to “true” for one f…

---

## [How do i create "OnDecrease" event?](https://forums.unrealengine.com/t/how-do-i-create-ondecrease-event/346627)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_64181635](https://forums.unrealengine.com/u/anonymous_user_64181635)\
**Replies:** 0\
**Last updated:** [February 6, 2016, 8:42pm UTC](https://forums.unrealengine.com/t/how-do-i-create-ondecrease-event/346627 "2016-02-06T20:42:17Z")

</div>

In my game i have function that changes character animations. I have “current\_health” variable and function must know when it decreases.

---

## [creating inventory system](https://forums.unrealengine.com/t/creating-inventory-system/346513)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_8f4cfdcc](https://forums.unrealengine.com/u/anonymous_user_8f4cfdcc)\
**Replies:** 1\
**Last updated:** [February 5, 2016, 5:22pm UTC](https://forums.unrealengine.com/t/creating-inventory-system/346513 "2016-02-05T17:22:50Z")

</div>

Hey, I’m trying to do is create an inventory system as BF 4 , have two buttons , so when I click on one, I can only change the weapon that button , I already have the basics which is the exchange of editing buttons how c…

---

## [Array of other objects with pointers](https://forums.unrealengine.com/t/array-of-other-objects-with-pointers/345756)

<div class="topic-metadata">

**Author:** [@Fishy418](https://forums.unrealengine.com/u/Fishy418)\
**Replies:** 2\
**Last updated:** [January 31, 2016, 8:05am UTC](https://forums.unrealengine.com/t/array-of-other-objects-with-pointers/345756 "2016-01-31T08:05:13Z")

</div>

Hi All, This is probably a complete noob question but I’ve been playing with it for awhile and still can’t quite figure out the best method. Scenario is I want a grid based map (for turn based strategy game) with fast …

---

## [Make SaveGame smaller?](https://forums.unrealengine.com/t/make-savegame-smaller/345787)

<div class="topic-metadata">

**Author:** [@iUltimateLP](https://forums.unrealengine.com/u/iUltimateLP)\
**Replies:** 0\
**Last updated:** [January 29, 2016, 6:32pm UTC](https://forums.unrealengine.com/t/make-savegame-smaller/345787 "2016-01-29T18:32:56Z")

</div>

Hey guys, is there a way to reduce the size of a SaveGame saved by Unreal? I currently toy around with this project, but the SaveGame that saves is actually 800MB big! Any chance to compress them? I don’t want to change…

---

## [Access violation - code c0000005 (first/second chance not available)](https://forums.unrealengine.com/t/access-violation-code-c0000005-first-second-chance-not-available/345785)

<div class="topic-metadata">

**Author:** [@FrankKappaPride](https://forums.unrealengine.com/u/FrankKappaPride)\
**Replies:** 1\
**Last updated:** [January 29, 2016, 6:07pm UTC](https://forums.unrealengine.com/t/access-violation-code-c0000005-first-second-chance-not-available/345785 "2016-01-29T18:07:28Z")

</div>

Access violation - code c0000005 (first/second chance not available) I linked Python27 x64 library in my game using third party .lib and .h. It builds successfully but as soon as I use any function inside the game, the…

---

## [Keep Inventory when loading level](https://forums.unrealengine.com/t/keep-inventory-when-loading-level/343382)

<div class="topic-metadata">

**Author:** [@PxStardust](https://forums.unrealengine.com/u/PxStardust)\
**Replies:** 5\
**Last updated:** [January 29, 2016, 5:37pm UTC](https://forums.unrealengine.com/t/keep-inventory-when-loading-level/343382 "2016-01-29T17:37:26Z")

</div>

Hi ! I followed the Unreal Engine tutorial series to create the Inventory in my game : UMG UI Inventory | v4.8 | Unreal Engine - YouTube It works perfectly fine excepted when I change the level with an “Open Level”. , …

---

## [How to use array custom class in BP as a variable?](https://forums.unrealengine.com/t/how-to-use-array-custom-class-in-bp-as-a-variable/345642)

<div class="topic-metadata">

**Author:** [@Hichigo](https://forums.unrealengine.com/u/Hichigo)\
**Replies:** 1\
**Last updated:** [January 29, 2016, 2:12pm UTC](https://forums.unrealengine.com/t/how-to-use-array-custom-class-in-bp-as-a-variable/345642 "2016-01-29T14:12:32Z")

</div>

My class #pragma once #include "DungeonRoom.h" class PROCEDURALDUNGEON\_API DungeonEdge { public: DungeonEdge(); DungeonEdge(DungeonRoom &\_r1, DungeonRoom &\_r2); ~DungeonEdge(); DungeonRoom r1; DungeonRoom r2; …

---

## [Is there a way to not break connections when changing a variable type?](https://forums.unrealengine.com/t/is-there-a-way-to-not-break-connections-when-changing-a-variable-type/345590)

<div class="topic-metadata">

**Author:** [@Burnrate](https://forums.unrealengine.com/u/Burnrate)\
**Replies:** 1\
**Last updated:** [January 28, 2016, 12:21am UTC](https://forums.unrealengine.com/t/is-there-a-way-to-not-break-connections-when-changing-a-variable-type/345590 "2016-01-28T00:21:17Z")

</div>

Considering how blueprints work, and they can get pretty squirrely, is there a way to change a variable type and not have it break all connections? The best way to do it now is: search for all instances add reroute no…

---

## [Quad Interpolation in Blueprint ?](https://forums.unrealengine.com/t/quad-interpolation-in-blueprint/307828)

<div class="topic-metadata">

**Author:** [@DanSaxon](https://forums.unrealengine.com/u/DanSaxon)\
**Replies:** 5\
**Last updated:** [January 27, 2016, 9:23pm UTC](https://forums.unrealengine.com/t/quad-interpolation-in-blueprint/307828 "2016-01-27T21:23:13Z")

</div>

Hi, is there any way to turn on quad interpolation in Blueprint, I have a lerp rotating an object but after turning two times it rotates off on a strange angle. I saw there was a question submitted similar to this nearl…

---

## [Inventory system save, how?](https://forums.unrealengine.com/t/inventory-system-save-how/345473)

<div class="topic-metadata">

**Author:** [@ajjaj](https://forums.unrealengine.com/u/ajjaj)\
**Replies:** 0\
**Last updated:** [January 26, 2016, 9:12pm UTC](https://forums.unrealengine.com/t/inventory-system-save-how/345473 "2016-01-26T21:12:07Z")

</div>

Hi guys! I need some help. It is the case that I built a Inventory in the UE4’s basic tutorial help docs. No just I started to save-all, I stuck here! I save-all I can sing, but can not get it in particular, which was t…

---

## [Drag function parameters to graph like variables?](https://forums.unrealengine.com/t/drag-function-parameters-to-graph-like-variables/344805)

<div class="topic-metadata">

**Author:** [@PowerDesign](https://forums.unrealengine.com/u/PowerDesign)\
**Replies:** 5\
**Last updated:** [January 25, 2016, 3:26pm UTC](https://forums.unrealengine.com/t/drag-function-parameters-to-graph-like-variables/344805 "2016-01-25T15:26:50Z")

</div>

… so, to access parameters we don’t have to connect to function input node. Thanks!

---

## [Does the networking Character Movement Component use dead reckoning or interpolation?](https://forums.unrealengine.com/t/does-the-networking-character-movement-component-use-dead-reckoning-or-interpolation/345247)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_1e5d5354](https://forums.unrealengine.com/u/anonymous_user_1e5d5354)\
**Replies:** 0\
**Last updated:** [January 25, 2016, 5:00am UTC](https://forums.unrealengine.com/t/does-the-networking-character-movement-component-use-dead-reckoning-or-interpolation/345247 "2016-01-25T05:00:02Z")

</div>

I was wondering if the UCharacterMovementComponent uses dead reckoning, or entity interpolation when it is rendering other players/pawns that aren’t controlled by the client. Or if there is a way to chose which one to us…

---

## [Passing references to Run On Server events change them?](https://forums.unrealengine.com/t/passing-references-to-run-on-server-events-change-them/345068)

<div class="topic-metadata">

**Author:** [@Timbo59](https://forums.unrealengine.com/u/Timbo59)\
**Replies:** 4\
**Last updated:** [January 24, 2016, 5:09pm UTC](https://forums.unrealengine.com/t/passing-references-to-run-on-server-events-change-them/345068 "2016-01-24T17:09:18Z")

</div>

So the basic gist of this one is that when I pass a self character reference to an event that is replicated to the server, it will change the reference. I’m trying to pass the client which initiated the trace event, so I…

---

## [How to assign a UStruct parameter in a blueprint?](https://forums.unrealengine.com/t/how-to-assign-a-ustruct-parameter-in-a-blueprint/345036)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_dc39aaa6](https://forums.unrealengine.com/u/anonymous_user_dc39aaa6)\
**Replies:** 2\
**Last updated:** [January 24, 2016, 2:02pm UTC](https://forums.unrealengine.com/t/how-to-assign-a-ustruct-parameter-in-a-blueprint/345036 "2016-01-24T14:02:21Z")

</div>

Hello, I have a C++ UFunction which takes a UStruct as a parameter, such as UFUNCTION(BlueprintCallable, Category=“foobar”) void (UStruct \*theStruct); I am told during compilation that I need to make the parameter va…

---

## [Get struct data by name](https://forums.unrealengine.com/t/get-struct-data-by-name/298838)

<div class="topic-metadata">

**Author:** [@Flakky](https://forums.unrealengine.com/u/Flakky)\
**Replies:** 3\
**Last updated:** [January 23, 2016, 1:16pm UTC](https://forums.unrealengine.com/t/get-struct-data-by-name/298838 "2016-01-23T13:16:15Z")

</div>

Hi everyone! I would like to know, if it possible to find variable name by its name in a struct. For example, i have a struct with some texts, that i want to display on the screen, and i need to get the text by its var…

---

## [How to make stackable items in unreal tutorial inventory?](https://forums.unrealengine.com/t/how-to-make-stackable-items-in-unreal-tutorial-inventory/334955)

<div class="topic-metadata">

**Author:** [@Taratus](https://forums.unrealengine.com/u/Taratus)\
**Replies:** 3\
**Last updated:** [January 21, 2016, 1:27pm UTC](https://forums.unrealengine.com/t/how-to-make-stackable-items-in-unreal-tutorial-inventory/334955 "2016-01-21T13:27:58Z")

</div>

Hi, i followed the unreal engine tutorial of making a inventory. Everthing works after some time, but in this video you can’t see how to make the items stackable, so the same items can use one slot with a number saying h…

---

## [how to cast ammo count, from a inventory array pickup](https://forums.unrealengine.com/t/how-to-cast-ammo-count-from-a-inventory-array-pickup/344747)

<div class="topic-metadata">

**Author:** [@sonicboomgame](https://forums.unrealengine.com/u/sonicboomgame)\
**Replies:** 1\
**Last updated:** [January 21, 2016, 4:37am UTC](https://forums.unrealengine.com/t/how-to-cast-ammo-count-from-a-inventory-array-pickup/344747 "2016-01-21T04:37:39Z")

</div>

hi, I was wondering how to go about displaying ammo pickup updated to hud , basically what ive tried to do is in the hudbp is to cast a number count based on a ammo pickup …when I pick up health it goes into my inventory…

---

## [How to use left mouse button click in drag and drop inventory 4.10](https://forums.unrealengine.com/t/how-to-use-left-mouse-button-click-in-drag-and-drop-inventory-4-10/344640)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_2fe085b5](https://forums.unrealengine.com/u/anonymous_user_2fe085b5)\
**Replies:** 0\
**Last updated:** [January 19, 2016, 11:23pm UTC](https://forums.unrealengine.com/t/how-to-use-left-mouse-button-click-in-drag-and-drop-inventory-4-10/344640 "2016-01-19T23:23:40Z")

</div>

I am using the drag and drop from the Wes Bunn training video. what i am trying to be able to do is use items from the inventory slots by right clicking and have a couple of buttons pop up to be able to use as different…

---

## [Inventory problem Error (Accessed None 'InventoryWidget'...)](https://forums.unrealengine.com/t/inventory-problem-error-accessed-none-inventorywidget/344317)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_707e4329](https://forums.unrealengine.com/u/anonymous_user_707e4329)\
**Replies:** 3\
**Last updated:** [January 19, 2016, 10:21pm UTC](https://forums.unrealengine.com/t/inventory-problem-error-accessed-none-inventorywidget/344317 "2016-01-19T22:21:51Z")

</div>

Hello, basically I’m trying to add a inventory system to my game, but I’m not very good at scripting so I am trying to replicate this inventory system from this video; Everything seemed to work, until I got to epizode …

---

## [Get all of a specific actor](https://forums.unrealengine.com/t/get-all-of-a-specific-actor/344285)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_bfee94af](https://forums.unrealengine.com/u/anonymous_user_bfee94af)\
**Replies:** 4\
**Last updated:** [January 19, 2016, 1:11am UTC](https://forums.unrealengine.com/t/get-all-of-a-specific-actor/344285 "2016-01-19T01:11:35Z")

</div>

You’re using the iterator correctly, you’re just using the wrong template parameter. Remove the \* from your TActorIterator line. Also, in what function are you running the iterator?

---

## [Blueprints keep corrupting](https://forums.unrealengine.com/t/blueprints-keep-corrupting/343862)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_fd57f212](https://forums.unrealengine.com/u/anonymous_user_fd57f212)\
**Replies:** 10\
**Last updated:** [January 18, 2016, 9:09pm UTC](https://forums.unrealengine.com/t/blueprints-keep-corrupting/343862 "2016-01-18T21:09:12Z")

</div>

Hi, over the past weeks I had various cases of variables corrupting Blueprints and Widget Blueprints. This had happened on different Projects with UE 4.8 and UE 4.10. The way of corruption: Creat a Variable, Save, Com…

---

## [How to save different player's names?](https://forums.unrealengine.com/t/how-to-save-different-players-names/326404)

<div class="topic-metadata">

**Author:** [@Psy890\_1](https://forums.unrealengine.com/u/Psy890_1)\
**Replies:** 2\
**Last updated:** [January 18, 2016, 12:16pm UTC](https://forums.unrealengine.com/t/how-to-save-different-players-names/326404 "2016-01-18T12:16:23Z")

</div>

Hi! I’m looking for a way to save each player’s name, and use this name later to create individual SaveGame files for each player. The main idea it’s that when the game begins, there will be a textbox where the player wi…

---

## ["Set Input Mode Game and UI" node not working for inventory](https://forums.unrealengine.com/t/set-input-mode-game-and-ui-node-not-working-for-inventory/344390)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_707e4329](https://forums.unrealengine.com/u/anonymous_user_707e4329)\
**Replies:** 0\
**Last updated:** [January 17, 2016, 8:30pm UTC](https://forums.unrealengine.com/t/set-input-mode-game-and-ui-node-not-working-for-inventory/344390 "2016-01-17T20:30:46Z")

</div>

Hey, I’m trying to create a working inventory system for my game, because I’m not very good at scripting I am using this video tutorial to help me: Unreal Engine 4//Inventory Pt 7: Finishing Widget Data Transfer - YouTub…

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

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