# Editor Scripting

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

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

**Page:** 31

---

## [Action RPG Inventory System](https://forums.unrealengine.com/t/action-rpg-inventory-system/489083)

<div class="topic-metadata">

**Author:** [@Uncle\_darius](https://forums.unrealengine.com/u/Uncle_darius)\
**Replies:** 0\
**Last updated:** [September 22, 2021, 5:18pm UTC](https://forums.unrealengine.com/t/action-rpg-inventory-system/489083 "2021-09-22T17:18:12Z")

</div>

Hello everyone! anyone have experience with Action RPG Inventory System? I have to save and load the inventory, but I don’t understand which variables I have to use … can someone help me?

---

## [python add\_component in level](https://forums.unrealengine.com/t/python-add_component-in-level/117601)

<div class="topic-metadata">

**Author:** [@johnson5jr](https://forums.unrealengine.com/u/johnson5jr)\
**Replies:** 4\
**Last updated:** [September 22, 2021, 1:52pm UTC](https://forums.unrealengine.com/t/python-add_component-in-level/117601 "2021-09-22T13:52:31Z")

</div>

I’d like to be able to add a component to a StaticMeshActor in a level via python, but I am having trouble with the code. I’m not sure I’m clear on the Name parameter from the API: https://api.unrealengine.com/INT/Pyt…l#…

---

## [How to create a HISMC with Python](https://forums.unrealengine.com/t/how-to-create-a-hismc-with-python/477209)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_0261357b](https://forums.unrealengine.com/u/anonymous_user_0261357b)\
**Replies:** 2\
**Last updated:** [September 22, 2021, 12:50pm UTC](https://forums.unrealengine.com/t/how-to-create-a-hismc-with-python/477209 "2021-09-22T12:50:58Z")

</div>

I’ve got a basic level of Python Scripting knowledge, but I’m finding the documentation on how to use python functions challenging to understand and would appreciate some help. I need to use a Python script to create a …

---

## [Add user-defined dataprep operation](https://forums.unrealengine.com/t/add-user-defined-dataprep-operation/251910)

<div class="topic-metadata">

**Author:** [@reg\_ex\_us](https://forums.unrealengine.com/u/reg_ex_us)\
**Replies:** 2\
**Last updated:** [September 22, 2021, 8:49am UTC](https://forums.unrealengine.com/t/add-user-defined-dataprep-operation/251910 "2021-09-22T08:49:06Z")

</div>

Using EditorDataprepAssetLibrary class I can add an action to the existing dataprep asset like this: dataprep\_asset\_library = unreal.EditorDataprepAssetLibrary() dataprep\_action = dataprep\_asset\_library.add\_action(datap…

---

## [How can I assign material to skeleton mesh with python?](https://forums.unrealengine.com/t/how-can-i-assign-material-to-skeleton-mesh-with-python/250626)

<div class="topic-metadata">

**Author:** [@Adenex\_x](https://forums.unrealengine.com/u/Adenex_x)\
**Replies:** 3\
**Last updated:** [September 22, 2021, 6:53am UTC](https://forums.unrealengine.com/t/how-can-i-assign-material-to-skeleton-mesh-with-python/250626 "2021-09-22T06:53:21Z")

</div>

Hello, I’m trying to put my material instance to 1st slot of skeletal mesh with python. After few hours of research, I did this code import unreal sm\_asset = unreal.load\_asset('/Game/Meshes/Bob') mi\_asset = '/Game/Mater…

---

## [How to get the world partition grid names](https://forums.unrealengine.com/t/how-to-get-the-world-partition-grid-names/252051)

<div class="topic-metadata">

**Author:** [@JasonMinDev](https://forums.unrealengine.com/u/JasonMinDev)\
**Replies:** 0\
**Last updated:** [September 22, 2021, 4:58am UTC](https://forums.unrealengine.com/t/how-to-get-the-world-partition-grid-names/252051 "2021-09-22T04:58:10Z")

</div>

Hi guys, I try to get the grid name on the world partition setup. does anyone know how to get the grid name?

---

## [Set Component Properties Through Python](https://forums.unrealengine.com/t/set-component-properties-through-python/252018)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_f9d7b6ce](https://forums.unrealengine.com/u/anonymous_user_f9d7b6ce)\
**Replies:** 0\
**Last updated:** [September 21, 2021, 11:51pm UTC](https://forums.unrealengine.com/t/set-component-properties-through-python/252018 "2021-09-21T23:51:50Z")

</div>

Hello, I have a script which finds Skeletal Meshes and exposes some properties for a user to toggle (visibility, render main, render custom, only owner see). The UI allows them to select any asset from the world editor…

---

## [Python - How do I leave out an optional parameter in a class](https://forums.unrealengine.com/t/python-how-do-i-leave-out-an-optional-parameter-in-a-class/251855)

<div class="topic-metadata">

**Author:** [@racks](https://forums.unrealengine.com/u/racks)\
**Replies:** 1\
**Last updated:** [September 21, 2021, 7:29am UTC](https://forums.unrealengine.com/t/python-how-do-i-leave-out-an-optional-parameter-in-a-class/251855 "2021-09-21T07:29:09Z")

</div>

Im trying to use create\_mesh\_section class from this page in the unreal python docs. I can provide every parameter for the class apart from the vertex\_colors parameter but it says that it is optional. When I run the co…

---

## [How do I deal with components with python](https://forums.unrealengine.com/t/how-do-i-deal-with-components-with-python/251688)

<div class="topic-metadata">

**Author:** [@racks](https://forums.unrealengine.com/u/racks)\
**Replies:** 1\
**Last updated:** [September 20, 2021, 9:05am UTC](https://forums.unrealengine.com/t/how-do-i-deal-with-components-with-python/251688 "2021-09-20T09:05:57Z")

</div>

I’m trying to create a procedural landscape using procedural mesh with python but I’m getting this error. Any fixes TypeError: descriptor 'create\_mesh\_section\_linear\_color' requires a 'ProceduralMeshComponent' object bu…

---

## [Array that sometimes will return "None"](https://forums.unrealengine.com/t/array-that-sometimes-will-return-none/488886)

<div class="topic-metadata">

**Author:** [@VomitInject](https://forums.unrealengine.com/u/VomitInject)\
**Replies:** 6\
**Last updated:** [September 18, 2021, 4:58pm UTC](https://forums.unrealengine.com/t/array-that-sometimes-will-return-none/488886 "2021-09-18T16:58:28Z")

</div>

Hello, Im super new to blueprints so this had me a bit stumped. I have a dialog system, that sometimes can trigger choises based on your type of character (for example a Mage can have extra awnsers compared to a Warrio…

---

## [Possible to use BlueprintAssignable dynamic multicast delegate in USTRUCT?](https://forums.unrealengine.com/t/possible-to-use-blueprintassignable-dynamic-multicast-delegate-in-ustruct/459062)

<div class="topic-metadata">

**Author:** [@StefanHohnwald](https://forums.unrealengine.com/u/StefanHohnwald)\
**Replies:** 2\
**Last updated:** [September 18, 2021, 12:19pm UTC](https://forums.unrealengine.com/t/possible-to-use-blueprintassignable-dynamic-multicast-delegate-in-ustruct/459062 "2021-09-18T12:19:47Z")

</div>

Greetings. I have a problem making blueprintassignable dynamic delegates of a USTRUCT visible in blueprint. Simple example case: DECLARE\_DYNAMIC\_MULTICAST\_DELEGATE\_OneParam(FTestDel, bool, bTest); USTRUCT(BlueprintTy…

---

## [Can't understand why it isn't saving and loading my shop system](https://forums.unrealengine.com/t/cant-understand-why-it-isnt-saving-and-loading-my-shop-system/488929)

<div class="topic-metadata">

**Author:** [@andrymas](https://forums.unrealengine.com/u/andrymas)\
**Replies:** 3\
**Last updated:** [September 18, 2021, 11:42am UTC](https://forums.unrealengine.com/t/cant-understand-why-it-isnt-saving-and-loading-my-shop-system/488929 "2021-09-18T11:42:35Z")

</div>

Can’t understand why my saving and loading function isn’t working as intended, can someone help me fix my code? The code should make the bar go up by 33 everytime you push the “+” button, make your money go down by 150 …

---

## [\[Python\] How to get the 'Data Source Folder' path?](https://forums.unrealengine.com/t/python-how-to-get-the-data-source-folder-path/481257)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_077a2248](https://forums.unrealengine.com/u/anonymous_user_077a2248)\
**Replies:** 1\
**Last updated:** [September 16, 2021, 6:12pm UTC](https://forums.unrealengine.com/t/python-how-to-get-the-data-source-folder-path/481257 "2021-09-16T18:12:55Z")

</div>

In order to get a given asset’s source path, I’m doing: loaded\_asset.get\_editor\_property('asset\_import\_data').get\_first\_filename() This works fine, but I’d like to be able to get this path as a relative one, using the …

---

## [Stamina won't decrease while sprinting](https://forums.unrealengine.com/t/stamina-wont-decrease-while-sprinting/251011)

<div class="topic-metadata">

**Author:** [@Kantvo](https://forums.unrealengine.com/u/Kantvo)\
**Replies:** 0\
**Last updated:** [September 16, 2021, 4:35am UTC](https://forums.unrealengine.com/t/stamina-wont-decrease-while-sprinting/251011 "2021-09-16T04:35:21Z")

</div>

Hey guys. I started to learn Unreal Engine 4 Blueprint scripting and I got a problem. My stamina points either decrease while holding only shift or won’t decrease at all. I tried doing it with YouTube tutorials but still…

---

## [Skeleton bone\_tree empty?](https://forums.unrealengine.com/t/skeleton-bone-tree-empty/250973)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_be4f0747](https://forums.unrealengine.com/u/anonymous_user_be4f0747)\
**Replies:** 0\
**Last updated:** [September 16, 2021, 1:43am UTC](https://forums.unrealengine.com/t/skeleton-bone-tree-empty/250973 "2021-09-16T01:43:41Z")

</div>

Hello, I am trying to access the skeleton bone\_tree data using python in Unreal on our generic skeleton but seem to just get a empty array in UE5. Any advice would be great. import unreal mSkel=unreal.Skeleton( name='…

---

## [How to run "Convert ... to Static Mesh" from BP?](https://forums.unrealengine.com/t/how-to-run-convert-to-static-mesh-from-bp/249989)

<div class="topic-metadata">

**Author:** [@Slavq](https://forums.unrealengine.com/u/Slavq)\
**Replies:** 2\
**Last updated:** [September 14, 2021, 5:00pm UTC](https://forums.unrealengine.com/t/how-to-run-convert-to-static-mesh-from-bp/249989 "2021-09-14T17:00:16Z")

</div>

Is it possible to run this function from a blueprint editor utility, on a specified Skeletal Mesh Actor?

---

## [Checkpoint that resets all spawns](https://forums.unrealengine.com/t/checkpoint-that-resets-all-spawns/488694)

<div class="topic-metadata">

**Author:** [@Powill](https://forums.unrealengine.com/u/Powill)\
**Replies:** 2\
**Last updated:** [September 13, 2021, 1:05pm UTC](https://forums.unrealengine.com/t/checkpoint-that-resets-all-spawns/488694 "2021-09-13T13:05:21Z")

</div>

I’d like to implement a checkpoint system that resets all enemies that are spawned (similar to how the level starts when you click Play). I’m trying to wrap my head around game instance, states, and modes, but am strugg…

---

## [How can I auto tile my texture along the X-axis](https://forums.unrealengine.com/t/how-can-i-auto-tile-my-texture-along-the-x-axis/250386)

<div class="topic-metadata">

**Author:** [@racks](https://forums.unrealengine.com/u/racks)\
**Replies:** 0\
**Last updated:** [September 12, 2021, 11:55pm UTC](https://forums.unrealengine.com/t/how-can-i-auto-tile-my-texture-along-the-x-axis/250386 "2021-09-12T23:55:31Z")

</div>

I am building a procedural landscape. The landscape will be 100 on the Y and an unspecified amount on the X (But X will be divisible by 100 and much bigger than Y). I want the material to cover a 100 by 100 area on the l…

---

## [Exporting a CSV structure array file](https://forums.unrealengine.com/t/exporting-a-csv-structure-array-file/488683)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_47451bc2](https://forums.unrealengine.com/u/anonymous_user_47451bc2)\
**Replies:** 1\
**Last updated:** [September 12, 2021, 10:25am UTC](https://forums.unrealengine.com/t/exporting-a-csv-structure-array-file/488683 "2021-09-12T10:25:52Z")

</div>

Hello, I’ve figured out how to export a CSV file containing a String array during runtime, but I’m not sure how to make this function work for a structure-based array. If it’s important, my structure contains a transfor…

---

## [Python Multithreading in UE4](https://forums.unrealengine.com/t/python-multithreading-in-ue4/488546)

<div class="topic-metadata">

**Author:** [@Saucy\_Sells](https://forums.unrealengine.com/u/Saucy_Sells)\
**Replies:** 1\
**Last updated:** [September 8, 2021, 7:49pm UTC](https://forums.unrealengine.com/t/python-multithreading-in-ue4/488546 "2021-09-08T19:49:42Z")

</div>

I’m creating a plugin in C++ and calling a Python script from my C++ code. This is working fine for the most part, but my python script was using the joblibs library to parallelize a certain task, and UE4 seems to hate t…

---

## [Equivalent to Unity's Canvas](https://forums.unrealengine.com/t/equivalent-to-unitys-canvas/241831)

<div class="topic-metadata">

**Author:** [@eco\_bach2](https://forums.unrealengine.com/u/eco_bach2)\
**Replies:** 7\
**Last updated:** [September 8, 2021, 6:05am UTC](https://forums.unrealengine.com/t/equivalent-to-unitys-canvas/241831 "2021-09-08T06:05:59Z")

</div>

Bit of a noob when it comes to creating GUIs in Unreal. Coming from Unity where the Canvas is an integral part of the application and with 100s of tutorials on how to use Canvas I am a bit lost. I need to simply create …

---

## [\[C++\]Actor reference from child actor component](https://forums.unrealengine.com/t/c-actor-reference-from-child-actor-component/488501)

<div class="topic-metadata">

**Author:** [@Bu1-Dv4](https://forums.unrealengine.com/u/Bu1-Dv4)\
**Replies:** 3\
**Last updated:** [September 8, 2021, 1:26am UTC](https://forums.unrealengine.com/t/c-actor-reference-from-child-actor-component/488501 "2021-09-08T01:26:52Z")

</div>

Hello. I have a Question about Get Reference from child actor in C++ code. I want to get a reference to a class in the program code in order to call a function of the class that the child Actor inherits from. Specific…

---

## [Android data stored in wrong location](https://forums.unrealengine.com/t/android-data-stored-in-wrong-location/394005)

<div class="topic-metadata">

**Author:** [@pr4wl](https://forums.unrealengine.com/u/pr4wl)\
**Replies:** 4\
**Last updated:** [September 3, 2021, 12:59pm UTC](https://forums.unrealengine.com/t/android-data-stored-in-wrong-location/394005 "2021-09-03T12:59:41Z")

</div>

UE4 does not save it’s data in the program’s data folder. Instead it stores it in a folder in the root directory separate from the game. Should store data in: /Android/data/com.\[comany\].\[project\_name\]/ Actually stores…

---

## [Material To Texture Render Target with AssetActionUtility](https://forums.unrealengine.com/t/material-to-texture-render-target-with-assetactionutility/247967)

<div class="topic-metadata">

**Author:** [@BernardRouhi](https://forums.unrealengine.com/u/BernardRouhi)\
**Replies:** 3\
**Last updated:** [September 2, 2021, 5:11am UTC](https://forums.unrealengine.com/t/material-to-texture-render-target-with-assetactionutility/247967 "2021-09-02T05:11:41Z")

</div>

I’m trying to render a material into Texture Render Target 2D from the content browser. I made an “AssetActionUtility”, a function that takes selected assets and renders the first material into the first Texture Render …

---

## [Generate Custom Text on trace Interactable Objects with Text Binding Widget](https://forums.unrealengine.com/t/generate-custom-text-on-trace-interactable-objects-with-text-binding-widget/488254)

<div class="topic-metadata">

**Author:** [@darwinner999](https://forums.unrealengine.com/u/darwinner999)\
**Replies:** 1\
**Last updated:** [August 31, 2021, 11:46pm UTC](https://forums.unrealengine.com/t/generate-custom-text-on-trace-interactable-objects-with-text-binding-widget/488254 "2021-08-31T23:46:43Z")

</div>

How can I modify my BP\_Master Interactable Object to give it an editable text field in the details panel? The children of this would inherit this editable text field. From here, I would like to create a widget with a te…

---

## [Unreal Python scripting with IDE recommended workflow](https://forums.unrealengine.com/t/unreal-python-scripting-with-ide-recommended-workflow/248193)

<div class="topic-metadata">

**Author:** [@barakooda.com](https://forums.unrealengine.com/u/barakooda.com)\
**Replies:** 0\
**Last updated:** [August 31, 2021, 7:44am UTC](https://forums.unrealengine.com/t/unreal-python-scripting-with-ide-recommended-workflow/248193 "2021-08-31T07:44:13Z")

</div>

Hi there! Either using Visual studio code, Pycharm or other IDE. I\`m looking for guidelines on recommended unreal python scripting workflow . Wish it will include remote running and debugging from the IDE ( visual stu…

---

## [Why does packaging change the order of creations of GameMode and other widgets?](https://forums.unrealengine.com/t/why-does-packaging-change-the-order-of-creations-of-gamemode-and-other-widgets/488200)

<div class="topic-metadata">

**Author:** [@lilcaesar](https://forums.unrealengine.com/u/lilcaesar)\
**Replies:** 1\
**Last updated:** [August 30, 2021, 5:56pm UTC](https://forums.unrealengine.com/t/why-does-packaging-change-the-order-of-creations-of-gamemode-and-other-widgets/488200 "2021-08-30T17:56:35Z")

</div>

After playing with a packaged project, I noticed that my Settings widget (who calls a GameMode function to fill mouse-related settings from savegame) got a -1 value. This value is returned when GameInstance is null. As f…

---

## [Trying to Make an Editor Script that Needs to Find All JSON Files in a folder, File Utils Nodes Missing](https://forums.unrealengine.com/t/trying-to-make-an-editor-script-that-needs-to-find-all-json-files-in-a-folder-file-utils-nodes-missing/247673)

<div class="topic-metadata">

**Author:** [@Miraj\_Person](https://forums.unrealengine.com/u/Miraj_Person)\
**Replies:** 1\
**Last updated:** [August 30, 2021, 4:06pm UTC](https://forums.unrealengine.com/t/trying-to-make-an-editor-script-that-needs-to-find-all-json-files-in-a-folder-file-utils-nodes-missing/247673 "2021-08-30T16:06:34Z")

</div>

Hi, so I want to make an blueprint editor script that reads through and process all JSON files in a given directory. Unreal documentation seems to show many useful nodes, but when I actually try to find the nodes in the …

---

## [Reloading an asset in 4.26.1(source) breaks it's references](https://forums.unrealengine.com/t/reloading-an-asset-in-4-26-1-source-breaks-its-references/488001)

<div class="topic-metadata">

**Author:** [@zgzg2020](https://forums.unrealengine.com/u/zgzg2020)\
**Replies:** 1\
**Last updated:** [August 29, 2021, 1:17am UTC](https://forums.unrealengine.com/t/reloading-an-asset-in-4-26-1-source-breaks-its-references/488001 "2021-08-29T01:17:40Z")

</div>

Hi, The Question I am asking is there a way to to recreate all references automatically by the engine? –Read below to understand the situation. Migrated from 4.21(launcher) to 4.26(source), and happy My project was …

---

## [Expose struct operators to Blueprint](https://forums.unrealengine.com/t/expose-struct-operators-to-blueprint/462920)

<div class="topic-metadata">

**Author:** [@LordStuff](https://forums.unrealengine.com/u/LordStuff)\
**Replies:** 5\
**Last updated:** [August 28, 2021, 7:07pm UTC](https://forums.unrealengine.com/t/expose-struct-operators-to-blueprint/462920 "2021-08-28T19:07:50Z")

</div>

Hi there! I have structs defined in c++ and want to expose custom operators to Blueprint (like at least adding two structs). Is this even possible? I can’t mark them as UFUNCTION as USTRUCT cannot have those. Thanks a…

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

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