# Editor Scripting

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

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

**Page:** 49

---

## [Does the API offer support for mesh operations?](https://forums.unrealengine.com/t/does-the-api-offer-support-for-mesh-operations/148943)

<div class="topic-metadata">

**Author:** [@i73](https://forums.unrealengine.com/u/i73)\
**Replies:** 0\
**Last updated:** [August 9, 2020, 8:17pm UTC](https://forums.unrealengine.com/t/does-the-api-offer-support-for-mesh-operations/148943 "2020-08-09T20:17:28Z")

</div>

I’ve looked over the API library for anything to do with lower level mesh operations (checking face normals, setting face normals) Looking over the StaticMeshLibrary https://docs.unrealengine.com/en-US/…shLibrary.html an…

---

## [General questions related to Unreal](https://forums.unrealengine.com/t/general-questions-related-to-unreal/469396)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_d1df12f5](https://forums.unrealengine.com/u/anonymous_user_d1df12f5)\
**Replies:** 0\
**Last updated:** [August 8, 2020, 10:53am UTC](https://forums.unrealengine.com/t/general-questions-related-to-unreal/469396 "2020-08-08T10:53:09Z")

</div>

Hi All, I hope this is the right thread to ask these questions. I will start from the end, I want to start and create an environment using the Unreal engine because of the project acoustics plugin which is needed to ob…

---

## ["Get Attach Parent Actor" can't get attach parent actor](https://forums.unrealengine.com/t/get-attach-parent-actor-cant-get-attach-parent-actor/469319)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_f4d6ccb8](https://forums.unrealengine.com/u/anonymous_user_f4d6ccb8)\
**Replies:** 5\
**Last updated:** [August 7, 2020, 9:09am UTC](https://forums.unrealengine.com/t/get-attach-parent-actor-cant-get-attach-parent-actor/469319 "2020-08-07T09:09:27Z")

</div>

I want to create a wind that blows the actors in the volume. I attached the blueprint named “Wind” to volume named “WindVolume”, so I think “Wind” 's attach parent actor is “WindVolume”. But when I call “Get Attac…

---

## [用UE4Editor-Cmd.exe执行python脚本时怎样直接传入脚本参数](https://forums.unrealengine.com/t/ue4editor-cmd-exe-python/469307)

<div class="topic-metadata">

**Author:** [@Jdian666](https://forums.unrealengine.com/u/Jdian666)\
**Replies:** 1\
**Last updated:** [August 7, 2020, 3:37am UTC](https://forums.unrealengine.com/t/ue4editor-cmd-exe-python/469307 "2020-08-07T03:37:59Z")

</div>

各位大佬好。我想问一下使用ue4editor-cmd使用python脚本时，怎么样传入脚本的参数。 这是我的脚本，一个很简单的脚本： 他可以把我输入的额为参数打印出来。 我可以用其它的解释器，或者maya中的mayapy.exe做到以下效果 我可以在最后跟上其他参数，并可以用脚本打印出来 在unreal中我应该如何做到 我目前只能将参数保存在一个文件里，然后运行时让脚本读取文件内的内容这个办法。请问可以直接使…

---

## [How to update C++ struct and refresh the Blueprints](https://forums.unrealengine.com/t/how-to-update-c-struct-and-refresh-the-blueprints/468472)

<div class="topic-metadata">

**Author:** [@plamenterziev](https://forums.unrealengine.com/u/plamenterziev)\
**Replies:** 4\
**Last updated:** [August 4, 2020, 5:56pm UTC](https://forums.unrealengine.com/t/how-to-update-c-struct-and-refresh-the-blueprints/468472 "2020-08-04T17:56:36Z")

</div>

I’ve created C++ struct, which is exposed to the Blueprints using USTRUCT(BlueprintType) I am already using the struct in few blueprints. However I need to add new property to the struct. After adding that property all …

---

## [Can't load valid save game](https://forums.unrealengine.com/t/cant-load-valid-save-game/469092)

<div class="topic-metadata">

**Author:** [@Nepgupmixpro](https://forums.unrealengine.com/u/Nepgupmixpro)\
**Replies:** 14\
**Last updated:** [August 3, 2020, 9:42pm UTC](https://forums.unrealengine.com/t/cant-load-valid-save-game/469092 "2020-08-03T21:42:42Z")

</div>

The title says it all really. I’m trying to load a valid save game and it won’t load it from the main menu.

---

## [Save Objects](https://forums.unrealengine.com/t/save-objects/468761)

<div class="topic-metadata">

**Author:** [@Mint\_Gorillaz](https://forums.unrealengine.com/u/Mint_Gorillaz)\
**Replies:** 10\
**Last updated:** [August 1, 2020, 9:51am UTC](https://forums.unrealengine.com/t/save-objects/468761 "2020-08-01T09:51:38Z")

</div>

Have asked before but still cannot figure it out… GOAL: Pick up a coin, the coin is destroyed. Exit Game or level and reopen and the coin is still gone? So apparently I need to use array variable, save the game object …

---

## [Input Event while mouse is hovering widget?](https://forums.unrealengine.com/t/input-event-while-mouse-is-hovering-widget/469003)

<div class="topic-metadata">

**Author:** [@zSSkitzz](https://forums.unrealengine.com/u/zSSkitzz)\
**Replies:** 2\
**Last updated:** [July 31, 2020, 9:28pm UTC](https://forums.unrealengine.com/t/input-event-while-mouse-is-hovering-widget/469003 "2020-07-31T21:28:28Z")

</div>

make the widget Focusable and ensure that at least 1 element is set to Visible give it focus onMouseEnter and remove it onMouseLeave override onKeyDown to intercept a keystroke and check which key was pressed if the r…

---

## [disable/enable actor how destroy/spawn](https://forums.unrealengine.com/t/disable-enable-actor-how-destroy-spawn/148191)

<div class="topic-metadata">

**Author:** [@Kognor](https://forums.unrealengine.com/u/Kognor)\
**Replies:** 2\
**Last updated:** [July 31, 2020, 8:12am UTC](https://forums.unrealengine.com/t/disable-enable-actor-how-destroy-spawn/148191 "2020-07-31T08:12:13Z")

</div>

Good afternoon everyone. I need to hide my actor. A bunch of set actor hidden in game and set actor enabled collision and set actor tick enabled does not suit me, because after disabling the collision, the object starts …

---

## [Scripting connecting to source control](https://forums.unrealengine.com/t/scripting-connecting-to-source-control/148359)

<div class="topic-metadata">

**Author:** [@Tom\_Nexus\_Stud](https://forums.unrealengine.com/u/Tom_Nexus_Stud)\
**Replies:** 0\
**Last updated:** [July 30, 2020, 7:40pm UTC](https://forums.unrealengine.com/t/scripting-connecting-to-source-control/148359 "2020-07-30T19:40:54Z")

</div>

Hi, I’m very new to UE but I’m needing to bring it into our animation pipeline. I want to automate the process of connecting to Perforce. That is, instead of the user clicking the Source Control tool button, setting the…

---

## [What is the best practice for storing a reference to a component belonging to another actor?](https://forums.unrealengine.com/t/what-is-the-best-practice-for-storing-a-reference-to-a-component-belonging-to-another-actor/468830)

<div class="topic-metadata">

**Author:** [@clockwise\_mu](https://forums.unrealengine.com/u/clockwise_mu)\
**Replies:** 1\
**Last updated:** [July 29, 2020, 4:56pm UTC](https://forums.unrealengine.com/t/what-is-the-best-practice-for-storing-a-reference-to-a-component-belonging-to-another-actor/468830 "2020-07-29T16:56:09Z")

</div>

What is the best practice for referencing a component to another actor? I am storing references to components that belong to other actors within certain actors. I am wondering what the suggested way to implement this, i…

---

## ["Gather text" fail without error in log](https://forums.unrealengine.com/t/gather-text-fail-without-error-in-log/148289)

<div class="topic-metadata">

**Author:** [@Fr-Helios](https://forums.unrealengine.com/u/Fr-Helios)\
**Replies:** 0\
**Last updated:** [July 29, 2020, 4:00pm UTC](https://forums.unrealengine.com/t/gather-text-fail-without-error-in-log/148289 "2020-07-29T16:00:26Z")

</div>

Hello eveyone, I have critical problem recently. When I try “Gather text” option for localize, I have a fail result without error log in gather windows. When can I see complete log result for know where the error? Tha…

---

## [Is it possible to automatically generate UserWidget assets in Script?](https://forums.unrealengine.com/t/is-it-possible-to-automatically-generate-userwidget-assets-in-script/147615)

<div class="topic-metadata">

**Author:** [@itouh2](https://forums.unrealengine.com/u/itouh2)\
**Replies:** 4\
**Last updated:** [July 28, 2020, 6:02am UTC](https://forums.unrealengine.com/t/is-it-possible-to-automatically-generate-userwidget-assets-in-script/147615 "2020-07-28T06:02:13Z")

</div>

We are trying to auto-generate a UserWidget asset from a Json file. I can create widget instances and uasset files with python script. right underneath asset\_tools = unreal.AssetToolsHelpers.get\_asset\_tools() widget\_b…

---

## [Python Commandlet and AssetRegistry](https://forums.unrealengine.com/t/python-commandlet-and-assetregistry/148173)

<div class="topic-metadata">

**Author:** [@TooL](https://forums.unrealengine.com/u/TooL)\
**Replies:** 0\
**Last updated:** [July 27, 2020, 3:30pm UTC](https://forums.unrealengine.com/t/python-commandlet-and-assetregistry/148173 "2020-07-27T15:30:03Z")

</div>

Hey everyone, so I’ve been trying to scrape some material values from UE. I have a py script that works when run in the Editor directly and when I run through commandline with ExecutePythonScript but not if I do it as a …

---

## [Blueprint TMap 'Find' not returning values by reference](https://forums.unrealengine.com/t/blueprint-tmap-find-not-returning-values-by-reference/386051)

<div class="topic-metadata">

**Author:** [@JmDevTx](https://forums.unrealengine.com/u/JmDevTx)\
**Replies:** 15\
**Last updated:** [July 26, 2020, 6:01am UTC](https://forums.unrealengine.com/t/blueprint-tmap-find-not-returning-values-by-reference/386051 "2020-07-26T06:01:01Z")

</div>

It seems as if the ‘Find’ node for the newly released TMap container does not return values by reference (Though I believe it is meant to). A quick way to check this is to create a TMap with any key or value type (I used…

---

## [Is it possible to turn ON raytrace through the cmd line?](https://forums.unrealengine.com/t/is-it-possible-to-turn-on-raytrace-through-the-cmd-line/148108)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_886519d51](https://forums.unrealengine.com/u/anonymous_user_886519d51)\
**Replies:** 0\
**Last updated:** [July 26, 2020, 1:19am UTC](https://forums.unrealengine.com/t/is-it-possible-to-turn-on-raytrace-through-the-cmd-line/148108 "2020-07-26T01:19:10Z")

</div>

Some of the raytrace settings exists within the Properties panel of the project. I am building my own lighting menus with blueprint utilities. I have not been able to find a way to change the Properties through blueprint…

---

## [How can I add a splitter widget in a Editor Utility Widget blueprint](https://forums.unrealengine.com/t/how-can-i-add-a-splitter-widget-in-a-editor-utility-widget-blueprint/147504)

<div class="topic-metadata">

**Author:** [@JingleSpell](https://forums.unrealengine.com/u/JingleSpell)\
**Replies:** 2\
**Last updated:** [July 24, 2020, 10:14pm UTC](https://forums.unrealengine.com/t/how-can-i-add-a-splitter-widget-in-a-editor-utility-widget-blueprint/147504 "2020-07-24T22:14:40Z")

</div>

Hello! I’d like to add a splitter widget between two boxes that a user could resize within a Editor Utility Widget, but I can’t find something that looks like this from what is provided right now. I put a silly example…

---

## [Get material slot names for static mesh in python.](https://forums.unrealengine.com/t/get-material-slot-names-for-static-mesh-in-python/468590)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_b58cf9e8](https://forums.unrealengine.com/u/anonymous_user_b58cf9e8)\
**Replies:** 2\
**Last updated:** [July 24, 2020, 4:09pm UTC](https://forums.unrealengine.com/t/get-material-slot-names-for-static-mesh-in-python/468590 "2020-07-24T16:09:00Z")

</div>

I am attempting to get the material slot names of a static mesh asset in the editor using python. However I cant seem to find a way to retrieve this information. I am able to do this easily for a skeletal mesh using mat…

---

## [Help! How can I get the AI actor location from my Animation Blueprint?](https://forums.unrealengine.com/t/help-how-can-i-get-the-ai-actor-location-from-my-animation-blueprint/468575)

<div class="topic-metadata">

**Author:** [@UraniumBonBeurre](https://forums.unrealengine.com/u/UraniumBonBeurre)\
**Replies:** 2\
**Last updated:** [July 23, 2020, 8:44pm UTC](https://forums.unrealengine.com/t/help-how-can-i-get-the-ai-actor-location-from-my-animation-blueprint/468575 "2020-07-23T20:44:09Z")

</div>

I tried several things like “cast to”, etc… but none of them is working. It says there are errors… Any suggestions ?

---

## [Help! How can I get the AI actor location from my Animation Blueprint?](https://forums.unrealengine.com/t/help-how-can-i-get-the-ai-actor-location-from-my-animation-blueprint/468576)

<div class="topic-metadata">

**Author:** [@UraniumBonBeurre](https://forums.unrealengine.com/u/UraniumBonBeurre)\
**Replies:** 0\
**Last updated:** [July 23, 2020, 4:48pm UTC](https://forums.unrealengine.com/t/help-how-can-i-get-the-ai-actor-location-from-my-animation-blueprint/468576 "2020-07-23T16:48:47Z")

</div>

I tried several things like “cast to”, etc… but none of them is working. It says there are errors… Any suggestions ?

---

## [Problem with saving game](https://forums.unrealengine.com/t/problem-with-saving-game/468536)

<div class="topic-metadata">

**Author:** [@KAT\_Editor](https://forums.unrealengine.com/u/KAT_Editor)\
**Replies:** 5\
**Last updated:** [July 23, 2020, 4:45pm UTC](https://forums.unrealengine.com/t/problem-with-saving-game/468536 "2020-07-23T16:45:11Z")

</div>

Hello, for example I have finished first tutorial level, and in save file tutorial=1 (only tutorial variable changed), then I going to options (another level), and changed something (only options variables changed), but …

---

## [RTS Wall Construction and generating connecting meshes.](https://forums.unrealengine.com/t/rts-wall-construction-and-generating-connecting-meshes/147927)

<div class="topic-metadata">

**Author:** [@MTGraves83](https://forums.unrealengine.com/u/MTGraves83)\
**Replies:** 0\
**Last updated:** [July 23, 2020, 4:13am UTC](https://forums.unrealengine.com/t/rts-wall-construction-and-generating-connecting-meshes/147927 "2020-07-23T04:13:54Z")

</div>

Hello, I don’t have much experience with UE4 so any assistance is greatly appreciated. Thanks up front. I’m working on an RTS game like old C&C or AoE, and want to have the player be able to construct walls. Basically s…

---

## [Using LiveLink To Implement On Other Software Besides Maya](https://forums.unrealengine.com/t/using-livelink-to-implement-on-other-software-besides-maya/427469)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_5fd52fca](https://forums.unrealengine.com/u/anonymous_user_5fd52fca)\
**Replies:** 4\
**Last updated:** [July 22, 2020, 6:12pm UTC](https://forums.unrealengine.com/t/using-livelink-to-implement-on-other-software-besides-maya/427469 "2020-07-22T18:12:31Z")

</div>

Looking into implementing a way to use LiveLink on other software besides Maya and Motionbuilder. I saw that the recommended path to do this is to integrate a Message Bus on said software to act as a data transmitter for…

---

## [Runtime tests in Python](https://forums.unrealengine.com/t/runtime-tests-in-python/144628)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_6de1e911](https://forums.unrealengine.com/u/anonymous_user_6de1e911)\
**Replies:** 1\
**Last updated:** [July 22, 2020, 2:58am UTC](https://forums.unrealengine.com/t/runtime-tests-in-python/144628 "2020-07-22T02:58:24Z")

</div>

HI! I would like to write game play logic and performance tests in Python. Do you know any solutions that can help me? If editor does not have such feature, for me it will be also suitable to have just running api (like…

---

## [Change Blueprint Variable on Runtime using Python Script](https://forums.unrealengine.com/t/change-blueprint-variable-on-runtime-using-python-script/147879)

<div class="topic-metadata">

**Author:** [@Kishikan](https://forums.unrealengine.com/u/Kishikan)\
**Replies:** 0\
**Last updated:** [July 21, 2020, 11:58pm UTC](https://forums.unrealengine.com/t/change-blueprint-variable-on-runtime-using-python-script/147879 "2020-07-21T23:58:54Z")

</div>

Is it possible to change Variable value of an Actor object blueprint in world according to python script result? Thank you in advance

---

## [2D characters incorrectly applying or recieving damage.](https://forums.unrealengine.com/t/2d-characters-incorrectly-applying-or-recieving-damage/223474)

<div class="topic-metadata">

**Author:** [@Ankreich](https://forums.unrealengine.com/u/Ankreich)\
**Replies:** 0\
**Last updated:** [July 21, 2020, 10:15pm UTC](https://forums.unrealengine.com/t/2d-characters-incorrectly-applying-or-recieving-damage/223474 "2020-07-21T22:15:15Z")

</div>

Hi, I’ve got a problem with my ApplyDamage and AnyDamage system. There are 2 character blueprints: AllyBP (knight) and EnemyBP (ninja). On EventHit they are supposed to fight each other. The problem is every time one of…

---

## [4.25 Custom UFactory not showing up in Context Menu?](https://forums.unrealengine.com/t/4-25-custom-ufactory-not-showing-up-in-context-menu/146287)

<div class="topic-metadata">

**Author:** [@Mercus](https://forums.unrealengine.com/u/Mercus)\
**Replies:** 1\
**Last updated:** [July 21, 2020, 2:48pm UTC](https://forums.unrealengine.com/t/4-25-custom-ufactory-not-showing-up-in-context-menu/146287 "2020-07-21T14:48:18Z")

</div>

Wrote here two days ago but got no response so far , just want to know if it’s an engine bug or a change since 4.24 or what? https://answers.unrealengine.com/que…6478/view.html Basically creating a custom factory doesn…

---

## [How to apply graphics options defined in a first Level (and stored in a SaveGame), in a second Level?](https://forums.unrealengine.com/t/how-to-apply-graphics-options-defined-in-a-first-level-and-stored-in-a-savegame-in-a-second-level/468339)

<div class="topic-metadata">

**Author:** [@UraniumBonBeurre](https://forums.unrealengine.com/u/UraniumBonBeurre)\
**Replies:** 4\
**Last updated:** [July 20, 2020, 1:34pm UTC](https://forums.unrealengine.com/t/how-to-apply-graphics-options-defined-in-a-first-level-and-stored-in-a-savegame-in-a-second-level/468339 "2020-07-20T13:34:27Z")

</div>

I followed a tutorial on how to make a functional menu to adjust my game’s graphics settings, apply them, and save them to the computer. Therefore, in my menu I adjust these parameters, then when I quit the game, I find …

---

## [Python Editor for UE 4.22](https://forums.unrealengine.com/t/python-editor-for-ue-4-22/124597)

<div class="topic-metadata">

**Author:** [@ZkarmaKun](https://forums.unrealengine.com/u/ZkarmaKun)\
**Replies:** 2\
**Last updated:** [July 20, 2020, 5:21am UTC](https://forums.unrealengine.com/t/python-editor-for-ue-4-22/124597 "2020-07-20T05:21:42Z")

</div>

\*\*Hi Guys Beta version 4.22: https://github.com/zkarmakun/PythonEditor\*\* Now that we have a kinda (experimental) official release of a plugin for Python code, I decided to work in something for myself in order to impro…

---

## [Is it possible to create a column of buttons on the world outliner like the visibility buttons?](https://forums.unrealengine.com/t/is-it-possible-to-create-a-column-of-buttons-on-the-world-outliner-like-the-visibility-buttons/147748)

<div class="topic-metadata">

**Author:** [@FabricioMSantos](https://forums.unrealengine.com/u/FabricioMSantos)\
**Replies:** 0\
**Last updated:** [July 19, 2020, 9:34pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-create-a-column-of-buttons-on-the-world-outliner-like-the-visibility-buttons/147748 "2020-07-19T21:34:38Z")

</div>

Does anyone know if it’s possible to create a column of buttons on the world outliner using the Editor Utility Blueprint or the Editor Utility Widget? if it’s only possible with C++, is there some plugin repository I ca…

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

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