# Editor Scripting

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

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

**Page:** 101

---

## [Arrays - n Dimensions](https://forums.unrealengine.com/t/arrays-n-dimensions/316422)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_99380c5d](https://forums.unrealengine.com/u/anonymous_user_99380c5d)\
**Replies:** 4\
**Last updated:** [April 26, 2015, 1:10am UTC](https://forums.unrealengine.com/t/arrays-n-dimensions/316422 "2015-04-26T01:10:41Z")

</div>

Hi All (: I would like to build something like this : A multi dimensional array : NEEDS Hunger / Health / Thirst For hunger, print one of those : I am hungry / Do you have anything to eat / My stomach hurts For …

---

## [UE4 Inventory Tutorial Issues](https://forums.unrealengine.com/t/ue4-inventory-tutorial-issues/316287)

<div class="topic-metadata">

**Author:** [@knuttyni](https://forums.unrealengine.com/u/knuttyni)\
**Replies:** 0\
**Last updated:** [April 24, 2015, 7:04pm UTC](https://forums.unrealengine.com/t/ue4-inventory-tutorial-issues/316287 "2015-04-24T19:04:44Z")

</div>

I am using UE 4.5 and I have re-watched the tutorial videos several times and I’m still having problems with my inventory system. The pickup text doesn’t appear When I press ‘i’ the inventory text shows but no slots or…

---

## [Can a USTRUCT be made through the class wizard?](https://forums.unrealengine.com/t/can-a-ustruct-be-made-through-the-class-wizard/316277)

<div class="topic-metadata">

**Author:** [@Thumper](https://forums.unrealengine.com/u/Thumper)\
**Replies:** 2\
**Last updated:** [April 24, 2015, 5:57pm UTC](https://forums.unrealengine.com/t/can-a-ustruct-be-made-through-the-class-wizard/316277 "2015-04-24T17:57:17Z")

</div>

I’ve been looking into them today and I’ve come across multiple listings for how to use them and yet I can’t get them to work. I get that they’re not like a normal struct. Can I declare USTRUCT within another classes h…

---

## [How do I use my MySQL Database to save a players inventory?](https://forums.unrealengine.com/t/how-do-i-use-my-mysql-database-to-save-a-players-inventory/282822)

<div class="topic-metadata">

**Author:** [@SugarFreek](https://forums.unrealengine.com/u/SugarFreek)\
**Replies:** 3\
**Last updated:** [April 24, 2015, 2:53pm UTC](https://forums.unrealengine.com/t/how-do-i-use-my-mysql-database-to-save-a-players-inventory/282822 "2015-04-24T14:53:13Z")

</div>

Hello, I am looking to use the MySQL database to save players’ inventory items when they log off, but I am not quite sure how to do that in Unreal Engine 4. Do I have to own servers? Is there some sort of programming re…

---

## [Variable value is different in parent and child](https://forums.unrealengine.com/t/variable-value-is-different-in-parent-and-child/315983)

<div class="topic-metadata">

**Author:** [@ZoltanE](https://forums.unrealengine.com/u/ZoltanE)\
**Replies:** 3\
**Last updated:** [April 23, 2015, 2:05pm UTC](https://forums.unrealengine.com/t/variable-value-is-different-in-parent-and-child/315983 "2015-04-23T14:05:14Z")

</div>

I have a BP class where I defined a boolean variable. I check that variable every tick while a child class checks it too in its tick: (Child class at the top, the parent’s tick is at the bottom.) However as you can …

---

## [My hotbars don't display hover overlay when mouseover is true.](https://forums.unrealengine.com/t/my-hotbars-dont-display-hover-overlay-when-mouseover-is-true/315657)

<div class="topic-metadata">

**Author:** [@41yards\_1](https://forums.unrealengine.com/u/41yards_1)\
**Replies:** 0\
**Last updated:** [April 20, 2015, 12:28am UTC](https://forums.unrealengine.com/t/my-hotbars-dont-display-hover-overlay-when-mouseover-is-true/315657 "2015-04-20T00:28:46Z")

</div>

Hey Guys, I am having issues with the hotbars in the inventory tutorial made by Savai, I last finished episode 7, where you highlight the changes you made to the drawhotbars function and others. When I mouse over the ho…

---

## [Crash when accessing UPROPERTY() member of USTRUCT()](https://forums.unrealengine.com/t/crash-when-accessing-uproperty-member-of-ustruct/315203)

<div class="topic-metadata">

**Author:** [@AlonzoMachiraju](https://forums.unrealengine.com/u/AlonzoMachiraju)\
**Replies:** 2\
**Last updated:** [April 17, 2015, 6:59pm UTC](https://forums.unrealengine.com/t/crash-when-accessing-uproperty-member-of-ustruct/315203 "2015-04-17T18:59:11Z")

</div>

I have a USTRUCT() declared like so in Weapon.h: USTRUCT() struct FWeaponData { GENERATED\_USTRUCT\_BODY() ... UPROPERTY(EditDefaultsOnly, Category = Config) int32 Priority; }; As well as a refe…

---

## [Saving and Settings not working? & Can't set text properties of combo box?](https://forums.unrealengine.com/t/saving-and-settings-not-working-cant-set-text-properties-of-combo-box/314666)

<div class="topic-metadata">

**Author:** [@Oscar\_Cooke-Abbott](https://forums.unrealengine.com/u/Oscar_Cooke-Abbott)\
**Replies:** 2\
**Last updated:** [April 17, 2015, 5:36pm UTC](https://forums.unrealengine.com/t/saving-and-settings-not-working-cant-set-text-properties-of-combo-box/314666 "2015-04-17T17:36:11Z")

</div>

While working on a currently simple settings menu I have encountered an infuriatingly unexplainable issue where while changing the settings while playing it works fine, and saving seems to work, however when loading the …

---

## [variable command line execute](https://forums.unrealengine.com/t/variable-command-line-execute/300119)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_95bf9f7e1](https://forums.unrealengine.com/u/anonymous_user_95bf9f7e1)\
**Replies:** 8\
**Last updated:** [April 16, 2015, 10:54pm UTC](https://forums.unrealengine.com/t/variable-command-line-execute/300119 "2015-04-16T22:54:48Z")

</div>

hey i need to create a way for a slider from a ui to variate a number on the end of a command line command such as this r.ScreenPercentage (1-100) based on where the slider position is and how to change a buttons colo…

---

## [Material instance parameters are missing (maybe optimized away?)](https://forums.unrealengine.com/t/material-instance-parameters-are-missing-maybe-optimized-away/315344)

<div class="topic-metadata">

**Author:** [@Grogger](https://forums.unrealengine.com/u/Grogger)\
**Replies:** 0\
**Last updated:** [April 16, 2015, 9:46pm UTC](https://forums.unrealengine.com/t/material-instance-parameters-are-missing-maybe-optimized-away/315344 "2015-04-16T21:46:53Z")

</div>

I am trying to use the Interpolate Material Instance Params node in Blueprint and it works, but some of the parameters are not being changed. Both material instances derive from the same base material, though I believe …

---

## ["VInterp to" works only on static meshes surfaces !](https://forums.unrealengine.com/t/vinterp-to-works-only-on-static-meshes-surfaces/281793)

<div class="topic-metadata">

**Author:** [@HoOz](https://forums.unrealengine.com/u/HoOz)\
**Replies:** 3\
**Last updated:** [April 16, 2015, 3:18am UTC](https://forums.unrealengine.com/t/vinterp-to-works-only-on-static-meshes-surfaces/281793 "2015-04-16T03:18:27Z")

</div>

I’m testing VInterp blueprint function, but it turned out for me that it doesn’t work on any blueprint component. let me point this out: Take any of those shapes in shapes folder, lets say shape\_cube. Make a blueprint…

---

## [Blueprints for "ThirdPersonCharacter" Not found](https://forums.unrealengine.com/t/blueprints-for-thirdpersoncharacter-not-found/315025)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_1086f6781](https://forums.unrealengine.com/u/anonymous_user_1086f6781)\
**Replies:** 1\
**Last updated:** [April 14, 2015, 5:43pm UTC](https://forums.unrealengine.com/t/blueprints-for-thirdpersoncharacter-not-found/315025 "2015-04-14T17:43:09Z")

</div>

I am trying to make an AI with the third person character mesh/animation, but when I’m in the level blue prints, I can’t add reference to the “BasicAI” ( The copy I’ve created of the third person character)… The tutoria…

---

## [How and where do I create Structures?](https://forums.unrealengine.com/t/how-and-where-do-i-create-structures/293035)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_eff7e9b7](https://forums.unrealengine.com/u/anonymous_user_eff7e9b7)\
**Replies:** 7\
**Last updated:** [April 14, 2015, 12:03am UTC](https://forums.unrealengine.com/t/how-and-where-do-i-create-structures/293035 "2015-04-14T00:03:06Z")

</div>

Hi, I was reading about Structures and USTRUCT() and all makes sense but I just couldn’t find it anywhere on where and how to declare them. Is the structure created in a separate dedicated .h file or can I just create…

---

## [Angular damping (Rotation) for single axis?](https://forums.unrealengine.com/t/angular-damping-rotation-for-single-axis/314546)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_2701b401](https://forums.unrealengine.com/u/anonymous_user_2701b401)\
**Replies:** 3\
**Last updated:** [April 11, 2015, 11:40am UTC](https://forums.unrealengine.com/t/angular-damping-rotation-for-single-axis/314546 "2015-04-11T11:40:59Z")

</div>

My mesh is using the BP “Set Angular Damping.” But I need the BP to apply only for one axis. The only float however is ‘InDamping’ for the strength of the damping effect. How do I apply damping to only one axis? Should I…

---

## [UE474 Blueprint Can only make boolean variables crash](https://forums.unrealengine.com/t/ue474-blueprint-can-only-make-boolean-variables-crash/313898)

<div class="topic-metadata">

**Author:** [@Leesan](https://forums.unrealengine.com/u/Leesan)\
**Replies:** 2\
**Last updated:** [April 10, 2015, 8:25pm UTC](https://forums.unrealengine.com/t/ue474-blueprint-can-only-make-boolean-variables-crash/313898 "2015-04-10T20:25:54Z")

</div>

When I make a variable in Blueprint it’s by default a Boolean. Say I want it to be an integer. As soon as I try to change that variable from a Boolean to integer UE crashes, every time, no exception. Thanks

---

## [Adding BP\_Object to TARRAY - Object added before initialization](https://forums.unrealengine.com/t/adding-bp_object-to-tarray-object-added-before-initialization/313832)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_624ad6e91](https://forums.unrealengine.com/u/anonymous_user_624ad6e91)\
**Replies:** 10\
**Last updated:** [April 7, 2015, 11:49pm UTC](https://forums.unrealengine.com/t/adding-bp_object-to-tarray-object-added-before-initialization/313832 "2015-04-07T23:49:38Z")

</div>

Hi guys, I have an array of spelltype objects that is basically a spellbar holding references to spells that get added dynamically from blueprints. My issue is that lets say I have BP\_FireBall, that I used via exposing …

---

## [Procedural Building (Array question)](https://forums.unrealengine.com/t/procedural-building-array-question/314115)

<div class="topic-metadata">

**Author:** [@Stocker\_00](https://forums.unrealengine.com/u/Stocker_00)\
**Replies:** 0\
**Last updated:** [April 7, 2015, 3:46am UTC](https://forums.unrealengine.com/t/procedural-building-array-question/314115 "2015-04-07T03:46:44Z")

</div>

Hi, I have built a procedural building using the same type of system as the epic tutorial building procedural room generation. I have built the building and have set it all up perfectly but with one little problem is wit…

---

## [Array in infinity level lead actor to x0.0y0.0z0.0](https://forums.unrealengine.com/t/array-in-infinity-level-lead-actor-to-x0-0y0-0z0-0/313986)

<div class="topic-metadata">

**Author:** [@CaelB](https://forums.unrealengine.com/u/CaelB)\
**Replies:** 2\
**Last updated:** [April 6, 2015, 11:09pm UTC](https://forums.unrealengine.com/t/array-in-infinity-level-lead-actor-to-x0-0y0-0z0-0/313986 "2015-04-06T23:09:12Z")

</div>

Hello, i’m doing a “temple run” like game. I have 5 floors actors that move through the cenario and need, when they pass the field of view, go to the initial position to the infinity loop. I manage to do that perfectly …

---

## [How to spawn an actor using variable?](https://forums.unrealengine.com/t/how-to-spawn-an-actor-using-variable/313861)

<div class="topic-metadata">

**Author:** [@ItsScotch](https://forums.unrealengine.com/u/ItsScotch)\
**Replies:** 2\
**Last updated:** [April 5, 2015, 3:17am UTC](https://forums.unrealengine.com/t/how-to-spawn-an-actor-using-variable/313861 "2015-04-05T03:17:25Z")

</div>

Dont want to select actor to spawn manually by selecting in “Class” pin. i’m giving it using a variable “Character To Spawn”. but when i do that “Switch To Character” pin doesn’t show up. and cant use “Self Reference”. …

---

## [Check if a blueprint is a child actor of another](https://forums.unrealengine.com/t/check-if-a-blueprint-is-a-child-actor-of-another/313684)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_86d41c48](https://forums.unrealengine.com/u/anonymous_user_86d41c48)\
**Replies:** 4\
**Last updated:** [April 3, 2015, 7:42pm UTC](https://forums.unrealengine.com/t/check-if-a-blueprint-is-a-child-actor-of-another/313684 "2015-04-03T19:42:18Z")

</div>

Hi all, So I have a parent blueprint, which has a child actor. From the construction script of the child actor, I would like to get a variable, referencing it’s parent. (If it is a child actor). How would I do this?

---

## [Arrays of text not correctly replicated](https://forums.unrealengine.com/t/arrays-of-text-not-correctly-replicated/313697)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_908c4e73](https://forums.unrealengine.com/u/anonymous_user_908c4e73)\
**Replies:** 0\
**Last updated:** [April 3, 2015, 6:05pm UTC](https://forums.unrealengine.com/t/arrays-of-text-not-correctly-replicated/313697 "2015-04-03T18:05:03Z")

</div>

If you declare an array of text elements to be replicated across the network from the server to all the clients, it won’t work, the data won’t be replicated after modification (w/o changing array size). UPROPERTY(Transi…

---

## [Is there a way inside an actor to keep a reference to another actor?](https://forums.unrealengine.com/t/is-there-a-way-inside-an-actor-to-keep-a-reference-to-another-actor/313601)

<div class="topic-metadata">

**Author:** [@asperatology](https://forums.unrealengine.com/u/asperatology)\
**Replies:** 4\
**Last updated:** [April 3, 2015, 8:23am UTC](https://forums.unrealengine.com/t/is-there-a-way-inside-an-actor-to-keep-a-reference-to-another-actor/313601 "2015-04-03T08:23:54Z")

</div>

I thought about using a simple pointer to an actor, ATarget, inside the big, main actor, ACannon, to keep track of ATarget’s position. But it seems that the traditional C++ way of instantiating a ATarget class object wi…

---

## ["character reference is not compatible with character reference" with other UMG issues](https://forums.unrealengine.com/t/character-reference-is-not-compatible-with-character-reference-with-other-umg-issues/303334)

<div class="topic-metadata">

**Author:** [@Daverex](https://forums.unrealengine.com/u/Daverex)\
**Replies:** 5\
**Last updated:** [April 1, 2015, 11:34pm UTC](https://forums.unrealengine.com/t/character-reference-is-not-compatible-with-character-reference-with-other-umg-issues/303334 "2015-04-01T23:34:07Z")

</div>

So I was following the tutorial video - YouTube But could not get past the binding process due to this little message. I was simply trying to get the player character’s health level variable from the character bluep…

---

## [SaveGame crashes](https://forums.unrealengine.com/t/savegame-crashes/313110)

<div class="topic-metadata">

**Author:** [@Shinje](https://forums.unrealengine.com/u/Shinje)\
**Replies:** 3\
**Last updated:** [March 30, 2015, 2:48pm UTC](https://forums.unrealengine.com/t/savegame-crashes/313110 "2015-03-30T14:48:11Z")

</div>

4.7.3: Add a variable “Date Time” or “TimeSpan” in a SaveGame blueprint (child of SaveGame.h) crashes editor during compilation.

---

## [Variable out of Scope Issue](https://forums.unrealengine.com/t/variable-out-of-scope-issue/282872)

<div class="topic-metadata">

**Author:** [@Circuit.Rider](https://forums.unrealengine.com/u/Circuit.Rider)\
**Replies:** 3\
**Last updated:** [March 30, 2015, 6:24am UTC](https://forums.unrealengine.com/t/variable-out-of-scope-issue/282872 "2015-03-30T06:24:53Z")

</div>

Hello, I’m trying to pass a variable from my character BP to my animation BP to control when the jump animation can be played. Right now my jump animation plays anytime I walk off a ledge. I’ve cast the variable, yet …

---

## [Get mesh references by tag](https://forums.unrealengine.com/t/get-mesh-references-by-tag/312625)

<div class="topic-metadata">

**Author:** [@Ravendarke](https://forums.unrealengine.com/u/Ravendarke)\
**Replies:** 1\
**Last updated:** [March 26, 2015, 6:58pm UTC](https://forums.unrealengine.com/t/get-mesh-references-by-tag/312625 "2015-03-26T18:58:39Z")

</div>

I would like to create array of references to all static meshes with specific tag, I though it will be trivial but for nothing in world I simply can´t figure it out, I know I am doing something wrong but not sure what. …

---

## [\[4.7.3\] Structs don't set correctly using exposed on spawn in standalone game mode/Struct Corrupting](https://forums.unrealengine.com/t/4-7-3-structs-dont-set-correctly-using-exposed-on-spawn-in-standalone-game-mode-struct-corrupting/312048)

<div class="topic-metadata">

**Author:** [@mrcrocker](https://forums.unrealengine.com/u/mrcrocker)\
**Replies:** 11\
**Last updated:** [March 25, 2015, 5:57pm UTC](https://forums.unrealengine.com/t/4-7-3-structs-dont-set-correctly-using-exposed-on-spawn-in-standalone-game-mode-struct-corrupting/312048 "2015-03-25T17:57:50Z")

</div>

Hey there, I think I may have found a bug. I am using 4.7.3. I have an actor that has some custom structs as variables that are exposed on spawn. When i spawn my actor and plug structs into the exposed on spawn section …

---

## [Issues Referencing Texture2D in DataTable](https://forums.unrealengine.com/t/issues-referencing-texture2d-in-datatable/311527)

<div class="topic-metadata">

**Author:** [@Dovetail\_Luke\_1](https://forums.unrealengine.com/u/Dovetail_Luke_1)\
**Replies:** 1\
**Last updated:** [March 25, 2015, 1:28pm UTC](https://forums.unrealengine.com/t/issues-referencing-texture2d-in-datatable/311527 "2015-03-25T13:28:43Z")

</div>

Hi folks, We are using 4.7.0 and we are having inconsistent results with how our datatables are referencing an asset. The Issue We are trying to reference images from a datatable which will be shown on a UMG image pan…

---

## [Level Blueprint Variable to Hud](https://forums.unrealengine.com/t/level-blueprint-variable-to-hud/288239)

<div class="topic-metadata">

**Author:** [@Wisdomcube2000](https://forums.unrealengine.com/u/Wisdomcube2000)\
**Replies:** 3\
**Last updated:** [March 25, 2015, 3:41am UTC](https://forums.unrealengine.com/t/level-blueprint-variable-to-hud/288239 "2015-03-25T03:41:31Z")

</div>

As the title says, I have a variable in my level blueprint that I’d like to use/send to my Hud blueprint. How would I go about doing that? I’ve googled it, but haven’t found anything worthwhile/useful. Thanks in advance…

---

## [How to make this USTRUCT replicatable?](https://forums.unrealengine.com/t/how-to-make-this-ustruct-replicatable/312356)

<div class="topic-metadata">

**Author:** [@MykonCodes](https://forums.unrealengine.com/u/MykonCodes)\
**Replies:** 6\
**Last updated:** [March 24, 2015, 9:48am UTC](https://forums.unrealengine.com/t/how-to-make-this-ustruct-replicatable/312356 "2015-03-24T09:48:44Z")

</div>

I want to make this USTRUCT replicatable. How can I replace the std::vector\<std::pair\<WARRIOR\_TYPES,int32\>\> in UE4 to make it replicatable? TArray\<TSet\<\>\> //or// TArray\<TMap\<\>\> WARRIOR\_TYPE \[key\] is an enum and num …

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

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