# Editor Scripting

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

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

**Page:** 56

---

## [What order are Controllers and Pawns/Characters instantiated?](https://forums.unrealengine.com/t/what-order-are-controllers-and-pawns-characters-instantiated/460003)

<div class="topic-metadata">

**Author:** [@CodingRook](https://forums.unrealengine.com/u/CodingRook)\
**Replies:** 5\
**Last updated:** [January 11, 2020, 6:38pm UTC](https://forums.unrealengine.com/t/what-order-are-controllers-and-pawns-characters-instantiated/460003 "2020-01-11T18:38:05Z")

</div>

During recent work on creating custom derived classes from PlayerController and Character, I ran into some nullpointer problems. Can anyone explain in clear manner, or point to clarifying documentation or other resource…

---

## [Creating Animation Blueprints / Control Rigs using python scripting](https://forums.unrealengine.com/t/creating-animation-blueprints-control-rigs-using-python-scripting/136188)

<div class="topic-metadata">

**Author:** [@thezensunni](https://forums.unrealengine.com/u/thezensunni)\
**Replies:** 0\
**Last updated:** [January 9, 2020, 3:50pm UTC](https://forums.unrealengine.com/t/creating-animation-blueprints-control-rigs-using-python-scripting/136188 "2020-01-09T15:50:40Z")

</div>

Like the subject says, I was hoping to generate Animation Blueprints and Control Rigs using python scripting (not the 20tab plugin, but the built-in python intergration), but that seems far from straightforward. I can e…

---

## [Utility widget to display draw calls & polygon count?](https://forums.unrealengine.com/t/utility-widget-to-display-draw-calls-polygon-count/136178)

<div class="topic-metadata">

**Author:** [@roberteker](https://forums.unrealengine.com/u/roberteker)\
**Replies:** 0\
**Last updated:** [January 9, 2020, 11:42am UTC](https://forums.unrealengine.com/t/utility-widget-to-display-draw-calls-polygon-count/136178 "2020-01-09T11:42:21Z")

</div>

I find it really tiresome that framerate, draw calls and polygon count is hidden under three separate console commands. Is there any way to access the data from these console commands and put them into a custom editor b…

---

## [Camera Rinterp is stuttering and jittering](https://forums.unrealengine.com/t/camera-rinterp-is-stuttering-and-jittering/460271)

<div class="topic-metadata">

**Author:** [@DavidOConnor](https://forums.unrealengine.com/u/DavidOConnor)\
**Replies:** 5\
**Last updated:** [January 8, 2020, 2:19pm UTC](https://forums.unrealengine.com/t/camera-rinterp-is-stuttering-and-jittering/460271 "2020-01-08T14:19:59Z")

</div>

hi fellow devs :slight\_smile: This seems so simple, but I’m having issues with the Rinterp below… it’s causing jitters.

---

## [Variables reset after packaging \[DEMO PROJECT INCLUDED\]](https://forums.unrealengine.com/t/variables-reset-after-packaging-demo-project-included/322423)

<div class="topic-metadata">

**Author:** [@Slavq](https://forums.unrealengine.com/u/Slavq)\
**Replies:** 15\
**Last updated:** [January 7, 2020, 4:01pm UTC](https://forums.unrealengine.com/t/variables-reset-after-packaging-demo-project-included/322423 "2020-01-07T16:01:40Z")

</div>

Name of player character resets (to default value specified in parent class) after packaging. Very simple demo project \[HERE\]\[1\] Play in Editor or Standalone Game = “Bob”, correct name. Package project (tested with sh…

---

## [Editor Utility Set Actor Selection State](https://forums.unrealengine.com/t/editor-utility-set-actor-selection-state/134896)

<div class="topic-metadata">

**Author:** [@maffew](https://forums.unrealengine.com/u/maffew)\
**Replies:** 4\
**Last updated:** [January 7, 2020, 2:56pm UTC](https://forums.unrealengine.com/t/editor-utility-set-actor-selection-state/134896 "2020-01-07T14:56:53Z")

</div>

Hi, I’m moving my Blutilities over to the Editor Utility widgets but am having some problems with some of the nodes. I could previously set the selection state of an Actor using the ‘Set Actor Selection State’ node, bu…

---

## [Looking for info on "LogLevelTools: Error: Cannot find remapping for moved actor ID"](https://forums.unrealengine.com/t/looking-for-info-on-logleveltools-error-cannot-find-remapping-for-moved-actor-id/133495)

<div class="topic-metadata">

**Author:** [@POTWD](https://forums.unrealengine.com/u/POTWD)\
**Replies:** 1\
**Last updated:** [January 7, 2020, 2:34pm UTC](https://forums.unrealengine.com/t/looking-for-info-on-logleveltools-error-cannot-find-remapping-for-moved-actor-id/133495 "2020-01-07T14:34:11Z")

</div>

UPDATE 11/18 : looks like this might be related to the level move breaking any existing ‘soft references’ to the moved objects. I’m reading up on that and asset registry docs but any additional ideas/fixes are much appr…

---

## [Defining object members in Python](https://forums.unrealengine.com/t/defining-object-members-in-python/135785)

<div class="topic-metadata">

**Author:** [@Bender2016](https://forums.unrealengine.com/u/Bender2016)\
**Replies:** 2\
**Last updated:** [January 7, 2020, 6:56am UTC](https://forums.unrealengine.com/t/defining-object-members-in-python/135785 "2020-01-07T06:56:25Z")

</div>

Hello everyone！ I want to define a NON-UPROPERY member in Python, which is not successful with various methods. My code is as follows: import unreal import ftrack\_api @unreal.uclass() class FTrackProxyImplementation…

---

## [c++ FLatentAction how to control the update and when to call callback function](https://forums.unrealengine.com/t/c-flatentaction-how-to-control-the-update-and-when-to-call-callback-function/460216)

<div class="topic-metadata">

**Author:** [@RowelCaps](https://forums.unrealengine.com/u/RowelCaps)\
**Replies:** 0\
**Last updated:** [January 5, 2020, 1:39pm UTC](https://forums.unrealengine.com/t/c-flatentaction-how-to-control-the-update-and-when-to-call-callback-function/460216 "2020-01-05T13:39:53Z")

</div>

Hello! I’m confused how FLatentAction works. I have a root motion controller and i want to create a function that directly move to the location without the path finding and defines the final rotation. after the character…

---

## [Editor Scripting: How to add StaticMeshComponent to existing actor in level using Python/Blueprint/C++?](https://forums.unrealengine.com/t/editor-scripting-how-to-add-staticmeshcomponent-to-existing-actor-in-level-using-python-blueprint-c/460159)

<div class="topic-metadata">

**Author:** [@YanDaik](https://forums.unrealengine.com/u/YanDaik)\
**Replies:** 0\
**Last updated:** [January 3, 2020, 2:44pm UTC](https://forums.unrealengine.com/t/editor-scripting-how-to-add-staticmeshcomponent-to-existing-actor-in-level-using-python-blueprint-c/460159 "2020-01-03T14:44:18Z")

</div>

In the level editor in the Details panel there is a button “Add Component”. And you can add any component to an actor. But how can you add a component (StaticMeshComponent) to actor with a Python or Blueprint Script or …

---

## [How to create a DetailBuilder to show properties in a plugin tab?](https://forums.unrealengine.com/t/how-to-create-a-detailbuilder-to-show-properties-in-a-plugin-tab/135774)

<div class="topic-metadata">

**Author:** [@zwcloud](https://forums.unrealengine.com/u/zwcloud)\
**Replies:** 3\
**Last updated:** [January 2, 2020, 3:37pm UTC](https://forums.unrealengine.com/t/how-to-create-a-detailbuilder-to-show-properties-in-a-plugin-tab/135774 "2020-01-02T15:37:37Z")

</div>

I’m trying to display properties of my class in a plugin tab, not in the detail window. In the docs, https://docs.unrealengine.com/en-US/Programming/Slate/DetailsCustomization/index.html How to create a DetailBuilder? …

---

## [Communicate between PlayerController and Character](https://forums.unrealengine.com/t/communicate-between-playercontroller-and-character/460002)

<div class="topic-metadata">

**Author:** [@CodingRook](https://forums.unrealengine.com/u/CodingRook)\
**Replies:** 3\
**Last updated:** [December 30, 2019, 7:22pm UTC](https://forums.unrealengine.com/t/communicate-between-playercontroller-and-character/460002 "2019-12-30T19:22:51Z")

</div>

I was wondering: what is an elegant way (Epic-recommended) to be able to have a two-way communication/access between a custom PlayerController and custom Character. What I mean is, say I have derived from the standard c…

---

## [Remove relative movement/offset added to child actor :: Blueprint](https://forums.unrealengine.com/t/remove-relative-movement-offset-added-to-child-actor-blueprint/135637)

<div class="topic-metadata">

**Author:** [@Mateusz\_Fryc](https://forums.unrealengine.com/u/Mateusz_Fryc)\
**Replies:** 1\
**Last updated:** [December 30, 2019, 5:14pm UTC](https://forums.unrealengine.com/t/remove-relative-movement-offset-added-to-child-actor-blueprint/135637 "2019-12-30T17:14:28Z")

</div>

I’m making top down game and I’m having trouble positioning player’s child actor that contains procedural mesh generated at run time. Mesh covers area that should be out of sight for player. Below is how I spawn child a…

---

## [Writing a level porting plugin?](https://forums.unrealengine.com/t/writing-a-level-porting-plugin/135606)

<div class="topic-metadata">

**Author:** [@Whitefrost](https://forums.unrealengine.com/u/Whitefrost)\
**Replies:** 0\
**Last updated:** [December 28, 2019, 7:48pm UTC](https://forums.unrealengine.com/t/writing-a-level-porting-plugin/135606 "2019-12-28T19:48:54Z")

</div>

I’m currently trying to port levels from a game to use for VR. In the game’s files, each level has several text files that contain information about the objects placed in the world. For example, the static object informa…

---

## [variable not there when search in event graph](https://forums.unrealengine.com/t/variable-not-there-when-search-in-event-graph/459864)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_190628ff1](https://forums.unrealengine.com/u/anonymous_user_190628ff1)\
**Replies:** 7\
**Last updated:** [December 24, 2019, 11:44am UTC](https://forums.unrealengine.com/t/variable-not-there-when-search-in-event-graph/459864 "2019-12-24T11:44:12Z")

</div>

variable not there when search in event graph, but is there some check box to unhide specific variables so i can use it i like to now to hide and unhide or unlock specific variables, i use 4.23.1 and 4.24.1 unreal engin…

---

## [How do I create an inventory with an infinite supply of items?](https://forums.unrealengine.com/t/how-do-i-create-an-inventory-with-an-infinite-supply-of-items/459682)

<div class="topic-metadata">

**Author:** [@anon75326799](https://forums.unrealengine.com/u/anon75326799)\
**Replies:** 2\
**Last updated:** [December 19, 2019, 10:06am UTC](https://forums.unrealengine.com/t/how-do-i-create-an-inventory-with-an-infinite-supply-of-items/459682 "2019-12-19T10:06:54Z")

</div>

Hey there, I want to create some kind of inventory where I don’t have to pick up items but instead can just load them into the game. In most cases, you first pick up some , so later you can drop exactly this one item out…

---

## [How to Change Player "looks" based on what is selected in hot bar.](https://forums.unrealengine.com/t/how-to-change-player-looks-based-on-what-is-selected-in-hot-bar/459640)

<div class="topic-metadata">

**Author:** [@Will-Codes](https://forums.unrealengine.com/u/Will-Codes)\
**Replies:** 2\
**Last updated:** [December 17, 2019, 9:12pm UTC](https://forums.unrealengine.com/t/how-to-change-player-looks-based-on-what-is-selected-in-hot-bar/459640 "2019-12-17T21:12:21Z")

</div>

Hey! I am going to keep this short and simple. I am making a top-down advanced real-life graphics/survival game, where you loot and collect different guns, knives, etc… I know how to set up an inventory system but how c…

---

## [How to make a custom Blueprint node (K2 node) pin return by reference?](https://forums.unrealengine.com/t/how-to-make-a-custom-blueprint-node-k2-node-pin-return-by-reference/459439)

<div class="topic-metadata">

**Author:** [@k\_a\_s\_s\_k\_a\_s\_s](https://forums.unrealengine.com/u/k_a_s_s_k_a_s_s)\
**Replies:** 4\
**Last updated:** [December 17, 2019, 12:54pm UTC](https://forums.unrealengine.com/t/how-to-make-a-custom-blueprint-node-k2-node-pin-return-by-reference/459439 "2019-12-17T12:54:19Z")

</div>

What is the syntax for creating a return by reference pin on a custom K2 node? Writing a node that returns a regular reference compiles into a circular return pin, and calling by-ref nodes on the output of that pin does…

---

## [Editor Widget Utility-query EditableTextBox contents](https://forums.unrealengine.com/t/editor-widget-utility-query-editabletextbox-contents/134995)

<div class="topic-metadata">

**Author:** [@bmag\_aszxursddfe](https://forums.unrealengine.com/u/bmag_aszxursddfe)\
**Replies:** 0\
**Last updated:** [December 14, 2019, 1:39am UTC](https://forums.unrealengine.com/t/editor-widget-utility-query-editabletextbox-contents/134995 "2019-12-14T01:39:07Z")

</div>

I’m trying to build a UI widget where other artists can paste text into a text box and run a python script. (The script has already been rigorously tested with the outputLog, just trying simplify the process for other a…

---

## [Customize Editor Cursor?](https://forums.unrealengine.com/t/customize-editor-cursor/134991)

<div class="topic-metadata">

**Author:** [@guyal](https://forums.unrealengine.com/u/guyal)\
**Replies:** 0\
**Last updated:** [December 13, 2019, 10:35pm UTC](https://forums.unrealengine.com/t/customize-editor-cursor/134991 "2019-12-13T22:35:25Z")

</div>

Any way (built in or hack) to customize the size/shape/color/readability of the cross-shaped Editor Viewport mouse cursor? At times, on a large, high res monitor, the cursor can disappear against similar color background…

---

## [Is there a way to tell when a SaveGame object is old or corrupted?](https://forums.unrealengine.com/t/is-there-a-way-to-tell-when-a-savegame-object-is-old-or-corrupted/459491)

<div class="topic-metadata">

**Author:** [@Dtb](https://forums.unrealengine.com/u/Dtb)\
**Replies:** 1\
**Last updated:** [December 13, 2019, 9:28pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-tell-when-a-savegame-object-is-old-or-corrupted/459491 "2019-12-13T21:28:48Z")

</div>

I am using a save game object and I noticed that after I modify my project some the save game object becomes corrupted or something. I was using it for some configurations on my character and after a few changes the Save…

---

## [FlushDebugStrings does not work](https://forums.unrealengine.com/t/flushdebugstrings-does-not-work/134929)

<div class="topic-metadata">

**Author:** [@sabibo67](https://forums.unrealengine.com/u/sabibo67)\
**Replies:** 0\
**Last updated:** [December 12, 2019, 9:48pm UTC](https://forums.unrealengine.com/t/flushdebugstrings-does-not-work/134929 "2019-12-12T21:48:25Z")

</div>

It is supposed to remove all the debug strings, right? It doesn’t seem to do anything for me.

---

## [Create a menu item or button to call python script](https://forums.unrealengine.com/t/create-a-menu-item-or-button-to-call-python-script/134547)

<div class="topic-metadata">

**Author:** [@Vizard15](https://forums.unrealengine.com/u/Vizard15)\
**Replies:** 4\
**Last updated:** [December 11, 2019, 10:44pm UTC](https://forums.unrealengine.com/t/create-a-menu-item-or-button-to-call-python-script/134547 "2019-12-11T22:44:04Z")

</div>

Hi all, New to Unreal, so apologies in advance if this is a stupid question. I wanted to bind my python script to either a menu item or button in the Editor. Any info to achieve this would be highly appreciated. Thanks …

---

## [Actor destroys automatically after setting hidden and disabling collision](https://forums.unrealengine.com/t/actor-destroys-automatically-after-setting-hidden-and-disabling-collision/288052)

<div class="topic-metadata">

**Author:** [@DerMaddin](https://forums.unrealengine.com/u/DerMaddin)\
**Replies:** 8\
**Last updated:** [December 11, 2019, 4:37pm UTC](https://forums.unrealengine.com/t/actor-destroys-automatically-after-setting-hidden-and-disabling-collision/288052 "2019-12-11T16:37:28Z")

</div>

Hello fellows, I have a problem with my inventory system. First some information for what I want to do: What I want to accomplish is to have a blueprint which holds all information for that “ingame-item”, including the…

---

## [Copy Variable and Reprint It](https://forums.unrealengine.com/t/copy-variable-and-reprint-it/134815)

<div class="topic-metadata">

**Author:** [@ScottPrinters](https://forums.unrealengine.com/u/ScottPrinters)\
**Replies:** 0\
**Last updated:** [December 11, 2019, 1:17am UTC](https://forums.unrealengine.com/t/copy-variable-and-reprint-it/134815 "2019-12-11T01:17:38Z")

</div>

Hello, I am creating a life sim game in UE4, for the log I want it to look like this: and then when the player clicks advance, it should post another line with the new variable values, so it would look like this Does…

---

## [Blueprint Map "find" node that gets value as reference possible? Same as "Get (ref)" for arrays.](https://forums.unrealengine.com/t/blueprint-map-find-node-that-gets-value-as-reference-possible-same-as-get-ref-for-arrays/459316)

<div class="topic-metadata">

**Author:** [@k\_a\_s\_s\_k\_a\_s\_s](https://forums.unrealengine.com/u/k_a_s_s_k_a_s_s)\
**Replies:** 0\
**Last updated:** [December 10, 2019, 10:23am UTC](https://forums.unrealengine.com/t/blueprint-map-find-node-that-gets-value-as-reference-possible-same-as-get-ref-for-arrays/459316 "2019-12-10T10:23:58Z")

</div>

Is there any reason that the “find” node for maps in Blueprint only returns copies? For many use cases changing the value directly is necessary, such as setting a member in a struct / vector / any other non-atomic type …

---

## [Get asset reference from scene selected asset](https://forums.unrealengine.com/t/get-asset-reference-from-scene-selected-asset/134678)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_339f9a4e](https://forums.unrealengine.com/u/anonymous_user_339f9a4e)\
**Replies:** 0\
**Last updated:** [December 9, 2019, 5:26am UTC](https://forums.unrealengine.com/t/get-asset-reference-from-scene-selected-asset/134678 "2019-12-09T05:26:16Z")

</div>

Hi Does anyone know how to get a reference to an asset from scene selection? I can get at the instance that I have selected via: selected\_actors = unreal.EditorLevelLibrary.get\_selected\_level\_actors() for sel in sele…

---

## [Python Import wav and create Cue file](https://forums.unrealengine.com/t/python-import-wav-and-create-cue-file/134643)

<div class="topic-metadata">

**Author:** [@RyroNZ](https://forums.unrealengine.com/u/RyroNZ)\
**Replies:** 1\
**Last updated:** [December 8, 2019, 6:15am UTC](https://forums.unrealengine.com/t/python-import-wav-and-create-cue-file/134643 "2019-12-08T06:15:27Z")

</div>

Hey I am trying to use the python library to import some wav files and then create the corresponding cue files for them - unfortunately using auto\_create\_cue property setting doesn’t create the cue and when I manually cr…

---

## [Animation Blueprint Interpolation Problem](https://forums.unrealengine.com/t/animation-blueprint-interpolation-problem/459207)

<div class="topic-metadata">

**Author:** [@HajimeXNagumo](https://forums.unrealengine.com/u/HajimeXNagumo)\
**Replies:** 0\
**Last updated:** [December 6, 2019, 3:34pm UTC](https://forums.unrealengine.com/t/animation-blueprint-interpolation-problem/459207 "2019-12-06T15:34:24Z")

</div>

Hello Guys, i could need some help. I have a cube with a idle pos 0,0,0 (no movement) and a move forward animation. So if i play the move forward animation and the cube want to return to idle pos (move forward last fram…

---

## [Importing multiple DatasmithScene elements into  single level](https://forums.unrealengine.com/t/importing-multiple-datasmithscene-elements-into-single-level/134526)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_222b4628](https://forums.unrealengine.com/u/anonymous_user_222b4628)\
**Replies:** 0\
**Last updated:** [December 5, 2019, 3:02pm UTC](https://forums.unrealengine.com/t/importing-multiple-datasmithscene-elements-into-single-level/134526 "2019-12-05T15:02:11Z")

</div>

Hi, I am trying to create python script, which will setup CAD models in level according to data from database. I can now import single model and move it as an actor with add\_actor\_local\_transform(). I cannot however i…

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

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