# Editor Scripting

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

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

**Page:** 80

---

## [Strange blueprint struct names in C++ code (Blueprint and C++ structs differs)](https://forums.unrealengine.com/t/strange-blueprint-struct-names-in-c-code-blueprint-and-c-structs-differs/359483)

<div class="topic-metadata">

**Author:** [@broly](https://forums.unrealengine.com/u/broly)\
**Replies:** 2\
**Last updated:** [September 11, 2017, 8:43am UTC](https://forums.unrealengine.com/t/strange-blueprint-struct-names-in-c-code-blueprint-and-c-structs-differs/359483 "2017-09-11T08:43:22Z")

</div>

I passed blueprint structure to my method. I need to get all defined names of properties in this struct, so I’m iterating with TFieldIterator by this structure, and as I see all property names has a little strange names,…

---

## [How do I add an item to my inventory with a UMG button click?](https://forums.unrealengine.com/t/how-do-i-add-an-item-to-my-inventory-with-a-umg-button-click/404035)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_f3b19dce1](https://forums.unrealengine.com/u/anonymous_user_f3b19dce1)\
**Replies:** 2\
**Last updated:** [September 7, 2017, 9:03pm UTC](https://forums.unrealengine.com/t/how-do-i-add-an-item-to-my-inventory-with-a-umg-button-click/404035 "2017-09-07T21:03:17Z")

</div>

I’m making a click based project and I’m trying to add an item to an array with a UMG button click. I have watched many tutorials but the only ones I can find involve ray trace or overlap events. Because I don’t have a p…

---

## [InterpToMovement component loses velocity when character steps on top](https://forums.unrealengine.com/t/interptomovement-component-loses-velocity-when-character-steps-on-top/403836)

<div class="topic-metadata">

**Author:** [@HeavyBullets](https://forums.unrealengine.com/u/HeavyBullets)\
**Replies:** 0\
**Last updated:** [September 6, 2017, 12:58am UTC](https://forums.unrealengine.com/t/interptomovement-component-loses-velocity-when-character-steps-on-top/403836 "2017-09-06T00:58:23Z")

</div>

Hey guys, just a quick help here I’m trying to create an elevator, that goes up or down periodically… with InterpToMovement it works easily… but when the character steps on the elevator there is a big drop on upward vel…

---

## [There is any way to do a SLERP between two FVectors?](https://forums.unrealengine.com/t/there-is-any-way-to-do-a-slerp-between-two-fvectors/381560)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_acd6307b1](https://forums.unrealengine.com/u/anonymous_user_acd6307b1)\
**Replies:** 5\
**Last updated:** [September 5, 2017, 2:24pm UTC](https://forums.unrealengine.com/t/there-is-any-way-to-do-a-slerp-between-two-fvectors/381560 "2017-09-05T14:24:07Z")

</div>

I’m trying to do a smooth movement of an actor who orbit a pivot and I’m not found any solution of Slerp function for FVectors. In Unity Engine I use Vector3.Slerp ( Vector3 is similar to FVector) but in UE i just foun…

---

## [Pickable items; Editor vs Savegame](https://forums.unrealengine.com/t/pickable-items-editor-vs-savegame/403687)

<div class="topic-metadata">

**Author:** [@Marcello](https://forums.unrealengine.com/u/Marcello)\
**Replies:** 0\
**Last updated:** [September 4, 2017, 10:25am UTC](https://forums.unrealengine.com/t/pickable-items-editor-vs-savegame/403687 "2017-09-04T10:25:03Z")

</div>

Hi there I’m quite new to Unreal so pardon me if that might be a stupid question. I have several pickable items within my level that I would like to place directly within the editor. But I would like those items to be j…

---

## [UMG Structure References do not update after project migration](https://forums.unrealengine.com/t/umg-structure-references-do-not-update-after-project-migration/400639)

<div class="topic-metadata">

**Author:** [@unit23](https://forums.unrealengine.com/u/unit23)\
**Replies:** 2\
**Last updated:** [September 1, 2017, 5:38pm UTC](https://forums.unrealengine.com/t/umg-structure-references-do-not-update-after-project-migration/400639 "2017-09-01T17:38:30Z")

</div>

If you migrate UMG widgets to another project, related UMG structure references are not updated, which is understandable, but they should break at least. However, UMG structure references-bindings do not break their outd…

---

## [Widget Reference through the server](https://forums.unrealengine.com/t/widget-reference-through-the-server/403326)

<div class="topic-metadata">

**Author:** [@RyzonPT](https://forums.unrealengine.com/u/RyzonPT)\
**Replies:** 1\
**Last updated:** [August 31, 2017, 7:55pm UTC](https://forums.unrealengine.com/t/widget-reference-through-the-server/403326 "2017-08-31T19:55:05Z")

</div>

Hello every1, Im posting this question cuz im having some problems with replicated variable when it comes to widgets. I know widgets do not replicate but i just want to pass some reference about a certain widget through…

---

## [How does one make use of the InterpToMovementComponent?](https://forums.unrealengine.com/t/how-does-one-make-use-of-the-interptomovementcomponent/335737)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_6dbe8be9](https://forums.unrealengine.com/u/anonymous_user_6dbe8be9)\
**Replies:** 1\
**Last updated:** [August 31, 2017, 1:07pm UTC](https://forums.unrealengine.com/t/how-does-one-make-use-of-the-interptomovementcomponent/335737 "2017-08-31T13:07:14Z")

</div>

Question says it all; does anyone know how to make use of this component in C++? I haven’t been able to get it to do anything useful. I’ve tried looking at the documentation and the header file and playing around with …

---

## [UnrealBuildTool API Reference?](https://forums.unrealengine.com/t/unrealbuildtool-api-reference/376283)

<div class="topic-metadata">

**Author:** [@Hayaweh](https://forums.unrealengine.com/u/Hayaweh)\
**Replies:** 6\
**Last updated:** [August 29, 2017, 6:29pm UTC](https://forums.unrealengine.com/t/unrealbuildtool-api-reference/376283 "2017-08-29T18:29:48Z")

</div>

Hi, I am not sure the category is correct but whatever… Is there any place where I could find programming references when writing .Build.cs files? Or any way to get auto-completion to work in them? Because it’s a bit…

---

## [USTRUCT properties with UPROPERTY vanished?](https://forums.unrealengine.com/t/ustruct-properties-with-uproperty-vanished/344666)

<div class="topic-metadata">

**Author:** [@MiDri](https://forums.unrealengine.com/u/MiDri)\
**Replies:** 2\
**Last updated:** [August 29, 2017, 4:41pm UTC](https://forums.unrealengine.com/t/ustruct-properties-with-uproperty-vanished/344666 "2017-08-29T16:41:56Z")

</div>

So I have this code: USTRUCT(blueprintable) struct FTileSystemTilePartState { GENERATED\_USTRUCT\_BODY() public: UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Tile System") TSubclassOf\<ATileSystemBaseTilePart\>…

---

## [Loading save from slot crashes after player\_character death](https://forums.unrealengine.com/t/loading-save-from-slot-crashes-after-player_character-death/403133)

<div class="topic-metadata">

**Author:** [@Zach\_Augustine](https://forums.unrealengine.com/u/Zach_Augustine)\
**Replies:** 0\
**Last updated:** [August 29, 2017, 12:52am UTC](https://forums.unrealengine.com/t/loading-save-from-slot-crashes-after-player_character-death/403133 "2017-08-29T00:52:49Z")

</div>

Hello there, I’m using UE 4.10 for my project. We’re creating a playable demo for our game and I am trying to implement a checkpoint system into our demo level. I have a working save system that saves a few player stat…

---

## [SaveGame Data with refrences](https://forums.unrealengine.com/t/savegame-data-with-refrences/402939)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_08787d181](https://forums.unrealengine.com/u/anonymous_user_08787d181)\
**Replies:** 3\
**Last updated:** [August 26, 2017, 10:51pm UTC](https://forums.unrealengine.com/t/savegame-data-with-refrences/402939 "2017-08-26T22:51:05Z")

</div>

I have a SaveGame object. That object contains an array of UObject type variables (Blue print). I would like to Save and Load my SaveGame Object, using SaveGameToSlot (etc) and re load it. It seems by default that Refr…

---

## [How do you reference actors within a character blueprint](https://forums.unrealengine.com/t/how-do-you-reference-actors-within-a-character-blueprint/298343)

<div class="topic-metadata">

**Author:** [@Mint92\_1](https://forums.unrealengine.com/u/Mint92_1)\
**Replies:** 6\
**Last updated:** [August 24, 2017, 6:58pm UTC](https://forums.unrealengine.com/t/how-do-you-reference-actors-within-a-character-blueprint/298343 "2017-08-24T18:58:41Z")

</div>

is there a way of referencing objects in the world and referencing them in the character blueprint?

---

## [Trying to spawn after all objects are gone](https://forums.unrealengine.com/t/trying-to-spawn-after-all-objects-are-gone/402701)

<div class="topic-metadata">

**Author:** [@Neil\_London](https://forums.unrealengine.com/u/Neil_London)\
**Replies:** 2\
**Last updated:** [August 24, 2017, 7:50am UTC](https://forums.unrealengine.com/t/trying-to-spawn-after-all-objects-are-gone/402701 "2017-08-24T07:50:09Z")

</div>

I’ve been at this for a few days now. I’m creating a pinball game and want a multi ball feature. Basically after you hit a multiplier number, in my case x3, it spawns an extra ball into play so you have 2 balls on the ta…

---

## [How to make an add array elements public variable](https://forums.unrealengine.com/t/how-to-make-an-add-array-elements-public-variable/401538)

<div class="topic-metadata">

**Author:** [@Architect3D](https://forums.unrealengine.com/u/Architect3D)\
**Replies:** 1\
**Last updated:** [August 22, 2017, 8:26pm UTC](https://forums.unrealengine.com/t/how-to-make-an-add-array-elements-public-variable/401538 "2017-08-22T20:26:17Z")

</div>

Hi, I’m having trouble getting the interptomovment blueprint component to expose the add controls points array element as a public variable. Ive included a screenshot of the current blueprint code and how it looks publi…

---

## [Blueprint: Putting a Tickbox next to a Variable in Details Panel](https://forums.unrealengine.com/t/blueprint-putting-a-tickbox-next-to-a-variable-in-details-panel/363601)

<div class="topic-metadata">

**Author:** [@pdcsky](https://forums.unrealengine.com/u/pdcsky)\
**Replies:** 1\
**Last updated:** [August 22, 2017, 4:00pm UTC](https://forums.unrealengine.com/t/blueprint-putting-a-tickbox-next-to-a-variable-in-details-panel/363601 "2017-08-22T16:00:08Z")

</div>

I’m trying to create a neat interface for controlling a clock. I have Both Hands Rotating at Random (True/False) Manual Control Long Hand (Float) Manual Control Short Hand (Float) Is it possible to put a tickbox on “…

---

## [Using 'save / load game' to remember inventory items](https://forums.unrealengine.com/t/using-save-load-game-to-remember-inventory-items/348830)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_23522bd31](https://forums.unrealengine.com/u/anonymous_user_23522bd31)\
**Replies:** 7\
**Last updated:** [August 22, 2017, 11:02am UTC](https://forums.unrealengine.com/t/using-save-load-game-to-remember-inventory-items/348830 "2017-08-22T11:02:12Z")

</div>

Hello, I have used the Unreal Engine tutorial on YouTube to create an inventory system. My question is: How can I get items that the player has picked up to save upon quitting the game, opening it back up and then loadi…

---

## [Move and Rotate simultaneously with interpolation](https://forums.unrealengine.com/t/move-and-rotate-simultaneously-with-interpolation/402262)

<div class="topic-metadata">

**Author:** [@Floating\_Orb](https://forums.unrealengine.com/u/Floating_Orb)\
**Replies:** 0\
**Last updated:** [August 19, 2017, 10:43am UTC](https://forums.unrealengine.com/t/move-and-rotate-simultaneously-with-interpolation/402262 "2017-08-19T10:43:56Z")

</div>

I am trying to move and rotate my character towards an item at the same time with interpolation, but it seems like only one can work at a time. Am I setting the interpolation up wrong, or is it not possible to have two i…

---

## [Struct & Array Pins Disconnect After Saving & Reloading Project!](https://forums.unrealengine.com/t/struct-array-pins-disconnect-after-saving-reloading-project/367472)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_e317d48f](https://forums.unrealengine.com/u/anonymous_user_e317d48f)\
**Replies:** 10\
**Last updated:** [August 18, 2017, 5:38pm UTC](https://forums.unrealengine.com/t/struct-array-pins-disconnect-after-saving-reloading-project/367472 "2017-08-18T17:38:52Z")

</div>

I’m following a great Inventory Tutorial online in which we’re using 2 Structs and 2 Arrays - Simple! https://www…com/watch?v=2Ot5udsHFVw - The 1st of 6 in this series of videos Everything fires off perfectly, but when…

---

## [Saving a variable from construction script?](https://forums.unrealengine.com/t/saving-a-variable-from-construction-script/401792)

<div class="topic-metadata">

**Author:** [@Tokodboy](https://forums.unrealengine.com/u/Tokodboy)\
**Replies:** 2\
**Last updated:** [August 17, 2017, 5:25am UTC](https://forums.unrealengine.com/t/saving-a-variable-from-construction-script/401792 "2017-08-17T05:25:23Z")

</div>

Hello Tokodboy, You can use the game instance to do this. I answered another very similar question earlier. That was a variable with a single value but with an array is practically the same method: If you have troubl…

---

## [Updating/changing a parent class in any way crashes the engine.](https://forums.unrealengine.com/t/updating-changing-a-parent-class-in-any-way-crashes-the-engine/402012)

<div class="topic-metadata">

**Author:** [@Katulobotomia](https://forums.unrealengine.com/u/Katulobotomia)\
**Replies:** 0\
**Last updated:** [August 15, 2017, 11:39pm UTC](https://forums.unrealengine.com/t/updating-changing-a-parent-class-in-any-way-crashes-the-engine/402012 "2017-08-15T23:39:37Z")

</div>

I’m trying to modify an object’s parent class in blueprints. However if I try to change the parent class in any way it crashes the engine as soon as I compile the child class. Parent class compiles fine, but as soon as I…

---

## [Can't get new variable to reference from another level within the project](https://forums.unrealengine.com/t/cant-get-new-variable-to-reference-from-another-level-within-the-project/401940)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_89b2f182](https://forums.unrealengine.com/u/anonymous_user_89b2f182)\
**Replies:** 2\
**Last updated:** [August 14, 2017, 10:41am UTC](https://forums.unrealengine.com/t/cant-get-new-variable-to-reference-from-another-level-within-the-project/401940 "2017-08-14T10:41:51Z")

</div>

I think what you need to do is in your persistent level, click on the ‘Room Manager’ Actor so it is selected, then go into the level blueprint, right click and say ‘Create reference to Room Manager’. Then try using that …

---

## [Reference skeleton of a blueprint within a blueprint from another blueprint?](https://forums.unrealengine.com/t/reference-skeleton-of-a-blueprint-within-a-blueprint-from-another-blueprint/401579)

<div class="topic-metadata">

**Author:** [@Geosmith\_Tech](https://forums.unrealengine.com/u/Geosmith_Tech)\
**Replies:** 1\
**Last updated:** [August 12, 2017, 5:00pm UTC](https://forums.unrealengine.com/t/reference-skeleton-of-a-blueprint-within-a-blueprint-from-another-blueprint/401579 "2017-08-12T17:00:35Z")

</div>

I have a weapon blueprint that contains a skeletal mesh as a child of my character. I can’t seem to reference this skeletal mesh from another animation blueprint in any sequence of nodes. BP\_Weapon - My weapon blueprint…

---

## [Local variable of type struct array resets default values on editor restart](https://forums.unrealengine.com/t/local-variable-of-type-struct-array-resets-default-values-on-editor-restart/398168)

<div class="topic-metadata">

**Author:** [@Spoondog](https://forums.unrealengine.com/u/Spoondog)\
**Replies:** 1\
**Last updated:** [August 11, 2017, 1:24pm UTC](https://forums.unrealengine.com/t/local-variable-of-type-struct-array-resets-default-values-on-editor-restart/398168 "2017-08-11T13:24:15Z")

</div>

If you have a local BP variable that is an array of structs, and you pre-fill that array with some default values (and compile/save), those values will be gone after you restart the editor. This only happens with local v…

---

## [const float not allowed in USTRUCT ?](https://forums.unrealengine.com/t/const-float-not-allowed-in-ustruct/401463)

<div class="topic-metadata">

**Author:** [@Firefly74](https://forums.unrealengine.com/u/Firefly74)\
**Replies:** 0\
**Last updated:** [August 10, 2017, 1:08pm UTC](https://forums.unrealengine.com/t/const-float-not-allowed-in-ustruct/401463 "2017-08-10T13:08:43Z")

</div>

not sure if it’s a bug or a normal thing, but this code won’t compile while removing the const keyword will compile fine. any explanation ? USTRUCT() struct FDamageFeedbackItem { FDamageFeedbackItem() { Remaining…

---

## [How do I make an array based on all actors with a specific tag?](https://forums.unrealengine.com/t/how-do-i-make-an-array-based-on-all-actors-with-a-specific-tag/401256)

<div class="topic-metadata">

**Author:** [@Dashling](https://forums.unrealengine.com/u/Dashling)\
**Replies:** 1\
**Last updated:** [August 7, 2017, 9:50pm UTC](https://forums.unrealengine.com/t/how-do-i-make-an-array-based-on-all-actors-with-a-specific-tag/401256 "2017-08-07T21:50:32Z")

</div>

---

## [Using a string in unreal](https://forums.unrealengine.com/t/using-a-string-in-unreal/398316)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_90f5c413](https://forums.unrealengine.com/u/anonymous_user_90f5c413)\
**Replies:** 1\
**Last updated:** [August 5, 2017, 9:49pm UTC](https://forums.unrealengine.com/t/using-a-string-in-unreal/398316 "2017-08-05T21:49:47Z")

</div>

I am trying to add something so that the player can name themselves and a few other things whatever they like. However, Visual Studio is not recognizing the type string, even after I have added #include . I also cannot u…

---

## [\[Bug\] Function input as variable: changing input name / type does not propagate to references](https://forums.unrealengine.com/t/bug-function-input-as-variable-changing-input-name-type-does-not-propagate-to-references/401131)

<div class="topic-metadata">

**Author:** [@Cpt.Trips](https://forums.unrealengine.com/u/Cpt.Trips)\
**Replies:** 2\
**Last updated:** [August 5, 2017, 1:24am UTC](https://forums.unrealengine.com/t/bug-function-input-as-variable-changing-input-name-type-does-not-propagate-to-references/401131 "2017-08-05T01:24:09Z")

</div>

UE4 introduced the ability to use function inputs as variables (“Function inputs are now exposed as variable “Get” nodes via the right-click context menu in a Blueprint function graph context.”). Unfortunately, when you…

---

## [Is there a way to make a coin save that it had been collected?](https://forums.unrealengine.com/t/is-there-a-way-to-make-a-coin-save-that-it-had-been-collected/398126)

<div class="topic-metadata">

**Author:** [@Rycer76](https://forums.unrealengine.com/u/Rycer76)\
**Replies:** 10\
**Last updated:** [August 3, 2017, 8:49pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-make-a-coin-save-that-it-had-been-collected/398126 "2017-08-03T20:49:23Z")

</div>

And when I restart a level, then it wouldn’t appear?

---

## [Forward declaration issue with UPROPERTY](https://forums.unrealengine.com/t/forward-declaration-issue-with-uproperty/401097)

<div class="topic-metadata">

**Author:** [@YZMAAMZY](https://forums.unrealengine.com/u/YZMAAMZY)\
**Replies:** 0\
**Last updated:** [August 3, 2017, 3:28pm UTC](https://forums.unrealengine.com/t/forward-declaration-issue-with-uproperty/401097 "2017-08-03T15:28:55Z")

</div>

USTRUCT(BlueprintType) struct FRTSPlayer { GENERATED\_USTRUCT\_BODY() ... // own units UPROPERTY() FRTSUnitManager RTSUnitManager; ... }; USTRUCT() struct FRTSUnitManager { GENERATED\_USTRUCT\_BODY() …

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

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