# Editor Scripting

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

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

**Page:** 75

---

## [Pass copy instead of reference](https://forums.unrealengine.com/t/pass-copy-instead-of-reference/421991)

<div class="topic-metadata">

**Author:** [@Natural\_Games](https://forums.unrealengine.com/u/Natural_Games)\
**Replies:** 1\
**Last updated:** [April 6, 2018, 4:05pm UTC](https://forums.unrealengine.com/t/pass-copy-instead-of-reference/421991 "2018-04-06T16:05:50Z")

</div>

So I store my entire inventory in an array of a custom type “Collectibles” which inherits stuff like name, amount etc. to other item types like weapons. I just would like to add i.e. a weapon from the world to the player…

---

## [Referencing Blueprint Within Another Blueprint Issue](https://forums.unrealengine.com/t/referencing-blueprint-within-another-blueprint-issue/421749)

<div class="topic-metadata">

**Author:** [@SerWind](https://forums.unrealengine.com/u/SerWind)\
**Replies:** 11\
**Last updated:** [April 5, 2018, 12:59am UTC](https://forums.unrealengine.com/t/referencing-blueprint-within-another-blueprint-issue/421749 "2018-04-05T00:59:08Z")

</div>

So I will try to explain this the best I can but when answering or considering my question please keep in mind I am an extreme beginner. I will also attempt to use pictures to explain what I am doing. I know a lot of you…

---

## [Help with image arrays](https://forums.unrealengine.com/t/help-with-image-arrays/421727)

<div class="topic-metadata">

**Author:** [@humanoid21](https://forums.unrealengine.com/u/humanoid21)\
**Replies:** 2\
**Last updated:** [April 4, 2018, 2:41pm UTC](https://forums.unrealengine.com/t/help-with-image-arrays/421727 "2018-04-04T14:41:06Z")

</div>

I am trying to make a conversation widget with an array of images that correspond to the answer of yes and no. I set up and array of images but it will not let me add any images to the array. I even tried to make a struc…

---

## [How to override DefaultGame.ini after Packaging?](https://forums.unrealengine.com/t/how-to-override-defaultgame-ini-after-packaging/357340)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_0df14252](https://forums.unrealengine.com/u/anonymous_user_0df14252)\
**Replies:** 8\
**Last updated:** [April 2, 2018, 9:06pm UTC](https://forums.unrealengine.com/t/how-to-override-defaultgame-ini-after-packaging/357340 "2018-04-02T21:06:40Z")

</div>

Hello! I subclassed the GameState and added a couple of string variables exposed in DefaultGame.ini, here it is: \[/Game/MyProject/MyGameStateBP.MyGameStateBP\_C\] MyServer=“http://192.168.127.103:3030” After packaging,…

---

## [How to save/load more booleans of the same name?](https://forums.unrealengine.com/t/how-to-save-load-more-booleans-of-the-same-name/421520)

<div class="topic-metadata">

**Author:** [@DarkloreCreations](https://forums.unrealengine.com/u/DarkloreCreations)\
**Replies:** 11\
**Last updated:** [April 2, 2018, 11:18am UTC](https://forums.unrealengine.com/t/how-to-save-load-more-booleans-of-the-same-name/421520 "2018-04-02T11:18:16Z")

</div>

Hi guys, here is something to give you some kind of idea of what I have. I have Character Blueprint called : "Master\_NPC" The “Master\_NPC” have 3 booleans called: "HasQuest?" “QuestIsCompleted?” "CompletedQues…

---

## [Crash on startup when discovering assets](https://forums.unrealengine.com/t/crash-on-startup-when-discovering-assets/421484)

<div class="topic-metadata">

**Author:** [@ViktoryRoad](https://forums.unrealengine.com/u/ViktoryRoad)\
**Replies:** 0\
**Last updated:** [April 1, 2018, 4:38am UTC](https://forums.unrealengine.com/t/crash-on-startup-when-discovering-assets/421484 "2018-04-01T04:38:26Z")

</div>

I’ve been trying to open a project but it keeps crashing at startup when discovering/referencing assets, specifically on 4.18.3. I’ve tried deleting the content folder and re-pasting it, trying to open a copy on 4.19, de…

---

## [Communicate in given example](https://forums.unrealengine.com/t/communicate-in-given-example/421146)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_b421cc23](https://forums.unrealengine.com/u/anonymous_user_b421cc23)\
**Replies:** 7\
**Last updated:** [March 29, 2018, 4:34pm UTC](https://forums.unrealengine.com/t/communicate-in-given-example/421146 "2018-03-29T16:34:24Z")

</div>

Hi at all, I’ve watched the 2+ hours Blueprints Communication Video made by EpicGames. After that and many research, I couldn’t even get a clue, how to solve my Problem. I want to create a mobile Game. I’ve got 2 Gat…

---

## [Save actor data when destroyed and spawn this specific actor](https://forums.unrealengine.com/t/save-actor-data-when-destroyed-and-spawn-this-specific-actor/421106)

<div class="topic-metadata">

**Author:** [@apokalypto](https://forums.unrealengine.com/u/apokalypto)\
**Replies:** 4\
**Last updated:** [March 29, 2018, 11:04am UTC](https://forums.unrealengine.com/t/save-actor-data-when-destroyed-and-spawn-this-specific-actor/421106 "2018-03-29T11:04:06Z")

</div>

Hi all, Currently I have an inventory and weapons that can be used. For equipping weapon functionality I use “Spawn Actor from Class” node. It spawn a actor from my Parent Weapon class. If I unequip/move that item into …

---

## [Creating a SLOT SPECIFIC INVENTORY!!](https://forums.unrealengine.com/t/creating-a-slot-specific-inventory/420062)

<div class="topic-metadata">

**Author:** [@MarcQuaglia](https://forums.unrealengine.com/u/MarcQuaglia)\
**Replies:** 24\
**Last updated:** [March 28, 2018, 7:37pm UTC](https://forums.unrealengine.com/t/creating-a-slot-specific-inventory/420062 "2018-03-28T19:37:44Z")

</div>

Hello Everyone, I have been trying to make this inventory for over two weeks now and want to give up but im dying to get past this stage so I can move on to better aspects of my game. What I am trying to make is an inv…

---

## [Smoothly returning control rotation with delta to original rotation while aiming](https://forums.unrealengine.com/t/smoothly-returning-control-rotation-with-delta-to-original-rotation-while-aiming/421030)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_873273371](https://forums.unrealengine.com/u/anonymous_user_873273371)\
**Replies:** 0\
**Last updated:** [March 27, 2018, 2:46pm UTC](https://forums.unrealengine.com/t/smoothly-returning-control-rotation-with-delta-to-original-rotation-while-aiming/421030 "2018-03-27T14:46:28Z")

</div>

Hi, I have a recoil system that adds recoil in form of control rotation and it works great but I want to return the rotation to where I would aim WITHOUT the recoil I added (much like CS:GO where the aim “cools down”). …

---

## [Macro/Function Input/Out Pins Do Not Accept Default Enum Value Entering](https://forums.unrealengine.com/t/macro-function-input-out-pins-do-not-accept-default-enum-value-entering/363679)

<div class="topic-metadata">

**Author:** [@Achilleon](https://forums.unrealengine.com/u/Achilleon)\
**Replies:** 7\
**Last updated:** [March 27, 2018, 1:36am UTC](https://forums.unrealengine.com/t/macro-function-input-out-pins-do-not-accept-default-enum-value-entering/363679 "2018-03-27T01:36:58Z")

</div>

Howdy! Title explains everything but let me dive in deeper. If you have an output or input pin in a macro or a function, no matter what you do, you can’t define a default value for them. Now here is the Pew in funct…

---

## [Save/Load Game done more easily?](https://forums.unrealengine.com/t/save-load-game-done-more-easily/420923)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_4d9850e11](https://forums.unrealengine.com/u/anonymous_user_4d9850e11)\
**Replies:** 1\
**Last updated:** [March 26, 2018, 3:18pm UTC](https://forums.unrealengine.com/t/save-load-game-done-more-easily/420923 "2018-03-26T15:18:35Z")

</div>

Hello dear community, I’m currently trying to figure out the best way to create a save game file which remembers “everything”, but the amount of work to do that seems to explode rather quickly. As someone with a histor…

---

## [Using Arrays For Hit Events?](https://forums.unrealengine.com/t/using-arrays-for-hit-events/357044)

<div class="topic-metadata">

**Author:** [@RMelley](https://forums.unrealengine.com/u/RMelley)\
**Replies:** 1\
**Last updated:** [March 25, 2018, 3:19am UTC](https://forums.unrealengine.com/t/using-arrays-for-hit-events/357044 "2018-03-25T03:19:05Z")

</div>

I have recently made an Array out of all actors with a specific tag, and was wondering: is it possible to use every actor in this Array as the “Other Actor” for OnComponentHit events? To be more specific, I have various…

---

## [Where To Store Inventory in Multiplayer?](https://forums.unrealengine.com/t/where-to-store-inventory-in-multiplayer/381823)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_bcc6ef4c](https://forums.unrealengine.com/u/anonymous_user_bcc6ef4c)\
**Replies:** 3\
**Last updated:** [March 24, 2018, 11:54am UTC](https://forums.unrealengine.com/t/where-to-store-inventory-in-multiplayer/381823 "2018-03-24T11:54:17Z")

</div>

GameInstance? , GameState? , PlayerState? , PlayerController? etc. I will create UMG to Upgrade & Equip/UnEquip & Repair & Modify my weapon in Inventory You have anything to guide me?? Please help!

---

## [Custom struct as key in TMap that will be JSON serialized](https://forums.unrealengine.com/t/custom-struct-as-key-in-tmap-that-will-be-json-serialized/420519)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_b50eb2f0](https://forums.unrealengine.com/u/anonymous_user_b50eb2f0)\
**Replies:** 0\
**Last updated:** [March 22, 2018, 7:14am UTC](https://forums.unrealengine.com/t/custom-struct-as-key-in-tmap-that-will-be-json-serialized/420519 "2018-03-22T07:14:35Z")

</div>

Hey all, So I have a USTRUCT that I’m using as a key in a TMap and that is working correctly after overriding operator== and GetTypeHash (the main member is an FString ) This TMap is also serialized to JSON though and …

---

## [How can i reference in blueprint a new spawned object](https://forums.unrealengine.com/t/how-can-i-reference-in-blueprint-a-new-spawned-object/420463)

<div class="topic-metadata">

**Author:** [@Panos98](https://forums.unrealengine.com/u/Panos98)\
**Replies:** 2\
**Last updated:** [March 21, 2018, 4:12pm UTC](https://forums.unrealengine.com/t/how-can-i-reference-in-blueprint-a-new-spawned-object/420463 "2018-03-21T16:12:42Z")

</div>

I am spawning a new object to appear in the game and i want to know how can i reference that spawned object

---

## [What is the best method to interpolate floats?](https://forums.unrealengine.com/t/what-is-the-best-method-to-interpolate-floats/420405)

<div class="topic-metadata">

**Author:** [@Brylos](https://forums.unrealengine.com/u/Brylos)\
**Replies:** 2\
**Last updated:** [March 21, 2018, 8:08am UTC](https://forums.unrealengine.com/t/what-is-the-best-method-to-interpolate-floats/420405 "2018-03-21T08:08:09Z")

</div>

I’m trying to figure out how I can have smooth transitions from 1 float to another so it adds or subtracts to a certain value to make a smooth transition instead of suddenly changing the value. So what is the best way to…

---

## [Can't get 'Set Actor Active' or 'Hidden in game' to work](https://forums.unrealengine.com/t/cant-get-set-actor-active-or-hidden-in-game-to-work/420093)

<div class="topic-metadata">

**Author:** [@Dorthonion1](https://forums.unrealengine.com/u/Dorthonion1)\
**Replies:** 4\
**Last updated:** [March 18, 2018, 5:18pm UTC](https://forums.unrealengine.com/t/cant-get-set-actor-active-or-hidden-in-game-to-work/420093 "2018-03-18T17:18:49Z")

</div>

Hello all, I have two levels connected. Depending on how the first level is completed, an array of booleans is filled in in a certain way. In my second level, I want the array of booleans to determine which actors are a…

---

## [Fail to build PythonScriptPlugin on Mac](https://forums.unrealengine.com/t/fail-to-build-pythonscriptplugin-on-mac/419889)

<div class="topic-metadata">

**Author:** [@Raziel](https://forums.unrealengine.com/u/Raziel)\
**Replies:** 0\
**Last updated:** [March 15, 2018, 12:58pm UTC](https://forums.unrealengine.com/t/fail-to-build-pythonscriptplugin-on-mac/419889 "2018-03-15T12:58:55Z")

</div>

For some reason UE4Editor-PythonScriptPlugin.dylib consistently fails to build on Mac for me. I’ve had this problem in the previews as well, but usually these kinds of issues get resolved by the time the final release co…

---

## [Best way for associating Weapon and Ammo?](https://forums.unrealengine.com/t/best-way-for-associating-weapon-and-ammo/354471)

<div class="topic-metadata">

**Author:** [@gedamial](https://forums.unrealengine.com/u/gedamial)\
**Replies:** 12\
**Last updated:** [March 15, 2018, 2:10am UTC](https://forums.unrealengine.com/t/best-way-for-associating-weapon-and-ammo/354471 "2018-03-15T02:10:09Z")

</div>

Hello. Currently, my Weapon system is like this: each weapon-derived class has its own field called AMMO and its own enumeration called WeaponType used to identify that weapon in the game. This way, if I want to picku…

---

## [Where are the save slots in packaged projects on Windows?](https://forums.unrealengine.com/t/where-are-the-save-slots-in-packaged-projects-on-windows/299603)

<div class="topic-metadata">

**Author:** [@alperenakyuz](https://forums.unrealengine.com/u/alperenakyuz)\
**Replies:** 5\
**Last updated:** [March 12, 2018, 6:04pm UTC](https://forums.unrealengine.com/t/where-are-the-save-slots-in-packaged-projects-on-windows/299603 "2018-03-12T18:04:43Z")

</div>

Where does UE4 store save files (or slots)? I don’t think they are stored in the game directory (I was able to load saves of a deleted packaged game, so can’t be), but couldn’t find them in my documents either. Anyone k…

---

## [4.16 Arrays don't use default values in a build](https://forums.unrealengine.com/t/4-16-arrays-dont-use-default-values-in-a-build/419641)

<div class="topic-metadata">

**Author:** [@eedobaba](https://forums.unrealengine.com/u/eedobaba)\
**Replies:** 0\
**Last updated:** [March 12, 2018, 5:44pm UTC](https://forums.unrealengine.com/t/4-16-arrays-dont-use-default-values-in-a-build/419641 "2018-03-12T17:44:04Z")

</div>

I’m having trouble with porting my game to 4.16 from 4.14. Everything works fine in editor, but the game seems unable to read some array variables default values when in a build. The game breaks in very obvious ways and …

---

## [Using Save Game functionality with UObjects](https://forums.unrealengine.com/t/using-save-game-functionality-with-uobjects/376088)

<div class="topic-metadata">

**Author:** [@tginick](https://forums.unrealengine.com/u/tginick)\
**Replies:** 2\
**Last updated:** [March 11, 2018, 2:22am UTC](https://forums.unrealengine.com/t/using-save-game-functionality-with-uobjects/376088 "2018-03-11T02:22:36Z")

</div>

I followed the documentation regarding Unreal’s built-in support for save games. I subclassed USaveGame and added some pointers to UObject-derived classes to be serialized. e.g. class UDerivedSaveGame : public USaveGame…

---

## [Multiplayer Data Architecture - Actors and Inventory Items](https://forums.unrealengine.com/t/multiplayer-data-architecture-actors-and-inventory-items/417717)

<div class="topic-metadata">

**Author:** [@Strombonni](https://forums.unrealengine.com/u/Strombonni)\
**Replies:** 5\
**Last updated:** [March 10, 2018, 10:42am UTC](https://forums.unrealengine.com/t/multiplayer-data-architecture-actors-and-inventory-items/417717 "2018-03-10T10:42:23Z")

</div>

For your multiplayer game, when you have an actor in game vs an inventory item, do you just use the same actor class for the inventory item, turning off the collision, visibility, etc? Or do you use a separate item (a st…

---

## [Best way to replicate timeline-changing anim variable?](https://forums.unrealengine.com/t/best-way-to-replicate-timeline-changing-anim-variable/418622)

<div class="topic-metadata">

**Author:** [@Arty-McLabin](https://forums.unrealengine.com/u/Arty-McLabin)\
**Replies:** 2\
**Last updated:** [March 7, 2018, 3:20pm UTC](https://forums.unrealengine.com/t/best-way-to-replicate-timeline-changing-anim-variable/418622 "2018-03-07T15:20:19Z")

</div>

What is the best way to replicate a variable that changes constantly by a timeline? (from client) This variable is vital to animations, therefore updating it by network will result in a rubber lag disgusting effect. O…

---

## [Change a Reference File Path](https://forums.unrealengine.com/t/change-a-reference-file-path/418653)

<div class="topic-metadata">

**Author:** [@Panterath](https://forums.unrealengine.com/u/Panterath)\
**Replies:** 0\
**Last updated:** [March 1, 2018, 6:20am UTC](https://forums.unrealengine.com/t/change-a-reference-file-path/418653 "2018-03-01T06:20:31Z")

</div>

I’m in the process of trying to restructure my files and where each asset is being placed within my project. Here’s my story: I have some assets purchased from the marketplace, and they were kept in its own folder (A). …

---

## [Modify Blueprint Class programmatically in Editor](https://forums.unrealengine.com/t/modify-blueprint-class-programmatically-in-editor/418566)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_5e1c08cc](https://forums.unrealengine.com/u/anonymous_user_5e1c08cc)\
**Replies:** 0\
**Last updated:** [February 28, 2018, 10:35am UTC](https://forums.unrealengine.com/t/modify-blueprint-class-programmatically-in-editor/418566 "2018-02-28T10:35:59Z")

</div>

Hi all, this question is probably more general than the topic suggests. Generally, as used to from other 3d programs/editors, I am missing the ability to automate things in the editor by scripting. In this case, I have…

---

## [Saving game sometimes empties Array](https://forums.unrealengine.com/t/saving-game-sometimes-empties-array/418251)

<div class="topic-metadata">

**Author:** [@DavidM](https://forums.unrealengine.com/u/DavidM)\
**Replies:** 4\
**Last updated:** [February 28, 2018, 12:11am UTC](https://forums.unrealengine.com/t/saving-game-sometimes-empties-array/418251 "2018-02-28T00:11:48Z")

</div>

Trying to fix this for half a day now - it’s super weird. I’m saving all the objects you have picked up in an array in a savegame, so I can delete them upon loading the game, because they have been picked up. Sometimes…

---

## [Get Item By ID](https://forums.unrealengine.com/t/get-item-by-id/418225)

<div class="topic-metadata">

**Author:** [@MythicTy](https://forums.unrealengine.com/u/MythicTy)\
**Replies:** 1\
**Last updated:** [February 24, 2018, 3:37pm UTC](https://forums.unrealengine.com/t/get-item-by-id/418225 "2018-02-24T15:37:33Z")

</div>

Ok, so I want to make an item spawning system to make my life easier than individually placing the items in the world. I have assigned each item a Integer Variable called ID. Every item is a child of my BPMasterItem. I w…

---

## [Getting limited range of rows from data table](https://forums.unrealengine.com/t/getting-limited-range-of-rows-from-data-table/418076)

<div class="topic-metadata">

**Author:** [@Kony](https://forums.unrealengine.com/u/Kony)\
**Replies:** 1\
**Last updated:** [February 22, 2018, 10:34pm UTC](https://forums.unrealengine.com/t/getting-limited-range-of-rows-from-data-table/418076 "2018-02-22T22:34:03Z")

</div>

Hi, I’m wondering how can I limit the range of rows that I want to loop from data table. My BP looks like this. I only want to loop through a limited range of indexes in data table starting from index X to index Y,…

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

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