# Editor Scripting

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

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

**Page:** 65

---

## [How can I get a property as a variable?](https://forums.unrealengine.com/t/how-can-i-get-a-property-as-a-variable/447537)

<div class="topic-metadata">

**Author:** [@PreProPrax](https://forums.unrealengine.com/u/PreProPrax)\
**Replies:** 2\
**Last updated:** [April 21, 2019, 5:52pm UTC](https://forums.unrealengine.com/t/how-can-i-get-a-property-as-a-variable/447537 "2019-04-21T17:52:55Z")

</div>

I am trying to make my progress bar size changeable. If I do something like using a skill, It should increase the size of the progress bar. Can I make something like that?

---

## [Failed to rename assets using Python](https://forums.unrealengine.com/t/failed-to-rename-assets-using-python/447497)

<div class="topic-metadata">

**Author:** [@kakyoism](https://forums.unrealengine.com/u/kakyoism)\
**Replies:** 2\
**Last updated:** [April 20, 2019, 7:59am UTC](https://forums.unrealengine.com/t/failed-to-rename-assets-using-python/447497 "2019-04-20T07:59:25Z")

</div>

I’m trying to rename an asset using Python. Here is my code: import unreal as ue ar = ue.AssetRegistryHelpers.get\_asset\_registry() ad= ar.get\_asset\_by\_object\_path(‘/Game/Path/To/MyAsset’) rnd = ue.AssetRenameData…

---

## [Is it possible to let the editor tick while in the middle of a script?](https://forums.unrealengine.com/t/is-it-possible-to-let-the-editor-tick-while-in-the-middle-of-a-script/125130)

<div class="topic-metadata">

**Author:** [@Rodja](https://forums.unrealengine.com/u/Rodja)\
**Replies:** 1\
**Last updated:** [April 19, 2019, 8:57pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-let-the-editor-tick-while-in-the-middle-of-a-script/125130 "2019-04-19T20:57:55Z")

</div>

I got a bug in 4.22, I have a bunch of python scripts that take a while to complete the execution. After spawning a custom bp actor and a level sequence actor, I try to set the spawned level sequence actor as a property…

---

## [Hud help!](https://forums.unrealengine.com/t/hud-help/125060)

<div class="topic-metadata">

**Author:** [@TheGledinatorPC](https://forums.unrealengine.com/u/TheGledinatorPC)\
**Replies:** 1\
**Last updated:** [April 19, 2019, 1:08pm UTC](https://forums.unrealengine.com/t/hud-help/125060 "2019-04-19T13:08:17Z")

</div>

Okay so as part of my college project, i’m creating an endless runner and I have a magnet powerup that works, but I want to add it to a progress bar on my HUD to show how long is left, it lasts for 5 seconds and I don’t …

---

## [SourceControlState get source control status of an asset.](https://forums.unrealengine.com/t/sourcecontrolstate-get-source-control-status-of-an-asset/125034)

<div class="topic-metadata">

**Author:** [@Mr\_Ape\_Jelly](https://forums.unrealengine.com/u/Mr_Ape_Jelly)\
**Replies:** 2\
**Last updated:** [April 18, 2019, 5:00pm UTC](https://forums.unrealengine.com/t/sourcecontrolstate-get-source-control-status-of-an-asset/125034 "2019-04-18T17:00:13Z")

</div>

Might be a newbie question, but I am trying to get the status of an asset. Looks like this is the way to go. \[ this: sourceState = unreal.SourceControlState(“/Game/Dev/SM\_Move”) returns: \<Struct ‘SourceControlState’…

---

## [Anyone know why my branch keeps returning accessed none?](https://forums.unrealengine.com/t/anyone-know-why-my-branch-keeps-returning-accessed-none/447413)

<div class="topic-metadata">

**Author:** [@PerCat](https://forums.unrealengine.com/u/PerCat)\
**Replies:** 3\
**Last updated:** [April 18, 2019, 7:59am UTC](https://forums.unrealengine.com/t/anyone-know-why-my-branch-keeps-returning-accessed-none/447413 "2019-04-18T07:59:26Z")

</div>

Hey all following this tutorial series to try to get an inventory system for my npcs at around ep 4. you actually get to test some ■■■■ and for some reason one of my branches keeps returning accessed none. These tuts ar…

---

## [Importing assets into Unreal 4.20 using python](https://forums.unrealengine.com/t/importing-assets-into-unreal-4-20-using-python/116677)

<div class="topic-metadata">

**Author:** [@CFMS\_Bristol](https://forums.unrealengine.com/u/CFMS_Bristol)\
**Replies:** 18\
**Last updated:** [March 7, 2019, 10:11am UTC](https://forums.unrealengine.com/t/importing-assets-into-unreal-4-20-using-python/116677 "2019-03-07T10:11:54Z")

</div>

Hello, I am trying to use the Python interface to load in a .fbx file in an automated manner, essentially trying to replace the ‘File → Import into Level → …’ process. Currently I am trying: importInfo = unreal.Automat…

---

## [Python scripting for importing custom assets.](https://forums.unrealengine.com/t/python-scripting-for-importing-custom-assets/125043)

<div class="topic-metadata">

**Author:** [@kakyoism](https://forums.unrealengine.com/u/kakyoism)\
**Replies:** 2\
**Last updated:** [April 17, 2019, 3:00am UTC](https://forums.unrealengine.com/t/python-scripting-for-importing-custom-assets/125043 "2019-04-17T03:00:07Z")

</div>

The posts I found on importing with Python seem to all use the stock asset factories that UE Python API offers. I’ve seen: https://forums.unrealengine.com/deve…0-using-python https://forums.unrealengine.com/unre…es-wit…

---

## [Array Index None with Array of Actors - Tracking Actors](https://forums.unrealengine.com/t/array-index-none-with-array-of-actors-tracking-actors/447280)

<div class="topic-metadata">

**Author:** [@blindminds](https://forums.unrealengine.com/u/blindminds)\
**Replies:** 3\
**Last updated:** [April 17, 2019, 12:02am UTC](https://forums.unrealengine.com/t/array-index-none-with-array-of-actors-tracking-actors/447280 "2019-04-17T00:02:01Z")

</div>

I am using 3 arrays to keep track of missiles for a weapon system. Weapon System has 30 “Slots”, one for each missile. Index in each Array corresponds to a “Slot” in the Weapon System Array #1: Array of Scene Componen…

---

## [How to possess hit actor](https://forums.unrealengine.com/t/how-to-possess-hit-actor/436370)

<div class="topic-metadata">

**Author:** [@mabdog](https://forums.unrealengine.com/u/mabdog)\
**Replies:** 7\
**Last updated:** [April 16, 2019, 6:16pm UTC](https://forums.unrealengine.com/t/how-to-possess-hit-actor/436370 "2019-04-16T18:16:25Z")

</div>

Hello! You should normally be able to do the following Cast the out hit actor to ThirdPersonCharacter (do not get the the class but cast it to the Blueprint) using the following node : On success then get your cont…

---

## [変数のデフォルト値 blueprint](https://forums.unrealengine.com/t/blueprint/447222)

<div class="topic-metadata">

**Author:** [@diak345](https://forums.unrealengine.com/u/diak345)\
**Replies:** 2\
**Last updated:** [April 15, 2019, 2:42pm UTC](https://forums.unrealengine.com/t/blueprint/447222 "2019-04-15T14:42:41Z")

</div>

問題点ーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーーー 現在このUe4ASP\_Characterをspawnacter blueprintを使ってスポーンさせているのですが、その時このデフォルト値が入っいませんと、エラーが出が出てしまします。 imgfileのデフォルトFLOORBPをblueprintを使ってgetまたはsetすることはできますか？ できなのであればほかの方法を考える予定でいます…

---

## [Adding a input dialog to a script](https://forums.unrealengine.com/t/adding-a-input-dialog-to-a-script/124722)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_08ddb7601](https://forums.unrealengine.com/u/anonymous_user_08ddb7601)\
**Replies:** 1\
**Last updated:** [April 10, 2019, 12:41pm UTC](https://forums.unrealengine.com/t/adding-a-input-dialog-to-a-script/124722 "2019-04-10T12:41:53Z")

</div>

Is it possible to add a user input ui to a python script? something simple like int number input and run button.

---

## [Saving and loading problem on android only](https://forums.unrealengine.com/t/saving-and-loading-problem-on-android-only/433701)

<div class="topic-metadata">

**Author:** [@MicroGT](https://forums.unrealengine.com/u/MicroGT)\
**Replies:** 11\
**Last updated:** [April 10, 2019, 2:33am UTC](https://forums.unrealengine.com/t/saving-and-loading-problem-on-android-only/433701 "2019-04-10T02:33:08Z")

</div>

I’m using this save system in my game: https://forums.unrealengine.com/filedata/fetch?id=1525798 I have this system in 3 blueprints in my game scene which are going to be saving/loading data somewhere during run time. …

---

## [Missing Editor classes in 4.22](https://forums.unrealengine.com/t/missing-editor-classes-in-4-22/124540)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_0c753fb0](https://forums.unrealengine.com/u/anonymous_user_0c753fb0)\
**Replies:** 2\
**Last updated:** [April 9, 2019, 9:57am UTC](https://forums.unrealengine.com/t/missing-editor-classes-in-4-22/124540 "2019-04-09T09:57:00Z")

</div>

I’ve been experimenting with editor scripting. One of the things i wanted to try was getting all static meshes in a level, querying if they have a lods, and if not, generating a set of lods - basically expanding upon the…

---

## [Renaming the forum from "Python Scripting" to "Editor Scripting"](https://forums.unrealengine.com/t/renaming-the-forum-from-python-scripting-to-editor-scripting/124682)

<div class="topic-metadata">

**Author:** [@Amanda.Schade](https://forums.unrealengine.com/u/Amanda.Schade)\
**Replies:** 0\
**Last updated:** [April 8, 2019, 7:06pm UTC](https://forums.unrealengine.com/t/renaming-the-forum-from-python-scripting-to-editor-scripting/124682 "2019-04-08T19:06:06Z")

</div>

Hey folks! We’re renaming this thread to “Editor Scripting” to be more inclusive of the various ways developers may modify their editor experience, particularly with the release of Editor Utility Widgets.

---

## [Dynamic Tooltip](https://forums.unrealengine.com/t/dynamic-tooltip/446863)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_2a40c582](https://forums.unrealengine.com/u/anonymous_user_2a40c582)\
**Replies:** 0\
**Last updated:** [April 8, 2019, 6:43pm UTC](https://forums.unrealengine.com/t/dynamic-tooltip/446863 "2019-04-08T18:43:41Z")

</div>

So Currently a main issue I have is I cannot get the Tower Name text to actually populate. This is how I’ve set up the function for that; Outside of that is where the shop is populated. Set Get Image hooks into the R…

---

## [How To Overwrite a GameInstance from a GameSave](https://forums.unrealengine.com/t/how-to-overwrite-a-gameinstance-from-a-gamesave/446657)

<div class="topic-metadata">

**Author:** [@fnor](https://forums.unrealengine.com/u/fnor)\
**Replies:** 2\
**Last updated:** [April 8, 2019, 3:54am UTC](https://forums.unrealengine.com/t/how-to-overwrite-a-gameinstance-from-a-gamesave/446657 "2019-04-08T03:54:20Z")

</div>

My project has a ton of variables that are relevant for a very long time. As a result the Game Instance variable has a perfect snapshot of everything I need. I can copy the current game instance to a member variable on m…

---

## [Editor Utilities](https://forums.unrealengine.com/t/editor-utilities/124511)

<div class="topic-metadata">

**Author:** [@ProtoQuasar](https://forums.unrealengine.com/u/ProtoQuasar)\
**Replies:** 1\
**Last updated:** [April 5, 2019, 2:53pm UTC](https://forums.unrealengine.com/t/editor-utilities/124511 "2019-04-05T14:53:45Z")

</div>

The new Editor Utilities plugin is a great feature. Its to bad there is no way to call a python function using a blueprint. It would be nice if the “Execute Console Command” blueprint node could execute a Python command. …

---

## [Changing mesh pivot location](https://forums.unrealengine.com/t/changing-mesh-pivot-location/124488)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_1d736ae51](https://forums.unrealengine.com/u/anonymous_user_1d736ae51)\
**Replies:** 0\
**Last updated:** [April 4, 2019, 2:29pm UTC](https://forums.unrealengine.com/t/changing-mesh-pivot-location/124488 "2019-04-04T14:29:54Z")

</div>

Hello! So i need to write the script that changes pivot location of the selected mesh. For this i need to get each vertex positions (suposedly stored in FRawMesh), 2.and then re set each position relative to the objec…

---

## [Cube Mapping](https://forums.unrealengine.com/t/cube-mapping/123700)

<div class="topic-metadata">

**Author:** [@Mundi\_Umdali](https://forums.unrealengine.com/u/Mundi_Umdali)\
**Replies:** 4\
**Last updated:** [April 4, 2019, 12:42pm UTC](https://forums.unrealengine.com/t/cube-mapping/123700 "2019-04-04T12:42:23Z")

</div>

In UE4 you have a camera that can capture cube maps, even capture it every frame. Not the best thing in the entire world but the closest I am getting right now to recording a 360 video. Issue is there is no way to really…

---

## [Lost on where to put RPG code/variables](https://forums.unrealengine.com/t/lost-on-where-to-put-rpg-code-variables/446499)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_a0feeb2e](https://forums.unrealengine.com/u/anonymous_user_a0feeb2e)\
**Replies:** 4\
**Last updated:** [April 3, 2019, 11:19pm UTC](https://forums.unrealengine.com/t/lost-on-where-to-put-rpg-code-variables/446499 "2019-04-03T23:19:30Z")

</div>

So I’ve looked at a few other posts regarding where to store some stats, but after looking at all the answers I don’t know I know enough to store my variables. This is probably because most answers are fairly general-pur…

---

## [Add and remove items from moba like inventory system.](https://forums.unrealengine.com/t/add-and-remove-items-from-moba-like-inventory-system/446478)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_5fea5bd7](https://forums.unrealengine.com/u/anonymous_user_5fea5bd7)\
**Replies:** 1\
**Last updated:** [April 3, 2019, 6:14am UTC](https://forums.unrealengine.com/t/add-and-remove-items-from-moba-like-inventory-system/446478 "2019-04-03T06:14:42Z")

</div>

I am currently programming items for a moba like game where you get items effects just from having them in your inventory. How I currently have it set it is the store simply adds items into a string array called “Invento…

---

## [Spawning actor using python](https://forums.unrealengine.com/t/spawning-actor-using-python/446456)

<div class="topic-metadata">

**Author:** [@kakyoism](https://forums.unrealengine.com/u/kakyoism)\
**Replies:** 1\
**Last updated:** [April 3, 2019, 2:52am UTC](https://forums.unrealengine.com/t/spawning-actor-using-python/446456 "2019-04-03T02:52:17Z")

</div>

With Blueprint, I can SpawnActorFromClass with a StaticMeshActor, but with Python script, unreal.EditorLevelLibrary().spawn\_actor\_from\_class(ue.Class(name='StaticMeshActor'), location, rot) gives me: LogPython: Error:…

---

## [Get the location of a StaticMeshActor](https://forums.unrealengine.com/t/get-the-location-of-a-staticmeshactor/124358)

<div class="topic-metadata">

**Author:** [@kakyoism](https://forums.unrealengine.com/u/kakyoism)\
**Replies:** 1\
**Last updated:** [April 2, 2019, 8:32am UTC](https://forums.unrealengine.com/t/get-the-location-of-a-staticmeshactor/124358 "2019-04-02T08:32:42Z")

</div>

I want to retrieve the location of a StaticMeshActor I placed in the Level World. However, I can’t retrieve its location and got the following error: \> LogPython: Error: Exception: StaticMeshActor: Failed to find prope…

---

## [How do I make rinterp to framerate independent?](https://forums.unrealengine.com/t/how-do-i-make-rinterp-to-framerate-independent/405871)

<div class="topic-metadata">

**Author:** [@Feureau](https://forums.unrealengine.com/u/Feureau)\
**Replies:** 2\
**Last updated:** [April 1, 2019, 7:32pm UTC](https://forums.unrealengine.com/t/how-do-i-make-rinterp-to-framerate-independent/405871 "2019-04-01T19:32:19Z")

</div>

So, I’ve been using rinterp to to rotate an actor. Hooked up SetActorRotation to rinterpto and tried using GetWorldDeltaSeconds and Delta seconds from event tick to plug for Delta time. Like so: However, when I chan…

---

## [Attach metadata to actors from python](https://forums.unrealengine.com/t/attach-metadata-to-actors-from-python/446183)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_c6d1ecef](https://forums.unrealengine.com/u/anonymous_user_c6d1ecef)\
**Replies:** 1\
**Last updated:** [April 1, 2019, 5:41pm UTC](https://forums.unrealengine.com/t/attach-metadata-to-actors-from-python/446183 "2019-04-01T17:41:11Z")

</div>

I’m trying to attach metadata to level actors using python. I came across a similar question (for 4.13 and C++) where the solution was to use ActorComponents for the job. I’ve been introspecting the python stuff for ho…

---

## [Array "Get" not returning element?](https://forums.unrealengine.com/t/array-get-not-returning-element/446314)

<div class="topic-metadata">

**Author:** [@Elrekay](https://forums.unrealengine.com/u/Elrekay)\
**Replies:** 3\
**Last updated:** [March 31, 2019, 3:54am UTC](https://forums.unrealengine.com/t/array-get-not-returning-element/446314 "2019-03-31T03:54:09Z")

</div>

I have created a function that allows me to organize the characters of my game in order of their speed stat. This function is based off of that found in this post: https://answers.unrealengine.com/questions/32489/view.ht…

---

## [I can't get my shop to work with the inventory system. Can someone help me? Here's what I have so far..](https://forums.unrealengine.com/t/i-cant-get-my-shop-to-work-with-the-inventory-system-can-someone-help-me-heres-what-i-have-so-far/445976)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_fc5bc0a91](https://forums.unrealengine.com/u/anonymous_user_fc5bc0a91)\
**Replies:** 7\
**Last updated:** [March 30, 2019, 5:27am UTC](https://forums.unrealengine.com/t/i-cant-get-my-shop-to-work-with-the-inventory-system-can-someone-help-me-heres-what-i-have-so-far/445976 "2019-03-30T05:27:09Z")

</div>

Anyone here use the Titanic Games Inventory System as a base for their game? I can’t get my shop to work with the inventory system. Can someone help me? Here’s what I have so far…

---

## [How to query user selection in the editor?](https://forums.unrealengine.com/t/how-to-query-user-selection-in-the-editor/124117)

<div class="topic-metadata">

**Author:** [@Eric.Pavey](https://forums.unrealengine.com/u/Eric.Pavey)\
**Replies:** 3\
**Last updated:** [March 29, 2019, 5:32pm UTC](https://forums.unrealengine.com/t/how-to-query-user-selection-in-the-editor/124117 "2019-03-29T17:32:42Z")

</div>

First post: All new to Unreal, but long time Python & Maya user. Trying to do something which seems very simple when scripting other DCC apps, but I’m just completely missing it here: How does one query what the user …

---

## [Mass Saving Of World objects.](https://forums.unrealengine.com/t/mass-saving-of-world-objects/446147)

<div class="topic-metadata">

**Author:** [@SupDeity](https://forums.unrealengine.com/u/SupDeity)\
**Replies:** 8\
**Last updated:** [March 29, 2019, 12:58pm UTC](https://forums.unrealengine.com/t/mass-saving-of-world-objects/446147 "2019-03-29T12:58:26Z")

</div>

Hello!, So i am thinking of having respawnable ores and stuff that can be mined/harvested. but i dont want to save each and every item to check whether it has been spawned/how many items remain in that ore etc etc. so h…

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

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