# Editor Scripting

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

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

**Page:** 29

---

## [Character Array/Map Selection](https://forums.unrealengine.com/t/character-array-map-selection/491205)

<div class="topic-metadata">

**Author:** [@WBoden](https://forums.unrealengine.com/u/WBoden)\
**Replies:** 2\
**Last updated:** [November 24, 2021, 10:51pm UTC](https://forums.unrealengine.com/t/character-array-map-selection/491205 "2021-11-24T22:51:45Z")

</div>

Hey there, I’m trying to set up a player character class setup in my JRPG project. I’m at the moment attempting to setup on who spawns and who doesn’t. I figured that connecting it with a Boolean check would help with k…

---

## [Is there a way to create something similar to the townscaper in Unreal?](https://forums.unrealengine.com/t/is-there-a-way-to-create-something-similar-to-the-townscaper-in-unreal/262451)

<div class="topic-metadata">

**Author:** [@DongxuCai](https://forums.unrealengine.com/u/DongxuCai)\
**Replies:** 2\
**Last updated:** [November 24, 2021, 3:26pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-create-something-similar-to-the-townscaper-in-unreal/262451 "2021-11-24T15:26:15Z")

</div>

---

## [Pass a variable between two actors](https://forums.unrealengine.com/t/pass-a-variable-between-two-actors/491226)

<div class="topic-metadata">

**Author:** [@aliAghel](https://forums.unrealengine.com/u/aliAghel)\
**Replies:** 5\
**Last updated:** [November 23, 2021, 7:50pm UTC](https://forums.unrealengine.com/t/pass-a-variable-between-two-actors/491226 "2021-11-23T19:50:39Z")

</div>

Hi I’m a bigginer and I have question . I have an actor , it’s some kind of bomb and it’s has a virtual function named OnComponentBeginOverlap that I bind it with a delegate to the root of actor wich is a sphere Some …

---

## [How to use UListViewBase::OnEntryWidgetGenerated() and ListViewBase::OnEntryWidgetReleased()](https://forums.unrealengine.com/t/how-to-use-ulistviewbase-onentrywidgetgenerated-and-listviewbase-onentrywidgetreleased/491196)

<div class="topic-metadata">

**Author:** [@ibetto\_globant](https://forums.unrealengine.com/u/ibetto_globant)\
**Replies:** 2\
**Last updated:** [November 23, 2021, 4:09pm UTC](https://forums.unrealengine.com/t/how-to-use-ulistviewbase-onentrywidgetgenerated-and-listviewbase-onentrywidgetreleased/491196 "2021-11-23T16:09:53Z")

</div>

Hello, I’m trying to add a UListView to a menu and add delegates to the list tiems. So I’m trying to use UListViewBase::OnEntryWidgetGenerated() and ListViewBase::OnEntryWidgetReleased(). FOnListEntryGenerated and FOnEn…

---

## [Can I run python script by clicking buttons in unreal engine](https://forums.unrealengine.com/t/can-i-run-python-script-by-clicking-buttons-in-unreal-engine/491227)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_c987f3dc](https://forums.unrealengine.com/u/anonymous_user_c987f3dc)\
**Replies:** 0\
**Last updated:** [November 23, 2021, 1:17pm UTC](https://forums.unrealengine.com/t/can-i-run-python-script-by-clicking-buttons-in-unreal-engine/491227 "2021-11-23T13:17:56Z")

</div>

Is it possible to run python script by clicking buttons in unreal engine ( while in gaming)

---

## [Can I Use Python as back-end and Unreal engine for front-end](https://forums.unrealengine.com/t/can-i-use-python-as-back-end-and-unreal-engine-for-front-end/491215)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_c987f3dc](https://forums.unrealengine.com/u/anonymous_user_c987f3dc)\
**Replies:** 0\
**Last updated:** [November 23, 2021, 6:01am UTC](https://forums.unrealengine.com/t/can-i-use-python-as-back-end-and-unreal-engine-for-front-end/491215 "2021-11-23T06:01:02Z")

</div>

I am developing a software which will render a 3D model in the UI and take inputs from user. Based on the user inputs and selection, it will do some analysis and calculation, then the simulated results will be added to t…

---

## [Python 2 or Python 3 - What say you](https://forums.unrealengine.com/t/python-2-or-python-3-what-say-you/142890)

<div class="topic-metadata">

**Author:** [@robotProdigy](https://forums.unrealengine.com/u/robotProdigy)\
**Replies:** 7\
**Last updated:** [November 22, 2021, 1:15pm UTC](https://forums.unrealengine.com/t/python-2-or-python-3-what-say-you/142890 "2021-11-22T13:15:37Z")

</div>

OK, here’s my situation. I’ll be writing UE Python tools from a clean slate – no UE Python tools exist. I know, or it appears that Epic will be moving UE to Python 3 at some point (it sounded like this year from what the…

---

## [Change default parameter value ranges in editor](https://forums.unrealengine.com/t/change-default-parameter-value-ranges-in-editor/262000)

<div class="topic-metadata">

**Author:** [@eco\_bach2](https://forums.unrealengine.com/u/eco_bach2)\
**Replies:** 0\
**Last updated:** [November 21, 2021, 5:02pm UTC](https://forums.unrealengine.com/t/change-default-parameter-value-ranges-in-editor/262000 "2021-11-21T17:02:24Z")

</div>

Does anyone know of a way to edit the default parameter value ranges in the editor? For instance the default value for my Skylight light intensity is .05, but my value range goes from 0 to 50,000! Which makes it useles…

---

## [Problem saving to Android. Manifest and maxSdkVersion="18"](https://forums.unrealengine.com/t/problem-saving-to-android-manifest-and-maxsdkversion-18/408603)

<div class="topic-metadata">

**Author:** [@Rusel2050](https://forums.unrealengine.com/u/Rusel2050)\
**Replies:** 6\
**Last updated:** [November 20, 2021, 9:50am UTC](https://forums.unrealengine.com/t/problem-saving-to-android-manifest-and-maxsdkversion-18/408603 "2021-11-20T09:50:39Z")

</div>

After I updated my project on UE4.18, there were some problems. As soon as I understood the packaging of Gradle, I found that I do not have save jobs in a packed version. Next, I found that the new version defaults to u…

---

## [Savegame not working on Android](https://forums.unrealengine.com/t/savegame-not-working-on-android/491126)

<div class="topic-metadata">

**Author:** [@avisidhu](https://forums.unrealengine.com/u/avisidhu)\
**Replies:** 0\
**Last updated:** [November 20, 2021, 9:32am UTC](https://forums.unrealengine.com/t/savegame-not-working-on-android/491126 "2021-11-20T09:32:33Z")

</div>

I am unable to save game on android. “Save Game to Slot” Blueprint Node works fine in the UE4 Editor but returns false when packaged and installed on the android device. Here are the details: UE4.25.3 Android Minimum …

---

## [Where are Android Savegames?](https://forums.unrealengine.com/t/where-are-android-savegames/491120)

<div class="topic-metadata">

**Author:** [@avisidhu](https://forums.unrealengine.com/u/avisidhu)\
**Replies:** 0\
**Last updated:** [November 20, 2021, 6:50am UTC](https://forums.unrealengine.com/t/where-are-android-savegames/491120 "2021-11-20T06:50:32Z")

</div>

I use the Project Launcher to create an apk which I then install on the phone (Redmi Note 8 Pro - Android 11). I’ve checked “Use ExternalFilesDir for UE4Game files” but I can’t find my save game files. The app is insta…

---

## [Everything broke in the unreal editor](https://forums.unrealengine.com/t/everything-broke-in-the-unreal-editor/490868)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_70524e60](https://forums.unrealengine.com/u/anonymous_user_70524e60)\
**Replies:** 2\
**Last updated:** [November 19, 2021, 4:49pm UTC](https://forums.unrealengine.com/t/everything-broke-in-the-unreal-editor/490868 "2021-11-19T16:49:50Z")

</div>

Hi all. Material editor windows, blueprint editor windows, mesh editor windows open empty. The content browser opens empty. The camera in the viewport does not move to the left and right when the right mouse button is pr…

---

## [\[Slate\] Exposing Struct variables on a custom tab ](https://forums.unrealengine.com/t/slate-exposing-struct-variables-on-a-custom-tab/261602)

<div class="topic-metadata">

**Author:** [@IgnasiLinceWorks](https://forums.unrealengine.com/u/IgnasiLinceWorks)\
**Replies:** 1\
**Last updated:** [November 18, 2021, 9:17pm UTC](https://forums.unrealengine.com/t/slate-exposing-struct-variables-on-a-custom-tab/261602 "2021-11-18T21:17:15Z")

</div>

Hi everyone, I’m new to Unreal but I really like creating tools so it is one of the first things I wanted to learn. I have a simple tool to apply different LOD Levels to the selected meshes and I want to create a Slate …

---

## [How to control the bones/rig of an object (specifically a metahuman) using the remote control plugin?](https://forums.unrealengine.com/t/how-to-control-the-bones-rig-of-an-object-specifically-a-metahuman-using-the-remote-control-plugin/491074)

<div class="topic-metadata">

**Author:** [@SolveItPlanet](https://forums.unrealengine.com/u/SolveItPlanet)\
**Replies:** 0\
**Last updated:** [November 18, 2021, 6:19pm UTC](https://forums.unrealengine.com/t/how-to-control-the-bones-rig-of-an-object-specifically-a-metahuman-using-the-remote-control-plugin/491074 "2021-11-18T18:19:42Z")

</div>

Hello, I am developing a motion tracking system using python and OpenCV. I currently have the capabilities to track markers to get their rotation and translation. I have recently tried to use the UE remote control plug…

---

## [Import Mesh LODs through Python](https://forums.unrealengine.com/t/import-mesh-lods-through-python/261433)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_f9d7b6ce](https://forums.unrealengine.com/u/anonymous_user_f9d7b6ce)\
**Replies:** 0\
**Last updated:** [November 18, 2021, 12:05am UTC](https://forums.unrealengine.com/t/import-mesh-lods-through-python/261433 "2021-11-18T00:05:21Z")

</div>

Hello, I’ve got a python script which will import/re-import static meshes. The problem is that setting Import Mesh LODs to True doesn’t seem to work. I had this issue when trying to set the vertex color import option, b…

---

## [Python: Convert actors to static mesh](https://forums.unrealengine.com/t/python-convert-actors-to-static-mesh/152073)

<div class="topic-metadata">

**Author:** [@KamilHep](https://forums.unrealengine.com/u/KamilHep)\
**Replies:** 9\
**Last updated:** [November 15, 2021, 8:06pm UTC](https://forums.unrealengine.com/t/python-convert-actors-to-static-mesh/152073 "2021-11-15T20:06:10Z")

</div>

What’s the best way to convert selected actors to static mesh in python? I basically want to replicate (or call if it’s possible) this command on the selected actor: That’s how far I’ve got: mso = unreal.EditorScr…

---

## [Using api python Exporter](https://forums.unrealengine.com/t/using-api-python-exporter/137421)

<div class="topic-metadata">

**Author:** [@waddellt15](https://forums.unrealengine.com/u/waddellt15)\
**Replies:** 6\
**Last updated:** [November 15, 2021, 11:44am UTC](https://forums.unrealengine.com/t/using-api-python-exporter/137421 "2021-11-15T11:44:44Z")

</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 create a custom event in the Director Blueprint of a sequencer in python.](https://forums.unrealengine.com/t/how-to-create-a-custom-event-in-the-director-blueprint-of-a-sequencer-in-python/487589)

<div class="topic-metadata">

**Author:** [@HyperCUBE](https://forums.unrealengine.com/u/HyperCUBE)\
**Replies:** 1\
**Last updated:** [November 12, 2021, 3:44pm UTC](https://forums.unrealengine.com/t/how-to-create-a-custom-event-in-the-director-blueprint-of-a-sequencer-in-python/487589 "2021-11-12T15:44:14Z")

</div>

I would like to create a custom event key in sequencer using python. I was able to create a track for the event and set the key, but I don’t know how to create a new endpoint. It looks like there may be a way to access…

---

## [Editor Widget About Sounds](https://forums.unrealengine.com/t/editor-widget-about-sounds/260409)

<div class="topic-metadata">

**Author:** [@qunisherr](https://forums.unrealengine.com/u/qunisherr)\
**Replies:** 0\
**Last updated:** [November 11, 2021, 1:12pm UTC](https://forums.unrealengine.com/t/editor-widget-about-sounds/260409 "2021-11-11T13:12:27Z")

</div>

Hello to everyone. I’m having trouble with an Editor Widget I’m trying to make in 4.26. I want a widget that can show the sound file I selected in the widget and print its name on the widget. Later, I want to be able to …

---

## [Getting number of npc's in a sphere](https://forums.unrealengine.com/t/getting-number-of-npcs-in-a-sphere/260313)

<div class="topic-metadata">

**Author:** [@CamelSounds](https://forums.unrealengine.com/u/CamelSounds)\
**Replies:** 1\
**Last updated:** [November 10, 2021, 11:29pm UTC](https://forums.unrealengine.com/t/getting-number-of-npcs-in-a-sphere/260313 "2021-11-10T23:29:47Z")

</div>

Hi, I’m trying to count the amount of npc’s around the player character in a sphere to send to FMOD. I’m using SphereTraceForObjects to trace for ObjectTypes. This works but now I need the result to be the amount of npc…

---

## [Web Remote Control issues](https://forums.unrealengine.com/t/web-remote-control-issues/153257)

<div class="topic-metadata">

**Author:** [@JCdeBlok](https://forums.unrealengine.com/u/JCdeBlok)\
**Replies:** 5\
**Last updated:** [November 9, 2021, 7:31pm UTC](https://forums.unrealengine.com/t/web-remote-control-issues/153257 "2021-11-09T19:31:26Z")

</div>

Trying to make a small web based remote control to controlling the contents for a giant LED wall using the remote control plug. \<insert lots of ranting\> While I reasonably versed in the intricacies of CORS and cross …

---

## [ue4 python脚本怎么获取骨骼的transform](https://forums.unrealengine.com/t/ue4-python-transform/490744)

<div class="topic-metadata">

**Author:** [@zc1008611](https://forums.unrealengine.com/u/zc1008611)\
**Replies:** 0\
**Last updated:** [November 9, 2021, 11:56am UTC](https://forums.unrealengine.com/t/ue4-python-transform/490744 "2021-11-09T11:56:16Z")

</div>

ue4 python

---

## [Limit dropdown selection to a specific Array](https://forums.unrealengine.com/t/limit-dropdown-selection-to-a-specific-array/259853)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_6d454789](https://forums.unrealengine.com/u/anonymous_user_6d454789)\
**Replies:** 0\
**Last updated:** [November 8, 2021, 4:04pm UTC](https://forums.unrealengine.com/t/limit-dropdown-selection-to-a-specific-array/259853 "2021-11-08T16:04:34Z")

</div>

Hello! In the Editor I have an array of state classes, like this: TArray\<TSubclassOf\<UFC\_Base\_State\>\> I would like the User to be able to select/change the initial state in another field, like this: TSubclassOf\<UFC\_…

---

## [How can I create a blendspace using python?](https://forums.unrealengine.com/t/how-can-i-create-a-blendspace-using-python/259222)

<div class="topic-metadata">

**Author:** [@ergin](https://forums.unrealengine.com/u/ergin)\
**Replies:** 0\
**Last updated:** [November 4, 2021, 4:34am UTC](https://forums.unrealengine.com/t/how-can-i-create-a-blendspace-using-python/259222 "2021-11-04T04:34:17Z")

</div>

I couldnt create or find a code example about blendspace creation in UE4 using python. Especially the skeleton assignment. Can you help me or share a piece of code that creates a BlendSpace1D in python?

---

## [Editor Scripting to Create Level Sequence key frames and event triggers](https://forums.unrealengine.com/t/editor-scripting-to-create-level-sequence-key-frames-and-event-triggers/258843)

<div class="topic-metadata">

**Author:** [@CtrlLoki](https://forums.unrealengine.com/u/CtrlLoki)\
**Replies:** 1\
**Last updated:** [November 3, 2021, 10:01am UTC](https://forums.unrealengine.com/t/editor-scripting-to-create-level-sequence-key-frames-and-event-triggers/258843 "2021-11-03T10:01:31Z")

</div>

Hello, I’m trying to develop an editor utility that can create keyframes in a Level Sequence. Pacifically I would like to create an event trigger keyframe at a given frame and bind a pre-existing function/custom event t…

---

## [Customize class defaults](https://forums.unrealengine.com/t/customize-class-defaults/258993)

<div class="topic-metadata">

**Author:** [@reisandbeans](https://forums.unrealengine.com/u/reisandbeans)\
**Replies:** 0\
**Last updated:** [November 2, 2021, 8:17pm UTC](https://forums.unrealengine.com/t/customize-class-defaults/258993 "2021-11-02T20:17:53Z")

</div>

I was doing some investigation about UE editor customization and found some very useful tutorials like this one or this one. However there are two things that are not clear to me: Is it posible to customize how propert…

---

## [How to set insert position for editor sub menus in Python](https://forums.unrealengine.com/t/how-to-set-insert-position-for-editor-sub-menus-in-python/258978)

<div class="topic-metadata">

**Author:** [@TechArtistG](https://forums.unrealengine.com/u/TechArtistG)\
**Replies:** 0\
**Last updated:** [November 2, 2021, 6:00pm UTC](https://forums.unrealengine.com/t/how-to-set-insert-position-for-editor-sub-menus-in-python/258978 "2021-11-02T18:00:37Z")

</div>

Hi all, been porting custom sub menu creation in LevelEditor.MainMenu from C++ to Python. In C++ I could specify an insert position of the sub menu after the “Window” entry, but can’t work out how to do this in Python. …

---

## [When I using python with tensorflow, I got an error msg from h5py module.](https://forums.unrealengine.com/t/when-i-using-python-with-tensorflow-i-got-an-error-msg-from-h5py-module/258948)

<div class="topic-metadata">

**Author:** [@asupeduer](https://forums.unrealengine.com/u/asupeduer)\
**Replies:** 0\
**Last updated:** [November 2, 2021, 3:16pm UTC](https://forums.unrealengine.com/t/when-i-using-python-with-tensorflow-i-got-an-error-msg-from-h5py-module/258948 "2021-11-02T15:16:01Z")

</div>

I have some issue with h5py, on UE4.26 or 4.27, with tensorflow load or save weights file .h5 (h5py module). os:windows 10、UE 4.26 - 4.27 tensowflow 2.10.1 - newest , h5py 2.8.0- 3.6.0 (Every version that I had tried.…

---

## [Adding track to possessable via python api](https://forums.unrealengine.com/t/adding-track-to-possessable-via-python-api/255589)

<div class="topic-metadata">

**Author:** [@Thant425](https://forums.unrealengine.com/u/Thant425)\
**Replies:** 2\
**Last updated:** [November 2, 2021, 10:05am UTC](https://forums.unrealengine.com/t/adding-track-to-possessable-via-python-api/255589 "2021-11-02T10:05:24Z")

</div>

I am trying to add a track to a possessed actor in the sequencer via python. To manually do this, I can make the actor possessable by dragging it into the sequencer, then adding the parameter (called visibility) track l…

---

## [Gathering the Windows language](https://forums.unrealengine.com/t/gathering-the-windows-language/258263)

<div class="topic-metadata">

**Author:** [@Probezeit](https://forums.unrealengine.com/u/Probezeit)\
**Replies:** 2\
**Last updated:** [October 29, 2021, 4:37pm UTC](https://forums.unrealengine.com/t/gathering-the-windows-language/258263 "2021-10-29T16:37:30Z")

</div>

Is there a way to get the user language from Windows in c++ or in blueprints? Or is there an plugin I could use?

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

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