# Editor Scripting

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

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

**Page:** 43

---

## [render settings : custom burn-in automation via python](https://forums.unrealengine.com/t/render-settings-custom-burn-in-automation-via-python/154234)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_ffb97c02](https://forums.unrealengine.com/u/anonymous_user_ffb97c02)\
**Replies:** 2\
**Last updated:** [December 12, 2020, 10:02am UTC](https://forums.unrealengine.com/t/render-settings-custom-burn-in-automation-via-python/154234 "2020-12-12T10:02:49Z")

</div>

Hello, We record our takes via the take recorder with incoming mocap data from xsense. These takes are named as per the production departments naming scheme. When shooting finishes we have to turn in the renders for e…

---

## [variable out of scope](https://forums.unrealengine.com/t/variable-out-of-scope/475013)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_f30d5242](https://forums.unrealengine.com/u/anonymous_user_f30d5242)\
**Replies:** 2\
**Last updated:** [December 10, 2020, 8:56pm UTC](https://forums.unrealengine.com/t/variable-out-of-scope/475013 "2020-12-10T20:56:01Z")

</div>

Hi, I think this question has come up a lot, and I haven’t been able to fix it. I want to set my players default FOV on begin play from the level BP. I tried doing it in the first person character BP aswell, because I …

---

## [How to disable interactions ingame when Inventory is open?](https://forums.unrealengine.com/t/how-to-disable-interactions-ingame-when-inventory-is-open/475695)

<div class="topic-metadata">

**Author:** [@miloCody](https://forums.unrealengine.com/u/miloCody)\
**Replies:** 3\
**Last updated:** [December 10, 2020, 5:16pm UTC](https://forums.unrealengine.com/t/how-to-disable-interactions-ingame-when-inventory-is-open/475695 "2020-12-10T17:16:06Z")

</div>

I’m trying to figure out how to make it so when you open your inventory (Pressing “I”) you can’t move around in game, jump, shoot, aim until the inventory is closed (Letting go of “I”). Is there a more simple way to do …

---

## [Python - Get parent class](https://forums.unrealengine.com/t/python-get-parent-class/148024)

<div class="topic-metadata">

**Author:** [@GEODVS](https://forums.unrealengine.com/u/GEODVS)\
**Replies:** 3\
**Last updated:** [December 9, 2020, 11:58pm UTC](https://forums.unrealengine.com/t/python-get-parent-class/148024 "2020-12-09T23:58:23Z")

</div>

Hi, How do I get the parent class from a list of blueprints? i.e Blueprint Actor Class, Character, Pawn Class. etc? I can’t find the method that will return ‘Actor’, ‘Character’ , ‘Pawn’ as the class. I tried asset\_c…

---

## [How do I access Blueprint::BlueprintType in Python?](https://forums.unrealengine.com/t/how-do-i-access-blueprint-blueprinttype-in-python/475685)

<div class="topic-metadata">

**Author:** [@Chad\_Vernon](https://forums.unrealengine.com/u/Chad_Vernon)\
**Replies:** 1\
**Last updated:** [December 9, 2020, 11:39pm UTC](https://forums.unrealengine.com/t/how-do-i-access-blueprint-blueprinttype-in-python/475685 "2020-12-09T23:39:12Z")

</div>

Blueprint::BlueprintType does not seem to be accessible in Python. How would one access it?

---

## [Find references](https://forums.unrealengine.com/t/find-references/475567)

<div class="topic-metadata">

**Author:** [@OverkillBY](https://forums.unrealengine.com/u/OverkillBY)\
**Replies:** 1\
**Last updated:** [December 8, 2020, 11:43am UTC](https://forums.unrealengine.com/t/find-references/475567 "2020-12-08T11:43:50Z")

</div>

How do I find a specific place of use? For ex: I want to be immediately redirected to the type of grass

---

## [4.16 macro has no variable delete button](https://forums.unrealengine.com/t/4-16-macro-has-no-variable-delete-button/399922)

<div class="topic-metadata">

**Author:** [@Pirog](https://forums.unrealengine.com/u/Pirog)\
**Replies:** 2\
**Last updated:** [December 8, 2020, 6:54am UTC](https://forums.unrealengine.com/t/4-16-macro-has-no-variable-delete-button/399922 "2020-12-08T06:54:24Z")

</div>

Here’s an illustration: \[GIF\]\[1\] There is no way of removing any input and output variables from the macro, only able to add new ones.

---

## [Why not save everything to the game persistence level?](https://forums.unrealengine.com/t/why-not-save-everything-to-the-game-persistence-level/475446)

<div class="topic-metadata">

**Author:** [@mrstarks510](https://forums.unrealengine.com/u/mrstarks510)\
**Replies:** 3\
**Last updated:** [December 7, 2020, 10:50am UTC](https://forums.unrealengine.com/t/why-not-save-everything-to-the-game-persistence-level/475446 "2020-12-07T10:50:07Z")

</div>

Hi mrstarks510 I need to clarify a few things you said: I learned save my character stats to the player controller and not the player pawn as it will be destroyed during level transfer and the controller will like…

---

## [Sort Array Inventory by Amount](https://forums.unrealengine.com/t/sort-array-inventory-by-amount/444236)

<div class="topic-metadata">

**Author:** [@vinstriano](https://forums.unrealengine.com/u/vinstriano)\
**Replies:** 15\
**Last updated:** [December 3, 2020, 7:20pm UTC](https://forums.unrealengine.com/t/sort-array-inventory-by-amount/444236 "2020-12-03T19:20:28Z")

</div>

Hi, i’m working on an inventory system and i need “update inventory”, how can I order my STRUCT Array by deleting the indexes that have the amount 0 when it’s used by the player? It’s 2 days I’m trying to find something …

---

## [Editor Utility Widget and Particle Parameters](https://forums.unrealengine.com/t/editor-utility-widget-and-particle-parameters/154495)

<div class="topic-metadata">

**Author:** [@tobra](https://forums.unrealengine.com/u/tobra)\
**Replies:** 0\
**Last updated:** [December 3, 2020, 11:12am UTC](https://forums.unrealengine.com/t/editor-utility-widget-and-particle-parameters/154495 "2020-12-03T11:12:52Z")

</div>

Does anybody know, if the possibility to manipulate particle parameters is implemented in the Editor Utility Widget? Been experimenting for a while - it seems that you don’t have access to these parameters in the Editor…

---

## [Inventory Query - remove item](https://forums.unrealengine.com/t/inventory-query-remove-item/475232)

<div class="topic-metadata">

**Author:** [@CakoSVK](https://forums.unrealengine.com/u/CakoSVK)\
**Replies:** 10\
**Last updated:** [December 1, 2020, 6:51pm UTC](https://forums.unrealengine.com/t/inventory-query-remove-item/475232 "2020-12-01T18:51:23Z")

</div>

Hello! First sorry for my bad English. I follow tutorial series from youtube, but I’ve been stuck all day with this problem. I create Inventory Query function and work very well. basically, I’m done everything but I …

---

## [Python create a window with a text input field?](https://forums.unrealengine.com/t/python-create-a-window-with-a-text-input-field/154367)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_644a2606](https://forums.unrealengine.com/u/anonymous_user_644a2606)\
**Replies:** 0\
**Last updated:** [November 30, 2020, 9:22pm UTC](https://forums.unrealengine.com/t/python-create-a-window-with-a-text-input-field/154367 "2020-11-30T21:22:39Z")

</div>

Is this even possible with the built in Python plugin? I know it was possible and easy to do with the third party plugin but I’m not finding anything in the very limited API documentation to suggest this is possible.

---

## [Returning a variable from a different class crashes the engine.](https://forums.unrealengine.com/t/returning-a-variable-from-a-different-class-crashes-the-engine/475223)

<div class="topic-metadata">

**Author:** [@stareping](https://forums.unrealengine.com/u/stareping)\
**Replies:** 2\
**Last updated:** [November 30, 2020, 3:48pm UTC](https://forums.unrealengine.com/t/returning-a-variable-from-a-different-class-crashes-the-engine/475223 "2020-11-30T15:48:04Z")

</div>

Hello, whenever I run this and execute the function, the engine crashes. void APawnTank::Power() { ATankGameModeBase \* useThis; useThis = Cast\<ATankGameModeBase\>(GetController()); variableNumber = …

---

## [Load level crash editor](https://forums.unrealengine.com/t/load-level-crash-editor/154353)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_462a5de6](https://forums.unrealengine.com/u/anonymous_user_462a5de6)\
**Replies:** 1\
**Last updated:** [November 30, 2020, 2:21pm UTC](https://forums.unrealengine.com/t/load-level-crash-editor/154353 "2020-11-30T14:21:18Z")

</div>

Hi all ! I made a widget editor that can open a level selected from a comboboxstring array. When selected, it uses the LoadLevel node with the path to the level to open it. But most of the time (not always), the edito…

---

## [Using get\_editor\_property on a DynamicMaterialInstance to get Group of parameter](https://forums.unrealengine.com/t/using-get_editor_property-on-a-dynamicmaterialinstance-to-get-group-of-parameter/154263)

<div class="topic-metadata">

**Author:** [@Nogbit](https://forums.unrealengine.com/u/Nogbit)\
**Replies:** 0\
**Last updated:** [November 28, 2020, 5:27am UTC](https://forums.unrealengine.com/t/using-get_editor_property-on-a-dynamicmaterialinstance-to-get-group-of-parameter/154263 "2020-11-28T05:27:50Z")

</div>

I need to get the Group name that is set for each property on a Material. I’m able to do this in C++ but liking Python right now for this. The Group name exist here in Python. I just don’t see what object I should be us…

---

## [Really weird level error](https://forums.unrealengine.com/t/really-weird-level-error/153899)

<div class="topic-metadata">

**Author:** [@Suuri\_Johtaja](https://forums.unrealengine.com/u/Suuri_Johtaja)\
**Replies:** 6\
**Last updated:** [November 27, 2020, 11:33am UTC](https://forums.unrealengine.com/t/really-weird-level-error/153899 "2020-11-27T11:33:54Z")

</div>

Im having really really weird problem on my game. I have perfectly working thirdpersoncharacter, I can move and jump in other levels, but on one level, I cant move around, I can only jump, and thirdpersoncharacter wont c…

---

## [Switch editor mode to Meshpaint](https://forums.unrealengine.com/t/switch-editor-mode-to-meshpaint/154219)

<div class="topic-metadata">

**Author:** [@aliasense](https://forums.unrealengine.com/u/aliasense)\
**Replies:** 0\
**Last updated:** [November 27, 2020, 6:10am UTC](https://forums.unrealengine.com/t/switch-editor-mode-to-meshpaint/154219 "2020-11-27T06:10:40Z")

</div>

How can one switch the Editor to Meshpaint mode? And how can one set the paint color and mask settings of the mesh paint tool programmatically? The console command MODE MESHPAINT does not do anything in the console. How…

---

## [Trying to remove clatter with Called Events (Blueprints)](https://forums.unrealengine.com/t/trying-to-remove-clatter-with-called-events-blueprints/154192)

<div class="topic-metadata">

**Author:** [@Epidj](https://forums.unrealengine.com/u/Epidj)\
**Replies:** 0\
**Last updated:** [November 26, 2020, 2:49pm UTC](https://forums.unrealengine.com/t/trying-to-remove-clatter-with-called-events-blueprints/154192 "2020-11-26T14:49:22Z")

</div>

So im working on a small project right now and im starting to get a lot of connections in my Graphs. so i want to cut down on the wiring und use called events within the same Blueprint Example in the Picture: Everythin…

---

## [How to implement/Ideas for Global UStructs/UEnums?](https://forums.unrealengine.com/t/how-to-implement-ideas-for-global-ustructs-uenums/474933)

<div class="topic-metadata">

**Author:** [@MrCodyGaming](https://forums.unrealengine.com/u/MrCodyGaming)\
**Replies:** 10\
**Last updated:** [November 25, 2020, 2:31pm UTC](https://forums.unrealengine.com/t/how-to-implement-ideas-for-global-ustructs-uenums/474933 "2020-11-25T14:31:21Z")

</div>

Hey guys, Just got a question as I’m still pretty new to Unreal C++ and I’m just wondering how you guys handle UStructs that you need to call globally. Do you guys just put them all into one header file and then call t…

---

## [Replace Material Python Script??](https://forums.unrealengine.com/t/replace-material-python-script/120028)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_439d1c3f](https://forums.unrealengine.com/u/anonymous_user_439d1c3f)\
**Replies:** 8\
**Last updated:** [November 24, 2020, 11:18pm UTC](https://forums.unrealengine.com/t/replace-material-python-script/120028 "2020-11-24T23:18:09Z")

</div>

I’m trying to re-create the script that’s seen in this video at the 0:57 mark, but not having any luck. Nothing seems to happen and I figure I might have the syntax incorrect. Any suggestions? import unre…

---

## [How to script Content Browser - Advanced Search](https://forums.unrealengine.com/t/how-to-script-content-browser-advanced-search/474965)

<div class="topic-metadata">

**Author:** [@Nogbit](https://forums.unrealengine.com/u/Nogbit)\
**Replies:** 0\
**Last updated:** [November 24, 2020, 8:40pm UTC](https://forums.unrealengine.com/t/how-to-script-content-browser-advanced-search/474965 "2020-11-24T20:40:39Z")

</div>

The content browser has an Advanced Search feature. I would like to use Python to script that for some of my use cases. However, all of the asset registry classes I see use the basic ARFilter which when combined with u…

---

## [how to create mult game instance or merge them?](https://forums.unrealengine.com/t/how-to-create-mult-game-instance-or-merge-them/474889)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_db55f6ce1](https://forums.unrealengine.com/u/anonymous_user_db55f6ce1)\
**Replies:** 1\
**Last updated:** [November 23, 2020, 1:48pm UTC](https://forums.unrealengine.com/t/how-to-create-mult-game-instance-or-merge-them/474889 "2020-11-23T13:48:21Z")

</div>

I need more than one game instance in my game one is for saving and loading the game and the other one for connecting to the database it has only the user-id, but I should only assign one game instance to "game instance …

---

## [Having trouble getting enemy character stats on a widget.](https://forums.unrealengine.com/t/having-trouble-getting-enemy-character-stats-on-a-widget/146279)

<div class="topic-metadata">

**Author:** [@Garousome](https://forums.unrealengine.com/u/Garousome)\
**Replies:** 1\
**Last updated:** [November 21, 2020, 8:53am UTC](https://forums.unrealengine.com/t/having-trouble-getting-enemy-character-stats-on-a-widget/146279 "2020-11-21T08:53:26Z")

</div>

In my game currently, I have an enemy running around in my level. If you click on him, a character sheet of him pops up. As you can see, the text block on the left is bound to GetText\_0. I was following a youtu…

---

## [Importing FBX camera to CameraAnimationSequence in python](https://forums.unrealengine.com/t/importing-fbx-camera-to-cameraanimationsequence-in-python/152618)

<div class="topic-metadata">

**Author:** [@DarylAtkins](https://forums.unrealengine.com/u/DarylAtkins)\
**Replies:** 2\
**Last updated:** [November 20, 2020, 5:38am UTC](https://forums.unrealengine.com/t/importing-fbx-camera-to-cameraanimationsequence-in-python/152618 "2020-11-20T05:38:09Z")

</div>

Hi there, I can’t seem to use python to import cameras to the new CameraAnimationSequence templates. I can import fine with regular level sequences using: unreal.SequencerTools.import\_fbx(world, sequence, bindings, im…

---

## [c++ GLevelEditorModeTools().IsModeActive(FBuiltinEditorModes::EM\_MeshPaint) always returns false](https://forums.unrealengine.com/t/c-gleveleditormodetools-ismodeactive-fbuiltineditormodes-em_meshpaint-always-returns-false/153908)

<div class="topic-metadata">

**Author:** [@aliasense](https://forums.unrealengine.com/u/aliasense)\
**Replies:** 0\
**Last updated:** [November 19, 2020, 8:03pm UTC](https://forums.unrealengine.com/t/c-gleveleditormodetools-ismodeactive-fbuiltineditormodes-em_meshpaint-always-returns-false/153908 "2020-11-19T20:03:23Z")

</div>

bool meshpaint\_active = GLevelEditorModeTools().IsModeActive(FBuiltinEditorModes::EM\_MeshPaint); seem to return always false even when MeshPaint mode is active in the Editor. Any solutions / work arounds?

---

## [Imported Material Slot Name lost after assigning a material to a mesh via Python](https://forums.unrealengine.com/t/imported-material-slot-name-lost-after-assigning-a-material-to-a-mesh-via-python/153862)

<div class="topic-metadata">

**Author:** [@KBeu](https://forums.unrealengine.com/u/KBeu)\
**Replies:** 0\
**Last updated:** [November 18, 2020, 11:55pm UTC](https://forums.unrealengine.com/t/imported-material-slot-name-lost-after-assigning-a-material-to-a-mesh-via-python/153862 "2020-11-18T23:55:38Z")

</div>

Hi, I’m working on a python script to help automate the process of importing our assets and setting up their materials. For my test case, in Maya I have a mesh with a single material assigned to it named “mat\_01”. After…

---

## [Accessing Quest 2 button presses in Editor VR mode](https://forums.unrealengine.com/t/accessing-quest-2-button-presses-in-editor-vr-mode/153695)

<div class="topic-metadata">

**Author:** [@instasquid](https://forums.unrealengine.com/u/instasquid)\
**Replies:** 0\
**Last updated:** [November 16, 2020, 3:57am UTC](https://forums.unrealengine.com/t/accessing-quest-2-button-presses-in-editor-vr-mode/153695 "2020-11-16T03:57:36Z")

</div>

I’m trying to set up a custom control to use while in the Editor’s VR mode and VP scouting tools. I was hoping to be able to attach my custom Blueprint to the Quest 2’s unused Left Controller Menu button, only I cannot f…

---

## [Import point cloud from Python without import dialogue](https://forums.unrealengine.com/t/import-point-cloud-from-python-without-import-dialogue/153463)

<div class="topic-metadata">

**Author:** [@aliasense](https://forums.unrealengine.com/u/aliasense)\
**Replies:** 1\
**Last updated:** [November 15, 2020, 4:24am UTC](https://forums.unrealengine.com/t/import-point-cloud-from-python-without-import-dialogue/153463 "2020-11-15T04:24:17Z")

</div>

If importing a lidar point cloud via Python, how can we automatically set the color range, and columns without having to manually fill out the import dialogue each time? import unreal AssetTools = unreal.AssetToolsHelp…

---

## [Item detection for pick up line trace or collision?](https://forums.unrealengine.com/t/item-detection-for-pick-up-line-trace-or-collision/474470)

<div class="topic-metadata">

**Author:** [@seky728](https://forums.unrealengine.com/u/seky728)\
**Replies:** 2\
**Last updated:** [November 14, 2020, 6:10pm UTC](https://forums.unrealengine.com/t/item-detection-for-pick-up-line-trace-or-collision/474470 "2020-11-14T18:10:32Z")

</div>

In case if you are using standart shapes (cube, sphere, capsule) as collisions it is a little bit simplier to just check intersection of shapes (in most cases just one calculation). Linetrace require some more. Sometimes…

---

## [UE4 Compiler without Printed Reference Manual ? wtf](https://forums.unrealengine.com/t/ue4-compiler-without-printed-reference-manual-wtf/474421)

<div class="topic-metadata">

**Author:** [@pyrodigy](https://forums.unrealengine.com/u/pyrodigy)\
**Replies:** 2\
**Last updated:** [November 13, 2020, 8:56pm UTC](https://forums.unrealengine.com/t/ue4-compiler-without-printed-reference-manual-wtf/474421 "2020-11-13T20:56:21Z")

</div>

Great compiler but there is no printable reference manual to explain all blueprint executor, actions…ext in their doc page or in the net. Shame on you Epic Games !

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

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