# Editor Scripting

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

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

**Page:** 55

---

## [Executing run() from python in a EditorUtilityActor does nothing](https://forums.unrealengine.com/t/executing-run-from-python-in-a-editorutilityactor-does-nothing/137917)

<div class="topic-metadata">

**Author:** [@F.Oliva](https://forums.unrealengine.com/u/F.Oliva)\
**Replies:** 0\
**Last updated:** [February 10, 2020, 10:18am UTC](https://forums.unrealengine.com/t/executing-run-from-python-in-a-editorutilityactor-does-nothing/137917 "2020-02-10T10:18:17Z")

</div>

Hello everyone! I’ve been looking to find a way to run blueprints from python and I found that I could probably use the run() function on a Editor Utility Actor to do just that. The thing is… it does nothing. This is …

---

## [Update velocity to the actor's current rotation.](https://forums.unrealengine.com/t/update-velocity-to-the-actors-current-rotation/137903)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_dfe28fae1](https://forums.unrealengine.com/u/anonymous_user_dfe28fae1)\
**Replies:** 0\
**Last updated:** [February 10, 2020, 1:18am UTC](https://forums.unrealengine.com/t/update-velocity-to-the-actors-current-rotation/137903 "2020-02-10T01:18:26Z")

</div>

Hello, I am making a flight simulator, and need to know how to adjust the current actor’s velocity to it’s rotation. Right now the plane just continues in the original velocity the thrust from takeoff built up, and the c…

---

## [Editor Widget Utility and Sequencer](https://forums.unrealengine.com/t/editor-widget-utility-and-sequencer/137851)

<div class="topic-metadata">

**Author:** [@WolfyRig](https://forums.unrealengine.com/u/WolfyRig)\
**Replies:** 0\
**Last updated:** [February 8, 2020, 10:56pm UTC](https://forums.unrealengine.com/t/editor-widget-utility-and-sequencer/137851 "2020-02-08T22:56:04Z")

</div>

Hi, I wonder if anyone was able to use a slider inside a Editor widget and manipulate a key value inside the sequencer. One idea was maybe to use a blueprint with cube and manipulate transforms , who got updated inside…

---

## [Modifying BP Asset variables through BP Editor Scripting / Utility Widget](https://forums.unrealengine.com/t/modifying-bp-asset-variables-through-bp-editor-scripting-utility-widget/137789)

<div class="topic-metadata">

**Author:** [@kontzaa](https://forums.unrealengine.com/u/kontzaa)\
**Replies:** 0\
**Last updated:** [February 7, 2020, 9:02pm UTC](https://forums.unrealengine.com/t/modifying-bp-asset-variables-through-bp-editor-scripting-utility-widget/137789 "2020-02-07T21:02:56Z")

</div>

Hey Devs, I’m working on a visualizer project, and I’m stuck on something that I’m hoping someone can help with! The product I’m working on has multiple sets of ‘base models’, with little custom ‘addons’ that a custome…

---

## [Duplicating a sublevel in code/blueprint](https://forums.unrealengine.com/t/duplicating-a-sublevel-in-code-blueprint/137762)

<div class="topic-metadata">

**Author:** [@Robin\_Jubber](https://forums.unrealengine.com/u/Robin_Jubber)\
**Replies:** 0\
**Last updated:** [February 7, 2020, 12:45pm UTC](https://forums.unrealengine.com/t/duplicating-a-sublevel-in-code-blueprint/137762 "2020-02-07T12:45:02Z")

</div>

Hi - I’m trying to find out how to duplicate an asset using a blueprint utility. Specifically a sub-level (i.e. a umap asset). Obviously you can do it with the mouse in the content browser, but I’m trying to find a way t…

---

## [Auto import python modules?](https://forums.unrealengine.com/t/auto-import-python-modules/124482)

<div class="topic-metadata">

**Author:** [@cyaoeu](https://forums.unrealengine.com/u/cyaoeu)\
**Replies:** 4\
**Last updated:** [February 7, 2020, 12:26am UTC](https://forums.unrealengine.com/t/auto-import-python-modules/124482 "2020-02-07T00:26:12Z")

</div>

Is there a way to auto import python modules? (basically “import module” in python command field but without needing to type it for every module)

---

## [Python - 4.23 spawning unreal.Actor not creating sub sceneComponent](https://forums.unrealengine.com/t/python-4-23-spawning-unreal-actor-not-creating-sub-scenecomponent/130787)

<div class="topic-metadata">

**Author:** [@cgsquirrel2](https://forums.unrealengine.com/u/cgsquirrel2)\
**Replies:** 2\
**Last updated:** [February 6, 2020, 10:02pm UTC](https://forums.unrealengine.com/t/python-4-23-spawning-unreal-actor-not-creating-sub-scenecomponent/130787 "2020-02-06T22:02:20Z")

</div>

I am wanting to spawn a basic actor that has a sub scenecomponent (which gives the actor transform information). I was able to generate this before in earlier versions 4.21 and 4.22, but for some reason in 4.23 the only …

---

## [get component by class, selecting wrong class](https://forums.unrealengine.com/t/get-component-by-class-selecting-wrong-class/137707)

<div class="topic-metadata">

**Author:** [@Lareon](https://forums.unrealengine.com/u/Lareon)\
**Replies:** 0\
**Last updated:** [February 6, 2020, 11:01am UTC](https://forums.unrealengine.com/t/get-component-by-class-selecting-wrong-class/137707 "2020-02-06T11:01:22Z")

</div>

i just noticed some of my old blueprints are behaving unexpectedly but i’m not sure if it’s the correct behaviour when i get component by class and choose camera component it seems to be picking up my cine camera compo…

---

## [Inject Python Startup Script](https://forums.unrealengine.com/t/inject-python-startup-script/137563)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_cfc18edb](https://forums.unrealengine.com/u/anonymous_user_cfc18edb)\
**Replies:** 1\
**Last updated:** [February 6, 2020, 12:32am UTC](https://forums.unrealengine.com/t/inject-python-startup-script/137563 "2020-02-06T00:32:59Z")

</div>

Hello, I would like to know if there’s a way to set a python startup script before launching Unreal. I know that we can export a config that contains the script, but I don’t know where I need to put it for Unreal to pi…

---

## [Example JSON settings for commandlet to import "animation only"?](https://forums.unrealengine.com/t/example-json-settings-for-commandlet-to-import-animation-only/137688)

<div class="topic-metadata">

**Author:** [@POTWD](https://forums.unrealengine.com/u/POTWD)\
**Replies:** 0\
**Last updated:** [February 5, 2020, 10:51pm UTC](https://forums.unrealengine.com/t/example-json-settings-for-commandlet-to-import-animation-only/137688 "2020-02-05T22:51:39Z")

</div>

Hi all, I’m looking for an example JSON file that will help me in using the commandlet to import anims only. I have static mesh and skel mesh processes working but the animation task is throwing errors. When i check the…

---

## [Get source file and source path via python.](https://forums.unrealengine.com/t/get-source-file-and-source-path-via-python/129422)

<div class="topic-metadata">

**Author:** [@Mr\_Ape\_Jelly](https://forums.unrealengine.com/u/Mr_Ape_Jelly)\
**Replies:** 1\
**Last updated:** [February 4, 2020, 1:11am UTC](https://forums.unrealengine.com/t/get-source-file-and-source-path-via-python/129422 "2020-02-04T01:11:11Z")

</div>

I am trying to get an assets ‘Source File’ property and the source path from static meshes. i.e. right click on asset 'Open Source Location ’ The best I can do is the get\_tag\_values and that is the original fbx and not …

---

## [UnrealEnginePythonPlugin embed python for runtime](https://forums.unrealengine.com/t/unrealenginepythonplugin-embed-python-for-runtime/461135)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_308f0a98](https://forums.unrealengine.com/u/anonymous_user_308f0a98)\
**Replies:** 2\
**Last updated:** [February 4, 2020, 12:13am UTC](https://forums.unrealengine.com/t/unrealenginepythonplugin-embed-python-for-runtime/461135 "2020-02-04T00:13:15Z")

</div>

Hello, I am using UnrealEnginePythonPlugin. So far, i have been hard coding the python path such as C:/python35 etc. I want to embed python at runtime. Using that plugin, it seems possible but i could not been able to g…

---

## [Exporting through API](https://forums.unrealengine.com/t/exporting-through-api/461288)

<div class="topic-metadata">

**Author:** [@waddellt15](https://forums.unrealengine.com/u/waddellt15)\
**Replies:** 0\
**Last updated:** [February 3, 2020, 8:44pm UTC](https://forums.unrealengine.com/t/exporting-through-api/461288 "2020-02-03T20:44:10Z")

</div>

Hello, Currently I am trying to export an entire level through the editor. Currently I am going about it this way: reg = unreal.AssetRegistryHelpers regy = reg.get\_asset\_registry() objs = regy.get\_assets\_by\_path(’/Ga…

---

## [How to access PlayerCameraManager on a PlayerController?](https://forums.unrealengine.com/t/how-to-access-playercameramanager-on-a-playercontroller/461156)

<div class="topic-metadata">

**Author:** [@Dreyx](https://forums.unrealengine.com/u/Dreyx)\
**Replies:** 0\
**Last updated:** [January 31, 2020, 7:04pm UTC](https://forums.unrealengine.com/t/how-to-access-playercameramanager-on-a-playercontroller/461156 "2020-01-31T19:04:37Z")

</div>

I’m trying to reference a PlayerCameraManager from a PlayerController class. I’m stuck in the constructor where I don’t know how to call the PlayerCameraManager. What would be the correct way of calling PlayerCameraManag…

---

## [RPG Inventory system](https://forums.unrealengine.com/t/rpg-inventory-system/461071)

<div class="topic-metadata">

**Author:** [@PixelOscar](https://forums.unrealengine.com/u/PixelOscar)\
**Replies:** 3\
**Last updated:** [January 31, 2020, 1:02pm UTC](https://forums.unrealengine.com/t/rpg-inventory-system/461071 "2020-01-31T13:02:46Z")

</div>

Hi I’m stuck at around 10:40, he says in the video that you can migrate the UI into your own UI, but I’m not really sure how you do this? This whole video is super outdated and really hard to follow. Could anyone hel…

---

## [Re-import asset with Editor Blueprints](https://forums.unrealengine.com/t/re-import-asset-with-editor-blueprints/135102)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_17080fd8](https://forums.unrealengine.com/u/anonymous_user_17080fd8)\
**Replies:** 1\
**Last updated:** [January 30, 2020, 11:40pm UTC](https://forums.unrealengine.com/t/re-import-asset-with-editor-blueprints/135102 "2020-01-30T23:40:35Z")

</div>

Hi all, I have a datatable that contains a load of information on how to process particular assets. I want the editor to re-import this file on startup through editor blueprints, but I cant seem to find a command to be …

---

## [Setting texture file paths on texture nodes](https://forums.unrealengine.com/t/setting-texture-file-paths-on-texture-nodes/137304)

<div class="topic-metadata">

**Author:** [@Thant425](https://forums.unrealengine.com/u/Thant425)\
**Replies:** 1\
**Last updated:** [January 30, 2020, 2:20am UTC](https://forums.unrealengine.com/t/setting-texture-file-paths-on-texture-nodes/137304 "2020-01-30T02:20:09Z")

</div>

Hi, I am new to UE4 and its API. I am needing to package up a project and send to someone for rendering. Currently about 50% of the textures are sourced from a megascans directory in my user area. I want to copy these t…

---

## [Get current user from Epic Launcher inside the editor](https://forums.unrealengine.com/t/get-current-user-from-epic-launcher-inside-the-editor/136678)

<div class="topic-metadata">

**Author:** [@\_brunocoimbra](https://forums.unrealengine.com/u/_brunocoimbra)\
**Replies:** 1\
**Last updated:** [January 29, 2020, 7:25pm UTC](https://forums.unrealengine.com/t/get-current-user-from-epic-launcher-inside-the-editor/136678 "2020-01-29T19:25:35Z")

</div>

Hi everyone! I wanted to know if there is any way to get some info from the user currently logged in the Epic Launcher from inside the editor (could be through Blueprint, Python or any reliable workaround), such as its …

---

## [Getting a CineCameraActor Reference Object](https://forums.unrealengine.com/t/getting-a-cinecameraactor-reference-object/136389)

<div class="topic-metadata">

**Author:** [@sloxton](https://forums.unrealengine.com/u/sloxton)\
**Replies:** 1\
**Last updated:** [January 27, 2020, 11:09pm UTC](https://forums.unrealengine.com/t/getting-a-cinecameraactor-reference-object/136389 "2020-01-27T23:09:32Z")

</div>

Hi, I need an object reference to a CineCameraActor in the world that is bound as a spawnable in the LevelSequencer. I have a reference to the LevelSequencer itself and a sequencerBindingProxy of the spawnable camera i…

---

## [How can I have multiple, typed-by-player saved games?](https://forums.unrealengine.com/t/how-can-i-have-multiple-typed-by-player-saved-games/460887)

<div class="topic-metadata">

**Author:** [@NtinosFerret](https://forums.unrealengine.com/u/NtinosFerret)\
**Replies:** 4\
**Last updated:** [January 27, 2020, 6:44pm UTC](https://forums.unrealengine.com/t/how-can-i-have-multiple-typed-by-player-saved-games/460887 "2020-01-27T18:44:41Z")

</div>

I have a save system that works. I am trying to make the player give a name to one of three slots before the game starts and then proceed. I found out how TextBoxes work but I can’t figure how the save game works when th…

---

## [Is\_Trivially\_Destructible UStruct Error](https://forums.unrealengine.com/t/is_trivially_destructible-ustruct-error/460749)

<div class="topic-metadata">

**Author:** [@atanknomore](https://forums.unrealengine.com/u/atanknomore)\
**Replies:** 1\
**Last updated:** [January 25, 2020, 4:05am UTC](https://forums.unrealengine.com/t/is_trivially_destructible-ustruct-error/460749 "2020-01-25T04:05:49Z")

</div>

Hello friends, I have run into an error message that I had not dealt with before. The error is as follows: FStructure: an undefined class is not allowed as an argument to compiler instrict type trait '\_\_is\_trivially\_de…

---

## [Opening Unreal With Plugins Loaded](https://forums.unrealengine.com/t/opening-unreal-with-plugins-loaded/137060)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_cfc18edb](https://forums.unrealengine.com/u/anonymous_user_cfc18edb)\
**Replies:** 0\
**Last updated:** [January 24, 2020, 10:43pm UTC](https://forums.unrealengine.com/t/opening-unreal-with-plugins-loaded/137060 "2020-01-24T22:43:11Z")

</div>

Hello, I’d like to know if there’s a command line script to open a new Unreal Engine session, completely blank, but with particular plugins pre-loaded. Specifically I’d like to pre-load “Editor Scripting Utilities”, “P…

---

## [How to make python and it's package be installed when application is installed?](https://forums.unrealengine.com/t/how-to-make-python-and-its-package-be-installed-when-application-is-installed/460873)

<div class="topic-metadata">

**Author:** [@TWTCz](https://forums.unrealengine.com/u/TWTCz)\
**Replies:** 2\
**Last updated:** [January 24, 2020, 1:49am UTC](https://forums.unrealengine.com/t/how-to-make-python-and-its-package-be-installed-when-application-is-installed/460873 "2020-01-24T01:49:33Z")

</div>

I have done some python code for an unreal game engine project. I have manually installed python and other packages (such as sklearn, numpy etc mostly installed using pip) in my windows system. I want python and those pa…

---

## [Frame Rate Editor too low ( 4.24.1 )](https://forums.unrealengine.com/t/frame-rate-editor-too-low-4-24-1/460811)

<div class="topic-metadata">

**Author:** [@Lykan3Dworks](https://forums.unrealengine.com/u/Lykan3Dworks)\
**Replies:** 4\
**Last updated:** [January 22, 2020, 10:08pm UTC](https://forums.unrealengine.com/t/frame-rate-editor-too-low-4-24-1/460811 "2020-01-22T22:08:59Z")

</div>

In your content browser, you can try unchecking “real-time thumbmails” in the “view options” panel (bottom right of your content browser).

---

## [4.24 console variables](https://forums.unrealengine.com/t/4-24-console-variables/136850)

<div class="topic-metadata">

**Author:** [@etiles](https://forums.unrealengine.com/u/etiles)\
**Replies:** 0\
**Last updated:** [January 21, 2020, 2:07pm UTC](https://forums.unrealengine.com/t/4-24-console-variables/136850 "2020-01-21T14:07:24Z")

</div>

Hello community, The “command variable” tool located in the Help menu doesn’t work anymore. No HTML file is generated in the 4.24 version. Is there a web link somewhere to have these? Or anyone would have a file to sen…

---

## [How to specify multiple output values in a Python-only ufunction?](https://forums.unrealengine.com/t/how-to-specify-multiple-output-values-in-a-python-only-ufunction/136472)

<div class="topic-metadata">

**Author:** [@W1M0R](https://forums.unrealengine.com/u/W1M0R)\
**Replies:** 7\
**Last updated:** [January 20, 2020, 7:36pm UTC](https://forums.unrealengine.com/t/how-to-specify-multiple-output-values-in-a-python-only-ufunction/136472 "2020-01-20T19:36:54Z")

</div>

I have a Python-based blueprint function library, and I am trying to find the right syntax for specifying multiple output values. If I specify ret=(int,int) in the ufunction declaration, then the generated blueprint node…

---

## [python problem](https://forums.unrealengine.com/t/python-problem/460498)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_f98a475e](https://forums.unrealengine.com/u/anonymous_user_f98a475e)\
**Replies:** 4\
**Last updated:** [January 16, 2020, 6:50pm UTC](https://forums.unrealengine.com/t/python-problem/460498 "2020-01-16T18:50:50Z")

</div>

i tried to start unreal engine 4.24.1 and suddenly i encountered this issue show in photo below…please help …thnk you.

---

## [‘Generate All Bodies’ and ‘Physics Asset Create and Assign’ functions with python?](https://forums.unrealengine.com/t/generate-all-bodies-and-physics-asset-create-and-assign-functions-with-python/135348)

<div class="topic-metadata">

**Author:** [@LeonBrazil](https://forums.unrealengine.com/u/LeonBrazil)\
**Replies:** 1\
**Last updated:** [January 13, 2020, 12:52pm UTC](https://forums.unrealengine.com/t/generate-all-bodies-and-physics-asset-create-and-assign-functions-with-python/135348 "2020-01-13T12:52:46Z")

</div>

I am just getting into Python in Unreal and building a tool to automate a bunch of repetitive tasks. One of these tasks is to generate a physicsAsset and Assign to a skeletalMesh. The assigning part is not a problem on…

---

## [Expose Functions inside UStructs within Context](https://forums.unrealengine.com/t/expose-functions-inside-ustructs-within-context/460461)

<div class="topic-metadata">

**Author:** [@atanknomore](https://forums.unrealengine.com/u/atanknomore)\
**Replies:** 2\
**Last updated:** [January 13, 2020, 5:31am UTC](https://forums.unrealengine.com/t/expose-functions-inside-ustructs-within-context/460461 "2020-01-13T05:31:45Z")

</div>

Hello, I come here wondering if there’s a way in which one can expose functions declared inside UStructs to the Blueprint Engine without having to declare them separately inside a UBlueprintFunctionLibrary (and/or Anoth…

---

## [python problem](https://forums.unrealengine.com/t/python-problem/460484)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_f98a475e](https://forums.unrealengine.com/u/anonymous_user_f98a475e)\
**Replies:** 0\
**Last updated:** [January 12, 2020, 3:52pm UTC](https://forums.unrealengine.com/t/python-problem/460484 "2020-01-12T15:52:24Z")

</div>

i tried to start unreal engine 4.24.1 and suddenly i encounter this issue show in photo below …please help …thank you.

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

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