# Editor Scripting

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

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

**Page:** 95

---

## [use of undefined type (circular dependency)](https://forums.unrealengine.com/t/use-of-undefined-type-circular-dependency/340218)

<div class="topic-metadata">

**Author:** [@Dirt113](https://forums.unrealengine.com/u/Dirt113)\
**Replies:** 1\
**Last updated:** [December 1, 2015, 2:56pm UTC](https://forums.unrealengine.com/t/use-of-undefined-type-circular-dependency/340218 "2015-12-01T14:56:33Z")

</div>

OK guys, so I have 2 classes that inherit from the same class ADHItem ADHUsableItem ADHUsableItemMod Now UsableItem obviously needs references to UsableItemMod because it needs to use them as subitems. And UsableItemM…

---

## [Ios cloud save](https://forums.unrealengine.com/t/ios-cloud-save/340197)

<div class="topic-metadata">

**Author:** [@VrPrimeDev](https://forums.unrealengine.com/u/VrPrimeDev)\
**Replies:** 0\
**Last updated:** [December 1, 2015, 10:15am UTC](https://forums.unrealengine.com/t/ios-cloud-save/340197 "2015-12-01T10:15:36Z")

</div>

Hello, I’m trying to find some pointers on how I can save my game and have it available across devices. From what I understand this can be done by connecting to a social network (gamecenter, facebook, g+), but how can I…

---

## [Make variable to read which door is open](https://forums.unrealengine.com/t/make-variable-to-read-which-door-is-open/340108)

<div class="topic-metadata">

**Author:** [@MoonwareGames](https://forums.unrealengine.com/u/MoonwareGames)\
**Replies:** 1\
**Last updated:** [November 30, 2015, 12:14pm UTC](https://forums.unrealengine.com/t/make-variable-to-read-which-door-is-open/340108 "2015-11-30T12:14:18Z")

</div>

Hey guys, in my projects there are doors which can be open. I did this with a linetrace so the doors can be open. If you look at the doors a widget say which key have to be pressed to interact with that. but my problem…

---

## [How do I set up a few systems for a Hack'n'Slash style RPG](https://forums.unrealengine.com/t/how-do-i-set-up-a-few-systems-for-a-hacknslash-style-rpg/339883)

<div class="topic-metadata">

**Author:** [@Dusk\_Ealain](https://forums.unrealengine.com/u/Dusk_Ealain)\
**Replies:** 2\
**Last updated:** [November 28, 2015, 8:31pm UTC](https://forums.unrealengine.com/t/how-do-i-set-up-a-few-systems-for-a-hacknslash-style-rpg/339883 "2015-11-28T20:31:56Z")

</div>

Alright, I’m working on an RPG/hack’n’slash project, and I want to set up a few systems. An inventory system, used to equip various armour pieces, equipment, etc. A store system within the world Hub to buy said armour …

---

## [4.9.2 USTRUCTs doesn't hot reload. Causes saving and compilation errors](https://forums.unrealengine.com/t/4-9-2-ustructs-doesnt-hot-reload-causes-saving-and-compilation-errors/339788)

<div class="topic-metadata">

**Author:** [@BujakD](https://forums.unrealengine.com/u/BujakD)\
**Replies:** 1\
**Last updated:** [November 27, 2015, 7:23pm UTC](https://forums.unrealengine.com/t/4-9-2-ustructs-doesnt-hot-reload-causes-saving-and-compilation-errors/339788 "2015-11-27T19:23:40Z")

</div>

Hi, repro steps: Create new C++ project out of Blank template, dont add starter content When new project launches and Editor opens go to AddNew-\>New C++ Class. Add new class derived from Actor, name it MyActor O…

---

## [Nullable USTRUCT in Blueprints?](https://forums.unrealengine.com/t/nullable-ustruct-in-blueprints/339675)

<div class="topic-metadata">

**Author:** [@grisevg](https://forums.unrealengine.com/u/grisevg)\
**Replies:** 3\
**Last updated:** [November 25, 2015, 5:29pm UTC](https://forums.unrealengine.com/t/nullable-ustruct-in-blueprints/339675 "2015-11-25T17:29:23Z")

</div>

In my game I store tasks for characters in USTRUCT models (they have to be USTRUCTs to inherit from FTableRowBase). If I need variable task to be nullable in C++ code (e.g. to store a currently active task) I can store …

---

## [Failed to find object](https://forums.unrealengine.com/t/failed-to-find-object/338992)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_66a0fcb6](https://forums.unrealengine.com/u/anonymous_user_66a0fcb6)\
**Replies:** 3\
**Last updated:** [November 24, 2015, 1:35am UTC](https://forums.unrealengine.com/t/failed-to-find-object/338992 "2015-11-24T01:35:24Z")

</div>

Hello, I’m experiencing this warning message each time I run my game. Today I finally managed to track its origin but I’m not sure how to fix it. I have my own custom SaveGame class that has a USTRUCT() variable. Inside…

---

## [Crash on startup after adding variable to struct](https://forums.unrealengine.com/t/crash-on-startup-after-adding-variable-to-struct/338881)

<div class="topic-metadata">

**Author:** [@goldensyrupgames](https://forums.unrealengine.com/u/goldensyrupgames)\
**Replies:** 9\
**Last updated:** [November 23, 2015, 7:44pm UTC](https://forums.unrealengine.com/t/crash-on-startup-after-adding-variable-to-struct/338881 "2015-11-23T19:44:44Z")

</div>

I have a few custom structs in use in my project, referenced in blueprints, parent blueprints and child blueprints. After adding a variable to a struct that was in use, I started noticing startup errors. This could be re…

---

## [Save and load data from HTTP?](https://forums.unrealengine.com/t/save-and-load-data-from-http/339139)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_9a5e8f16](https://forums.unrealengine.com/u/anonymous_user_9a5e8f16)\
**Replies:** 1\
**Last updated:** [November 20, 2015, 2:56pm UTC](https://forums.unrealengine.com/t/save-and-load-data-from-http/339139 "2015-11-20T14:56:55Z")

</div>

Hi there I need to be able to save and load to a file in a FTP server and i know how to do this in VB onside visual studio and i know how to use FPaths to save a string to a file and load it back again in the game but I …

---

## [Post Process Volume Duration?](https://forums.unrealengine.com/t/post-process-volume-duration/339069)

<div class="topic-metadata">

**Author:** [@TorQueMoD](https://forums.unrealengine.com/u/TorQueMoD)\
**Replies:** 2\
**Last updated:** [November 20, 2015, 11:08am UTC](https://forums.unrealengine.com/t/post-process-volume-duration/339069 "2015-11-20T11:08:05Z")

</div>

In UDK Post Process Volumes had a value called “Scene Interpolation Duration” which would allow you to specify a value of time in which the post process effect would fade away when leaving the volume. I can’t find any wa…

---

## [Need help assigning gametime to variable](https://forums.unrealengine.com/t/need-help-assigning-gametime-to-variable/339106)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_effa8ed2](https://forums.unrealengine.com/u/anonymous_user_effa8ed2)\
**Replies:** 2\
**Last updated:** [November 20, 2015, 10:06am UTC](https://forums.unrealengine.com/t/need-help-assigning-gametime-to-variable/339106 "2015-11-20T10:06:23Z")

</div>

Hi guys, I am making a game which is a time based start to finish game. You start at one point and have to run to the end point as fast as you can. I want to display a timer on the screen while you play I want to assi…

---

## [Blueprint's "Get Class Defaults" node not showing everything](https://forums.unrealengine.com/t/blueprints-get-class-defaults-node-not-showing-everything/331727)

<div class="topic-metadata">

**Author:** [@Epixerion](https://forums.unrealengine.com/u/Epixerion)\
**Replies:** 5\
**Last updated:** [November 16, 2015, 1:23pm UTC](https://forums.unrealengine.com/t/blueprints-get-class-defaults-node-not-showing-everything/331727 "2015-11-16T13:23:53Z")

</div>

Hi,I’m trying to use the new blueprint node “Get Class Defaults” But it seem to not show all the variable defined in my c++ class. I have multiple blueprint character extenting a c++ class which containt a UTexture2D no…

---

## [FPS inventory with dedicated slots?](https://forums.unrealengine.com/t/fps-inventory-with-dedicated-slots/337645)

<div class="topic-metadata">

**Author:** [@PainBoy](https://forums.unrealengine.com/u/PainBoy)\
**Replies:** 4\
**Last updated:** [November 15, 2015, 4:34pm UTC](https://forums.unrealengine.com/t/fps-inventory-with-dedicated-slots/337645 "2015-11-15T16:34:44Z")

</div>

Hi, today I tried to programming with blueprint a FPS inventory. I have to confess: I still not understood how the arrays, struct and enums work. instead, make the most of them. I want not only creating an inventory (a…

---

## [ChildActorComponent reference can't be sent to Server](https://forums.unrealengine.com/t/childactorcomponent-reference-cant-be-sent-to-server/337732)

<div class="topic-metadata">

**Author:** [@Genova](https://forums.unrealengine.com/u/Genova)\
**Replies:** 5\
**Last updated:** [November 10, 2015, 10:52pm UTC](https://forums.unrealengine.com/t/childactorcomponent-reference-cant-be-sent-to-server/337732 "2015-11-10T22:52:39Z")

</div>

Hello, I need to be able to pass a ChildActorComponent reference to server (using a Custom Event RunOnServer) when clicking on any actor but when a client click on a ChildActorComponent of a different client, it sends …

---

## [Can't change variable](https://forums.unrealengine.com/t/cant-change-variable/337685)

<div class="topic-metadata">

**Author:** [@NiklasZeroZero](https://forums.unrealengine.com/u/NiklasZeroZero)\
**Replies:** 2\
**Last updated:** [November 9, 2015, 7:08pm UTC](https://forums.unrealengine.com/t/cant-change-variable/337685 "2015-11-09T19:08:12Z")

</div>

Hello, I Want to create a simply gold system, but the gold variable doesen’t change Can anyone help? PS: Sorry for my bad English

---

## [UMG Menu - Level Progess](https://forums.unrealengine.com/t/umg-menu-level-progess/337654)

<div class="topic-metadata">

**Author:** [@Penhoat](https://forums.unrealengine.com/u/Penhoat)\
**Replies:** 7\
**Last updated:** [November 9, 2015, 2:44pm UTC](https://forums.unrealengine.com/t/umg-menu-level-progess/337654 "2015-11-09T14:44:48Z")

</div>

Hello, so I’ve created 15 levels, and I want the player to be able to load a level (say level 5) in the level selection menu, only if he’s finished the level. So locked if he hasn’t finished it yet, open if he’s finishe…

---

## [I have a c++ SaveGame object, but no idea how to call it in C++ or blueprints](https://forums.unrealengine.com/t/i-have-a-c-savegame-object-but-no-idea-how-to-call-it-in-c-or-blueprints/337819)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_d0a34d49](https://forums.unrealengine.com/u/anonymous_user_d0a34d49)\
**Replies:** 4\
**Last updated:** [November 8, 2015, 12:10pm UTC](https://forums.unrealengine.com/t/i-have-a-c-savegame-object-but-no-idea-how-to-call-it-in-c-or-blueprints/337819 "2015-11-08T12:10:39Z")

</div>

I am following the tutorial on how to make a C++ SaveGame object. Everything compiles just fine, but I do not know how to actually call it. I want to learn how to call it in C++ and in blueprints. This is how I am trying…

---

## [My Inventory hitbox/slots are not highlighted when hovered over](https://forums.unrealengine.com/t/my-inventory-hitbox-slots-are-not-highlighted-when-hovered-over/337725)

<div class="topic-metadata">

**Author:** [@Web\_Master](https://forums.unrealengine.com/u/Web_Master)\
**Replies:** 0\
**Last updated:** [November 7, 2015, 4:08am UTC](https://forums.unrealengine.com/t/my-inventory-hitbox-slots-are-not-highlighted-when-hovered-over/337725 "2015-11-07T04:08:47Z")

</div>

Where i got it from: - YouTube im trying to solve an annoying problem where i get to hover a button over but then its not highlighted. if you have seen this tutorial and figured out how to fix it… please tell and expla…

---

## [repnotify inventory host UIslots update to fast](https://forums.unrealengine.com/t/repnotify-inventory-host-uislots-update-to-fast/337700)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_c0e45e77](https://forums.unrealengine.com/u/anonymous_user_c0e45e77)\
**Replies:** 0\
**Last updated:** [November 6, 2015, 10:05pm UTC](https://forums.unrealengine.com/t/repnotify-inventory-host-uislots-update-to-fast/337700 "2015-11-06T22:05:31Z")

</div>

The inventory holding items, wich is controlled by the server is a repnotify array. My idea was that whenever the player loots an item, the server does the looting. And adds the item to the players inventory, wich cause…

---

## [USTRUCT UPROPERTY struct -\> unknown error](https://forums.unrealengine.com/t/ustruct-uproperty-struct-unknown-error/337555)

<div class="topic-metadata">

**Author:** [@AZOM-Games](https://forums.unrealengine.com/u/AZOM-Games)\
**Replies:** 3\
**Last updated:** [November 5, 2015, 11:02pm UTC](https://forums.unrealengine.com/t/ustruct-uproperty-struct-unknown-error/337555 "2015-11-05T23:02:33Z")

</div>

Hi, Why does the UPROPERTY make compile error ? USTRUCT(BlueprintType) struct FPlanet { GENERATED\_USTRUCT\_BODY() UPROPERTY() // \<------------- error code: OtherCompilationError (5) TArray\<FPlanet\> …

---

## [Lost First Person Actors in Viewport and Outliner, Need For References in Blueprints](https://forums.unrealengine.com/t/lost-first-person-actors-in-viewport-and-outliner-need-for-references-in-blueprints/337034)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_de7d4c3e1](https://forums.unrealengine.com/u/anonymous_user_de7d4c3e1)\
**Replies:** 5\
**Last updated:** [November 1, 2015, 11:11pm UTC](https://forums.unrealengine.com/t/lost-first-person-actors-in-viewport-and-outliner-need-for-references-in-blueprints/337034 "2015-11-01T23:11:40Z")

</div>

So all of the character and player references to the game start, cameras and such, have disappeared in my outliner and view port. The only part I can see and manipulate is the player start, but even the icon for it was r…

---

## [Clamp](https://forums.unrealengine.com/t/clamp/337079)

<div class="topic-metadata">

**Author:** [@nmm131](https://forums.unrealengine.com/u/nmm131)\
**Replies:** 3\
**Last updated:** [October 31, 2015, 8:02pm UTC](https://forums.unrealengine.com/t/clamp/337079 "2015-10-31T20:02:54Z")

</div>

Easiest way would be a branch node. Check whether the distance is greater than your variable, and if it is, set it to equal to the current distance, if not, do nothing.

---

## [Find an item in a structure array only by one variable](https://forums.unrealengine.com/t/find-an-item-in-a-structure-array-only-by-one-variable/337039)

<div class="topic-metadata">

**Author:** [@Taratus](https://forums.unrealengine.com/u/Taratus)\
**Replies:** 2\
**Last updated:** [October 31, 2015, 4:08pm UTC](https://forums.unrealengine.com/t/find-an-item-in-a-structure-array-only-by-one-variable/337039 "2015-10-31T16:08:40Z")

</div>

Hello can you show me with a image how to use find item (and for loop) to get an item index?

---

## [Make array from the break hit location of a 4x sphere trace](https://forums.unrealengine.com/t/make-array-from-the-break-hit-location-of-a-4x-sphere-trace/336864)

<div class="topic-metadata">

**Author:** [@Luftbauch](https://forums.unrealengine.com/u/Luftbauch)\
**Replies:** 1\
**Last updated:** [October 29, 2015, 12:50pm UTC](https://forums.unrealengine.com/t/make-array-from-the-break-hit-location-of-a-4x-sphere-trace/336864 "2015-10-29T12:50:36Z")

</div>

I have a sphere trace setup with four traces(working), how can i store the location from the break hit result to use the four different locations, to get the location/impact point and emitt something at the four location…

---

## [Save Game Overwrite on Title Update Android](https://forums.unrealengine.com/t/save-game-overwrite-on-title-update-android/299510)

<div class="topic-metadata">

**Author:** [@spaceharry](https://forums.unrealengine.com/u/spaceharry)\
**Replies:** 2\
**Last updated:** [October 28, 2015, 10:03am UTC](https://forums.unrealengine.com/t/save-game-overwrite-on-title-update-android/299510 "2015-10-28T10:03:10Z")

</div>

Hi I am wondering when I release a title for in the google play store and I have the save game integrated in the level blueprints, will a title update overwrite the players current progress? By title update I mean if I…

---

## [Camera References within Game Mode Blueprint](https://forums.unrealengine.com/t/camera-references-within-game-mode-blueprint/336649)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_2dca6733](https://forums.unrealengine.com/u/anonymous_user_2dca6733)\
**Replies:** 0\
**Last updated:** [October 27, 2015, 1:03pm UTC](https://forums.unrealengine.com/t/camera-references-within-game-mode-blueprint/336649 "2015-10-27T13:03:55Z")

</div>

Brief background: For other pieces of coding needed within my game I have been forced to change the camera code location to be within the GameMode blueprint which means I cannot use direct level references like I was usi…

---

## [How can I Calculate Interp Finish?](https://forums.unrealengine.com/t/how-can-i-calculate-interp-finish/286115)

<div class="topic-metadata">

**Author:** [@Komahz](https://forums.unrealengine.com/u/Komahz)\
**Replies:** 2\
**Last updated:** [October 23, 2015, 2:12pm UTC](https://forums.unrealengine.com/t/how-can-i-calculate-interp-finish/286115 "2015-10-23T14:12:16Z")

</div>

I’m trying to create a free look view like arma, this mean that when i press a button my camera can turn around me just to see left/right/up/down. Now i have 3 booleans that tells me if freelook is active: ACTIVE / UNAC…

---

## [Array - Blueprint](https://forums.unrealengine.com/t/array-blueprint/336190)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_76f0419a1](https://forums.unrealengine.com/u/anonymous_user_76f0419a1)\
**Replies:** 1\
**Last updated:** [October 23, 2015, 11:18am UTC](https://forums.unrealengine.com/t/array-blueprint/336190 "2015-10-23T11:18:39Z")

</div>

Hi, I’m having a problem with a Blueprint class that I have an array of another Blueprint Class…Example: I have Music and Sound. Inside Music I have an array of Sound, but when I try to add a sound to Sound Array insid…

---

## [How Do I Set A Variable Reference To A Player For Use In Coding AI](https://forums.unrealengine.com/t/how-do-i-set-a-variable-reference-to-a-player-for-use-in-coding-ai/335865)

<div class="topic-metadata">

**Author:** [@Vopraan](https://forums.unrealengine.com/u/Vopraan)\
**Replies:** 1\
**Last updated:** [October 22, 2015, 8:56am UTC](https://forums.unrealengine.com/t/how-do-i-set-a-variable-reference-to-a-player-for-use-in-coding-ai/335865 "2015-10-22T08:56:52Z")

</div>

I am starting to work on AI in my game and I can’t figure out how to make the enemy AI fire the projectile at the player when it sees the player. It works fine for the server but the AI completely ignores the client. How…

---

## [Storing spawned actors in array and destroying INDIVIDUAL actors when overlapping w/object](https://forums.unrealengine.com/t/storing-spawned-actors-in-array-and-destroying-individual-actors-when-overlapping-w-object/336088)

<div class="topic-metadata">

**Author:** [@DarthNyara](https://forums.unrealengine.com/u/DarthNyara)\
**Replies:** 0\
**Last updated:** [October 22, 2015, 4:47am UTC](https://forums.unrealengine.com/t/storing-spawned-actors-in-array-and-destroying-individual-actors-when-overlapping-w-object/336088 "2015-10-22T04:47:00Z")

</div>

I’m currently spawning 5 Zombie Actors into my level that are moving to a specific location on the map. The goal is to destroy each individual zombie when they arrive to their predetermined destination. After all 5 zombi…

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

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