# Editor Scripting

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

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

**Page:** 69

---

## [Aim Offset not aligned to rotation](https://forums.unrealengine.com/t/aim-offset-not-aligned-to-rotation/440270)

<div class="topic-metadata">

**Author:** [@indvdl\_software](https://forums.unrealengine.com/u/indvdl_software)\
**Replies:** 0\
**Last updated:** [December 29, 2018, 2:42pm UTC](https://forums.unrealengine.com/t/aim-offset-not-aligned-to-rotation/440270 "2018-12-29T14:42:39Z")

</div>

Hi, in short: Aim offset doesn’t align perfectly to given rotation I have created a first person character that uses a full body mesh with the intention to use a single mesh for body and also as the character “first pe…

---

## [Can't select value to edit variable in editor window.](https://forums.unrealengine.com/t/cant-select-value-to-edit-variable-in-editor-window/428750)

<div class="topic-metadata">

**Author:** [@mattr.taylor](https://forums.unrealengine.com/u/mattr.taylor)\
**Replies:** 5\
**Last updated:** [December 28, 2018, 6:36pm UTC](https://forums.unrealengine.com/t/cant-select-value-to-edit-variable-in-editor-window/428750 "2018-12-28T18:36:31Z")

</div>

I am running into an issue where, upon selecting a value for an editable blueprint variable in the details window of an instance in the editor, no value is selected. It appears to occur in all newly created BPs but not i…

---

## [Get Components by Class or by Tag: no referencing](https://forums.unrealengine.com/t/get-components-by-class-or-by-tag-no-referencing/398744)

<div class="topic-metadata">

**Author:** [@Herr\_Edgy](https://forums.unrealengine.com/u/Herr_Edgy)\
**Replies:** 3\
**Last updated:** [December 27, 2018, 12:01am UTC](https://forums.unrealengine.com/t/get-components-by-class-or-by-tag-no-referencing/398744 "2018-12-27T00:01:17Z")

</div>

The array that you get as output of the nodes “Get Components by Tag” or “Get Components by Class” is bugged. You are supposed to be able to use get with a reference or with a copy by choice. However, those arrays only a…

---

## ["Categorized" Inventory?](https://forums.unrealengine.com/t/categorized-inventory/407079)

<div class="topic-metadata">

**Author:** [@four2nothin](https://forums.unrealengine.com/u/four2nothin)\
**Replies:** 3\
**Last updated:** [December 25, 2018, 11:48am UTC](https://forums.unrealengine.com/t/categorized-inventory/407079 "2018-12-25T11:48:02Z")

</div>

I just started using ue4 quite recently and I’m having a hard time finding a tutorial/explanation on how to create a decent inventory menu. Preferably, I’d like to create one that will separate items into categories. (S…

---

## [Concept of actors with with separate inventories](https://forums.unrealengine.com/t/concept-of-actors-with-with-separate-inventories/438166)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_968da143](https://forums.unrealengine.com/u/anonymous_user_968da143)\
**Replies:** 6\
**Last updated:** [December 22, 2018, 3:54pm UTC](https://forums.unrealengine.com/t/concept-of-actors-with-with-separate-inventories/438166 "2018-12-22T15:54:15Z")

</div>

I am having some trouble understanding how to go about creating actors with separate inventories. I’m using drag/drop and have a functioning though basic inventory system for my character and another actor (a fireplace).…

---

## [How to check if TSharedRef is null?](https://forums.unrealengine.com/t/how-to-check-if-tsharedref-is-null/378684)

<div class="topic-metadata">

**Author:** [@newbprofi](https://forums.unrealengine.com/u/newbprofi)\
**Replies:** 3\
**Last updated:** [December 22, 2018, 12:19pm UTC](https://forums.unrealengine.com/t/how-to-check-if-tsharedref-is-null/378684 "2018-12-22T12:19:59Z")

</div>

TSharedRef::IsValid - is private…

---

## [Get Blueprint Animation variables in C++?](https://forums.unrealengine.com/t/get-blueprint-animation-variables-in-c/331927)

<div class="topic-metadata">

**Author:** [@Juice-Tin](https://forums.unrealengine.com/u/Juice-Tin)\
**Replies:** 5\
**Last updated:** [December 22, 2018, 11:00am UTC](https://forums.unrealengine.com/t/get-blueprint-animation-variables-in-c/331927 "2018-12-22T11:00:59Z")

</div>

Maybe different than you’re thinking but does this help?

---

## [How do I use an inventory item on another item in my world?](https://forums.unrealengine.com/t/how-do-i-use-an-inventory-item-on-another-item-in-my-world/439958)

<div class="topic-metadata">

**Author:** [@NtinosFerret](https://forums.unrealengine.com/u/NtinosFerret)\
**Replies:** 0\
**Last updated:** [December 22, 2018, 9:51am UTC](https://forums.unrealengine.com/t/how-do-i-use-an-inventory-item-on-another-item-in-my-world/439958 "2018-12-22T09:51:04Z")

</div>

I only came across “click right mouse button to eat and fill your energy”. Useful, but not what I want to do. What I would like to do is this: Say I have a bucket of paint in my inventory. I want to drag it out and onto …

---

## [Python Script to rename texture file](https://forums.unrealengine.com/t/python-script-to-rename-texture-file/437564)

<div class="topic-metadata">

**Author:** [@ANURAGX](https://forums.unrealengine.com/u/ANURAGX)\
**Replies:** 3\
**Last updated:** [December 20, 2018, 6:33pm UTC](https://forums.unrealengine.com/t/python-script-to-rename-texture-file/437564 "2018-12-20T18:33:14Z")

</div>

I have exploring the python scripting for UE4, I couldn’t find any example on how to use python script. It will be really helpful for me to get started if someone could give an example on script for renaming texture fi…

---

## [How to store variables  to a custom .ini file?](https://forums.unrealengine.com/t/how-to-store-variables-to-a-custom-ini-file/330274)

<div class="topic-metadata">

**Author:** [@MajesticMack](https://forums.unrealengine.com/u/MajesticMack)\
**Replies:** 9\
**Last updated:** [December 19, 2018, 9:42am UTC](https://forums.unrealengine.com/t/how-to-store-variables-to-a-custom-ini-file/330274 "2018-12-19T09:42:59Z")

</div>

Hey guys I’ve been using UE4 C++ for the past 6 months and I still don’t know exactly how to do this. I am trying to create config variables for user gameplay preferences and graphics settings that would be stored on a c…

---

## [How create global variable?](https://forums.unrealengine.com/t/how-create-global-variable/286785)

<div class="topic-metadata">

**Author:** [@DcDenton](https://forums.unrealengine.com/u/DcDenton)\
**Replies:** 27\
**Last updated:** [December 19, 2018, 7:17am UTC](https://forums.unrealengine.com/t/how-create-global-variable/286785 "2018-12-19T07:17:57Z")

</div>

Hi. How can I create variable whom I can edit from differents blueprints, and then using her in another blueprints?

---

## [What did you automate with python (scripts)?](https://forums.unrealengine.com/t/what-did-you-automate-with-python-scripts/119222)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_20e8a88c](https://forums.unrealengine.com/u/anonymous_user_20e8a88c)\
**Replies:** 2\
**Last updated:** [December 17, 2018, 8:41pm UTC](https://forums.unrealengine.com/t/what-did-you-automate-with-python-scripts/119222 "2018-12-17T20:41:40Z")

</div>

For me i’ve made a local website that keeps track of all the subtitles of a subtitle website that is full of ads and not neat, so if i need subtitles i can use my own little website that only has a search bar and a li…

---

## [Python to Open / Save assets using Editor](https://forums.unrealengine.com/t/python-to-open-save-assets-using-editor/119251)

<div class="topic-metadata">

**Author:** [@ExtraLifeMatt](https://forums.unrealengine.com/u/ExtraLifeMatt)\
**Replies:** 2\
**Last updated:** [December 17, 2018, 5:26pm UTC](https://forums.unrealengine.com/t/python-to-open-save-assets-using-editor/119251 "2018-12-17T17:26:48Z")

</div>

Hey all, I noticed the unreal.AssetTools has an open\_editor\_for\_assets, but I’m unsure of how to force a save through the editor for those open assets (I generally run some object clean-up logic in my editors during ass…

---

## [Vertex\_Color\_Import\_Options Questions](https://forums.unrealengine.com/t/vertex_color_import_options-questions/119790)

<div class="topic-metadata">

**Author:** [@magnus.larsson](https://forums.unrealengine.com/u/magnus.larsson)\
**Replies:** 2\
**Last updated:** [December 17, 2018, 10:44am UTC](https://forums.unrealengine.com/t/vertex_color_import_options-questions/119790 "2018-12-17T10:44:53Z")

</div>

So I can easily do something like this. options.static\_mesh\_import\_data.set\_editor\_property(‘generate\_lightmap\_u\_vs’, True) and it will generate lightmap UVs on import. But I am probably missing something very basic h…

---

## [Bug? SystemLibrary.execute\_console\_command not really working](https://forums.unrealengine.com/t/bug-systemlibrary-execute_console_command-not-really-working/119907)

<div class="topic-metadata">

**Author:** [@MadisonAster](https://forums.unrealengine.com/u/MadisonAster)\
**Replies:** 1\
**Last updated:** [December 16, 2018, 6:39pm UTC](https://forums.unrealengine.com/t/bug-systemlibrary-execute_console_command-not-really-working/119907 "2018-12-16T18:39:05Z")

</div>

Hi, I’m developing a renderfarm plugin for Datasmith that starts many instances of unreal (4.21), and because of various other bugs it’s become clear that I can’t use UE4Editor-Cmd.exe to run it without a gui. I’ve worke…

---

## [Store a reference to a BP event in C++ and call it](https://forums.unrealengine.com/t/store-a-reference-to-a-bp-event-in-c-and-call-it/438946)

<div class="topic-metadata">

**Author:** [@CraftyWeazel](https://forums.unrealengine.com/u/CraftyWeazel)\
**Replies:** 10\
**Last updated:** [December 16, 2018, 1:18pm UTC](https://forums.unrealengine.com/t/store-a-reference-to-a-bp-event-in-c-and-call-it/438946 "2018-12-16T13:18:01Z")

</div>

Hi there! I would like advice from programmers on UE4 about this question: from a custom blueprint node that expands in a UK2Node\_CallFunction, how can I send to a C++ function the reference of an event created in bluep…

---

## [engine crash when using delete\_assets](https://forums.unrealengine.com/t/engine-crash-when-using-delete_assets/119906)

<div class="topic-metadata">

**Author:** [@johnson5jr](https://forums.unrealengine.com/u/johnson5jr)\
**Replies:** 2\
**Last updated:** [December 14, 2018, 1:39am UTC](https://forums.unrealengine.com/t/engine-crash-when-using-delete_assets/119906 "2018-12-14T01:39:03Z")

</div>

I’m using this bit of hacky code to get the selected assets in the content browser: @ue.uclass() class MyEditorUtility(ue.GlobalEditorUtilityBase): pass editor\_util = MyEditorUtility() editor\_util.get\_selected\_asse…

---

## [Does SystemLibrary.execute\_console\_command() work?](https://forums.unrealengine.com/t/does-systemlibrary-execute_console_command-work/439398)

<div class="topic-metadata">

**Author:** [@MadisonAster](https://forums.unrealengine.com/u/MadisonAster)\
**Replies:** 1\
**Last updated:** [December 13, 2018, 7:00pm UTC](https://forums.unrealengine.com/t/does-systemlibrary-execute_console_command-work/439398 "2018-12-13T19:00:44Z")

</div>

Hi, I’m developing a renderfarm plugin for Datasmith that starts many instances of unreal (4.21), and because of various other bugs it’s become clear that I can’t use UE4Editor-Cmd.exe to run it without an gui. I’ve work…

---

## [Serializing TArray in SaveGame](https://forums.unrealengine.com/t/serializing-tarray-in-savegame/313305)

<div class="topic-metadata">

**Author:** [@kylawl](https://forums.unrealengine.com/u/kylawl)\
**Replies:** 4\
**Last updated:** [December 11, 2018, 4:42pm UTC](https://forums.unrealengine.com/t/serializing-tarray-in-savegame/313305 "2018-12-11T16:42:54Z")

</div>

I’m trying to save a polymorphic array of UObjects into my savegame. The binary appears to contain some information about the array, including the types of the entries in it, but no entry data. I put the SaveGame attribu…

---

## [Casting 2dVector from lvlBP to other actorBP](https://forums.unrealengine.com/t/casting-2dvector-from-lvlbp-to-other-actorbp/438845)

<div class="topic-metadata">

**Author:** [@Stoashy](https://forums.unrealengine.com/u/Stoashy)\
**Replies:** 1\
**Last updated:** [December 8, 2018, 1:16pm UTC](https://forums.unrealengine.com/t/casting-2dvector-from-lvlbp-to-other-actorbp/438845 "2018-12-08T13:16:03Z")

</div>

Hello, I am having trouble casting a 2dVector variable from the lvlBP to an actorBP. I cant seem to get the value to store in the variable. Here are some screenshots of the both BP’s. I don’t fully understand how the …

---

## [Running Python Through the Command Line](https://forums.unrealengine.com/t/running-python-through-the-command-line/118877)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_959e2b3a](https://forums.unrealengine.com/u/anonymous_user_959e2b3a)\
**Replies:** 2\
**Last updated:** [December 7, 2018, 4:48pm UTC](https://forums.unrealengine.com/t/running-python-through-the-command-line/118877 "2018-12-07T16:48:02Z")

</div>

When I try running my script using UE4Editor-Cmd.exe -run=pythonscript -script="c:\\my\_script.py" I get the following error: I tried following the documentation here but had no luck: Scripting the Unreal Editor Using…

---

## [(Problem) Variable Prints 3 Times Per Tick](https://forums.unrealengine.com/t/problem-variable-prints-3-times-per-tick/436639)

<div class="topic-metadata">

**Author:** [@ReclusiveRychu](https://forums.unrealengine.com/u/ReclusiveRychu)\
**Replies:** 4\
**Last updated:** [December 6, 2018, 3:46pm UTC](https://forums.unrealengine.com/t/problem-variable-prints-3-times-per-tick/436639 "2018-12-06T15:46:26Z")

</div>

Hello Everyone, So my problem put simply is this. I have a Timeline in UE4 Event Graph running from 0 to 1 on loop. I have some presets that will manipulate the playrate, i.e. if the preset it set to “Real Time” it will…

---

## [Help!File Save not being created](https://forums.unrealengine.com/t/help-file-save-not-being-created/432869)

<div class="topic-metadata">

**Author:** [@KyvenH](https://forums.unrealengine.com/u/KyvenH)\
**Replies:** 3\
**Last updated:** [December 6, 2018, 8:41am UTC](https://forums.unrealengine.com/t/help-file-save-not-being-created/432869 "2018-12-06T08:41:59Z")

</div>

Hello Guys, I’m pretty new to UE 4, and I’m following some tutorials to learn about multiplayer. Recently I am following this tutorial “BLUEPRINT MULTIPLAYER” https://docs.unrealengine.com/en-us/Videos/PLZlv\_N0\_O1gYq…

---

## [Enable developer mode in Python Script plugin](https://forums.unrealengine.com/t/enable-developer-mode-in-python-script-plugin/119428)

<div class="topic-metadata">

**Author:** [@dschertenleib](https://forums.unrealengine.com/u/dschertenleib)\
**Replies:** 2\
**Last updated:** [December 5, 2018, 4:34pm UTC](https://forums.unrealengine.com/t/enable-developer-mode-in-python-script-plugin/119428 "2018-12-05T16:34:11Z")

</div>

I am looking to enable the Developer mode for python scripting with unreal.PythonScriptPluginSettings https://api.unrealengine.com/INT/Pyt…nSettings.html This is my code, i must be missing something obvious: unrea…

---

## [Need to convert/replace 100s of SpeedTree Materials with MaterialInstances](https://forums.unrealengine.com/t/need-to-convert-replace-100s-of-speedtree-materials-with-materialinstances/438863)

<div class="topic-metadata">

**Author:** [@structuregreg](https://forums.unrealengine.com/u/structuregreg)\
**Replies:** 0\
**Last updated:** [December 4, 2018, 9:47pm UTC](https://forums.unrealengine.com/t/need-to-convert-replace-100s-of-speedtree-materials-with-materialinstances/438863 "2018-12-04T21:47:49Z")

</div>

We have 100s of SpeedTree assets that we are importing into our project and the import process automatically creates Materials for each one. However we need to replace these Materials with MaterialInstances that all sha…

---

## [What have you been using Python Scripting for?](https://forums.unrealengine.com/t/what-have-you-been-using-python-scripting-for/118813)

<div class="topic-metadata">

**Author:** [@AnotherZach](https://forums.unrealengine.com/u/AnotherZach)\
**Replies:** 5\
**Last updated:** [December 4, 2018, 6:48pm UTC](https://forums.unrealengine.com/t/what-have-you-been-using-python-scripting-for/118813 "2018-12-04T18:48:19Z")

</div>

Kinda curious, because I’m not sure what problems are better solved via Python Scripting over the tools Unreal provides. Haven’t really really divided into Python scripting, and I’m just not sure when it would be appropr…

---

## [USTRUCT() members in Editor.](https://forums.unrealengine.com/t/ustruct-members-in-editor/386210)

<div class="topic-metadata">

**Author:** [@pingms](https://forums.unrealengine.com/u/pingms)\
**Replies:** 4\
**Last updated:** [December 3, 2018, 11:22pm UTC](https://forums.unrealengine.com/t/ustruct-members-in-editor/386210 "2018-12-03T23:22:36Z")

</div>

tl;dr : Is it possible to edit the members of an array that consists structs? Hello there, I’m fairly new to Unreal Engine so to get started I started checking out the C++ Programming Tutorials on the docs. I’m Curren…

---

## [How to save hundreds of peculiar variables, such as a barrel's contents on the other side of the world (similar to Skyrim/Oblivian save data)](https://forums.unrealengine.com/t/how-to-save-hundreds-of-peculiar-variables-such-as-a-barrels-contents-on-the-other-side-of-the-world-similar-to-skyrim-oblivian-save-data/353102)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_f94b932e](https://forums.unrealengine.com/u/anonymous_user_f94b932e)\
**Replies:** 9\
**Last updated:** [December 3, 2018, 8:37pm UTC](https://forums.unrealengine.com/t/how-to-save-hundreds-of-peculiar-variables-such-as-a-barrels-contents-on-the-other-side-of-the-world-similar-to-skyrim-oblivian-save-data/353102 "2018-12-03T20:37:14Z")

</div>

Hey community, So I ran into a predicament where I will soon need to be able to save all modified variables after playing a session of my game. The problem is there are a whole bunch of these variables. These variables…

---

## [retrieve data From Save game to slot in a dedicated Server](https://forums.unrealengine.com/t/retrieve-data-from-save-game-to-slot-in-a-dedicated-server/433150)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_88464ef4](https://forums.unrealengine.com/u/anonymous_user_88464ef4)\
**Replies:** 2\
**Last updated:** [December 3, 2018, 12:37am UTC](https://forums.unrealengine.com/t/retrieve-data-from-save-game-to-slot-in-a-dedicated-server/433150 "2018-12-03T00:37:23Z")

</div>

i have create 2 project, 1 is going to the server and another for the client witch connect to the server , both run on the server. my question is i create a save game to slot in the server with custom event in the serve…

---

## [Managing a bunch of Python scripts](https://forums.unrealengine.com/t/managing-a-bunch-of-python-scripts/119443)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_20e8a88c](https://forums.unrealengine.com/u/anonymous_user_20e8a88c)\
**Replies:** 0\
**Last updated:** [December 1, 2018, 7:36am UTC](https://forums.unrealengine.com/t/managing-a-bunch-of-python-scripts/119443 "2018-12-01T07:36:17Z")

</div>

Is there a way to manage (ideally through some web gui front end) the running of multiple scripts? I’d like to be able to see how many of the scripts have stopped running, when they started/stopped, and restarting a …

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

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