# Editor Scripting

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

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

**Page:** 45

---

## [Need help on how i can set my camera as a character](https://forums.unrealengine.com/t/need-help-on-how-i-can-set-my-camera-as-a-character/152526)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_13c87d401](https://forums.unrealengine.com/u/anonymous_user_13c87d401)\
**Replies:** 0\
**Last updated:** [October 22, 2020, 2:51pm UTC](https://forums.unrealengine.com/t/need-help-on-how-i-can-set-my-camera-as-a-character/152526 "2020-10-22T14:51:11Z")

</div>

I’ve been looking all over the internet for almost 5 hours I swear, I just want to remove the character and make the player just see the scene with a dot in the circle (( crosshair )) a good example of this would be PC b…

---

## [Retain Save Game Files with Update](https://forums.unrealengine.com/t/retain-save-game-files-with-update/473203)

<div class="topic-metadata">

**Author:** [@cruisy18](https://forums.unrealengine.com/u/cruisy18)\
**Replies:** 2\
**Last updated:** [October 22, 2020, 8:28am UTC](https://forums.unrealengine.com/t/retain-save-game-files-with-update/473203 "2020-10-22T08:28:32Z")

</div>

If you did anything other than a shipping build, the save game will be included in the package and you need to get them to replace it with the current progress ( just swap the files ). If you packaged for shipping the s…

---

## [Animation Budget Blueprint Exposure Causing Python Stubs Syntax Error in Unreal 4.23.1](https://forums.unrealengine.com/t/animation-budget-blueprint-exposure-causing-python-stubs-syntax-error-in-unreal-4-23-1/152494)

<div class="topic-metadata">

**Author:** [@DirtyTechSmith](https://forums.unrealengine.com/u/DirtyTechSmith)\
**Replies:** 0\
**Last updated:** [October 21, 2020, 8:31pm UTC](https://forums.unrealengine.com/t/animation-budget-blueprint-exposure-causing-python-stubs-syntax-error-in-unreal-4-23-1/152494 "2020-10-21T20:31:01Z")

</div>

Sorry if this has already been mentioned, or perhaps fixed in a later version. I did a cursory search first. This is an issue in the stubs files generated in Unreal 4.23.1 However when stubs are generated for the Anim…

---

## [List all editor properties](https://forums.unrealengine.com/t/list-all-editor-properties/119197)

<div class="topic-metadata">

**Author:** [@blented](https://forums.unrealengine.com/u/blented)\
**Replies:** 3\
**Last updated:** [October 21, 2020, 5:54pm UTC](https://forums.unrealengine.com/t/list-all-editor-properties/119197 "2020-10-21T17:54:45Z")

</div>

Is there a way via the Python API to list all editor properties of a given object? I found this for UObjects in c++ but couldn’t find a corresponding class or methodology in the Python docs: Without such a method ther…

---

## [Object Selection and Transformation Lock Icon](https://forums.unrealengine.com/t/object-selection-and-transformation-lock-icon/152371)

<div class="topic-metadata">

**Author:** [@Ibtesam\_Sadiq](https://forums.unrealengine.com/u/Ibtesam_Sadiq)\
**Replies:** 0\
**Last updated:** [October 19, 2020, 3:08pm UTC](https://forums.unrealengine.com/t/object-selection-and-transformation-lock-icon/152371 "2020-10-19T15:08:34Z")

</div>

Hi, It’s a feature request. I know that I can already freeze an object in UE4 but It would be great to have an icon next to the object to do that. for locking object transform and one feature for making it unselectable…

---

## [Why am I getting accessed none from a specified actor variable?](https://forums.unrealengine.com/t/why-am-i-getting-accessed-none-from-a-specified-actor-variable/473037)

<div class="topic-metadata">

**Author:** [@Briedo\_Womter](https://forums.unrealengine.com/u/Briedo_Womter)\
**Replies:** 11\
**Last updated:** [October 17, 2020, 11:06pm UTC](https://forums.unrealengine.com/t/why-am-i-getting-accessed-none-from-a-specified-actor-variable/473037 "2020-10-17T23:06:02Z")

</div>

So, I am trying to make a mechanic where the player character has a backpack that grows as they collect items in their inventory. I have set up the blueprint so that when the player collects something, the backpack actor…

---

## [Texture2D variable will not save.](https://forums.unrealengine.com/t/texture2d-variable-will-not-save/440627)

<div class="topic-metadata">

**Author:** [@Planet\_Vano](https://forums.unrealengine.com/u/Planet_Vano)\
**Replies:** 4\
**Last updated:** [October 17, 2020, 8:57pm UTC](https://forums.unrealengine.com/t/texture2d-variable-will-not-save/440627 "2020-10-17T20:57:11Z")

</div>

I have a functioning profile system that saves all information EXCEPT the profile picture. The profile picture is imported by the player through an “Import File as Texture 2D” and saved. I have tried using a “Download Im…

---

## [How to get last inherited class in parent class in C++](https://forums.unrealengine.com/t/how-to-get-last-inherited-class-in-parent-class-in-c/472981)

<div class="topic-metadata">

**Author:** [@MESHOCK\_GAMES](https://forums.unrealengine.com/u/MESHOCK_GAMES)\
**Replies:** 2\
**Last updated:** [October 16, 2020, 5:30pm UTC](https://forums.unrealengine.com/t/how-to-get-last-inherited-class-in-parent-class-in-c/472981 "2020-10-16T17:30:43Z")

</div>

Im making an inventory in C++ and i have a structure (ItemInfo) that contains the class of this item. Also i have base c++ actor class - ItemBase. In the constructor of ItemBase i set up ItemInfo.ItemClass by calling Get…

---

## [How do I set the scale of an actor to grow/shrink according to how many items are in my inventory?](https://forums.unrealengine.com/t/how-do-i-set-the-scale-of-an-actor-to-grow-shrink-according-to-how-many-items-are-in-my-inventory/472882)

<div class="topic-metadata">

**Author:** [@Briedo\_Womter](https://forums.unrealengine.com/u/Briedo_Womter)\
**Replies:** 8\
**Last updated:** [October 15, 2020, 10:53pm UTC](https://forums.unrealengine.com/t/how-do-i-set-the-scale-of-an-actor-to-grow-shrink-according-to-how-many-items-are-in-my-inventory/472882 "2020-10-15T22:53:11Z")

</div>

Hey, I am trying to build a backpack that would grow in size whenever the player collects something into their inventory, as well as it would shrink if the player loses part of their inventory. I currently have a struct …

---

## [How to attach or reattach actors in sequence via blueprint or python or C++?](https://forums.unrealengine.com/t/how-to-attach-or-reattach-actors-in-sequence-via-blueprint-or-python-or-c/151356)

<div class="topic-metadata">

**Author:** [@Oleg\_Mazunin](https://forums.unrealengine.com/u/Oleg_Mazunin)\
**Replies:** 1\
**Last updated:** [October 15, 2020, 8:18am UTC](https://forums.unrealengine.com/t/how-to-attach-or-reattach-actors-in-sequence-via-blueprint-or-python-or-c/151356 "2020-10-15T08:18:00Z")

</div>

Hi! I figure out how to attach or reattach actors(Bindings) in Level Sequence via blueprint or python or C++? I want to optimize editing hundreds of recorded sequence I was trying a lot of method to do it, but can’t f…

---

## [Max distance for VinterpTo/RinterpTo node?](https://forums.unrealengine.com/t/max-distance-for-vinterpto-rinterpto-node/472896)

<div class="topic-metadata">

**Author:** [@MinuteMa1d](https://forums.unrealengine.com/u/MinuteMa1d)\
**Replies:** 1\
**Last updated:** [October 14, 2020, 5:52am UTC](https://forums.unrealengine.com/t/max-distance-for-vinterpto-rinterpto-node/472896 "2020-10-14T05:52:02Z")

</div>

I have a set of fps arms that I interpolate to match the camera’s location and rotation smoothly. Is there a way to set a max distance that the arms can get from the camera? And same for rotation, as in clamping them? I’…

---

## [manipulate variables inside actors with an editor script](https://forums.unrealengine.com/t/manipulate-variables-inside-actors-with-an-editor-script/152115)

<div class="topic-metadata">

**Author:** [@ilbiffi](https://forums.unrealengine.com/u/ilbiffi)\
**Replies:** 1\
**Last updated:** [October 14, 2020, 4:54am UTC](https://forums.unrealengine.com/t/manipulate-variables-inside-actors-with-an-editor-script/152115 "2020-10-14T04:54:49Z")

</div>

Is it possible to manipulate an actor’s variables from an ActorActionUtility?

---

## [UStructs not Setting](https://forums.unrealengine.com/t/ustructs-not-setting/370902)

<div class="topic-metadata">

**Author:** [@rfw7755](https://forums.unrealengine.com/u/rfw7755)\
**Replies:** 1\
**Last updated:** [September 18, 2016, 9:53pm UTC](https://forums.unrealengine.com/t/ustructs-not-setting/370902 "2016-09-18T21:53:35Z")

</div>

Hey Guys! So I have a very frustrating problem which using UStructs at the moment. I have a UStruct in a custom .h call PlaneInfoStruct.h which I have some basic information about my pawn. It works find when I try editi…

---

## [Create Plane and Assign Material?](https://forums.unrealengine.com/t/create-plane-and-assign-material/152109)

<div class="topic-metadata">

**Author:** [@AtomicPerception](https://forums.unrealengine.com/u/AtomicPerception)\
**Replies:** 0\
**Last updated:** [October 13, 2020, 5:56pm UTC](https://forums.unrealengine.com/t/create-plane-and-assign-material/152109 "2020-10-13T17:56:05Z")

</div>

I can make a plane this way. import unreal as ue ell = ue.EditorLevelLibrary eal = ue.EditorAssetLibrary mesh\_actor = ell.spawn\_actor\_from\_class(ue.StaticMeshActor.static\_class(), ue.Vector(0, 0, 0), ue.Rotator(0, 0…

---

## [How can I save/load TArray data?](https://forums.unrealengine.com/t/how-can-i-save-load-tarray-data/472854)

<div class="topic-metadata">

**Author:** [@Anonymous\_ec3b63dd0812b74e192978029f7aa778](https://forums.unrealengine.com/u/Anonymous_ec3b63dd0812b74e192978029f7aa778)\
**Replies:** 0\
**Last updated:** [October 13, 2020, 12:31pm UTC](https://forums.unrealengine.com/t/how-can-i-save-load-tarray-data/472854 "2020-10-13T12:31:14Z")

</div>

Question Hello I’m trying to make save/load system in my game. I wrote InventoryComponent that has TArray like this. UCLASS( ClassGroup=(Custom), meta=(BlueprintSpawnableComponent) ) class GAME\_API UInventoryComponent :…

---

## [Getting structure variables from randomly spawned actor.](https://forums.unrealengine.com/t/getting-structure-variables-from-randomly-spawned-actor/472744)

<div class="topic-metadata">

**Author:** [@JAMBALAIJA2](https://forums.unrealengine.com/u/JAMBALAIJA2)\
**Replies:** 7\
**Last updated:** [October 11, 2020, 10:45am UTC](https://forums.unrealengine.com/t/getting-structure-variables-from-randomly-spawned-actor/472744 "2020-10-11T10:45:19Z")

</div>

How could i get structure from randomly spawned actor (Spawn actor from class)?

---

## [firework sound not working](https://forums.unrealengine.com/t/firework-sound-not-working/223811)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_a5734069](https://forums.unrealengine.com/u/anonymous_user_a5734069)\
**Replies:** 0\
**Last updated:** [October 10, 2020, 7:10pm UTC](https://forums.unrealengine.com/t/firework-sound-not-working/223811 "2020-10-10T19:10:45Z")

</div>

hi can someone help me sounds work when i shoot a firework but when i mass click the sound of the explosion stops working se img

---

## [can not open Level Variant Manager](https://forums.unrealengine.com/t/can-not-open-level-variant-manager/143232)

<div class="topic-metadata">

**Author:** [@TADSGaming](https://forums.unrealengine.com/u/TADSGaming)\
**Replies:** 2\
**Last updated:** [October 9, 2020, 11:48am UTC](https://forums.unrealengine.com/t/can-not-open-level-variant-manager/143232 "2020-10-09T11:48:28Z")

</div>

I also placed this on Answers Hub but it does not seem to get used much so placing it here too. I am trying to use LevelVariantSet as to the videos posted changing wheels etc. when I create a LevelVariantSet name it wh…

---

## [Searching specific structure from array with 1 variable](https://forums.unrealengine.com/t/searching-specific-structure-from-array-with-1-variable/472551)

<div class="topic-metadata">

**Author:** [@JAMBALAIJA2](https://forums.unrealengine.com/u/JAMBALAIJA2)\
**Replies:** 1\
**Last updated:** [October 7, 2020, 4:16pm UTC](https://forums.unrealengine.com/t/searching-specific-structure-from-array-with-1-variable/472551 "2020-10-07T16:16:59Z")

</div>

I need to search same way as find note, but only with one variable. How could i do this?

---

## [Inventory with game and ui mode (help)](https://forums.unrealengine.com/t/inventory-with-game-and-ui-mode-help/472381)

<div class="topic-metadata">

**Author:** [@Nireexen](https://forums.unrealengine.com/u/Nireexen)\
**Replies:** 0\
**Last updated:** [October 6, 2020, 9:30pm UTC](https://forums.unrealengine.com/t/inventory-with-game-and-ui-mode-help/472381 "2020-10-06T21:30:52Z")

</div>

Hey there, I could need some help with some inventory stuff. I’m trying to lock the camera when the inventory open up. It works but when i’m trying to close the inventory it doesn’t work. Screenshot below / / / Have…

---

## [Memory related crash when importing .fbx meshes](https://forums.unrealengine.com/t/memory-related-crash-when-importing-fbx-meshes/150228)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_3714035a](https://forums.unrealengine.com/u/anonymous_user_3714035a)\
**Replies:** 3\
**Last updated:** [October 6, 2020, 2:20am UTC](https://forums.unrealengine.com/t/memory-related-crash-when-importing-fbx-meshes/150228 "2020-10-06T02:20:15Z")

</div>

I want to import ~1000 .fbx meshes that contain around 1million polygons each. Therefore i have following script: After around 20 imported meshes, unreal engine crashes although I have 32GB of Ram. When I import a sing…

---

## [Sequence Transform Selection Shortcut to a Function (UI Commands)](https://forums.unrealengine.com/t/sequence-transform-selection-shortcut-to-a-function-ui-commands/223799)

<div class="topic-metadata">

**Author:** [@DarkCatharsis](https://forums.unrealengine.com/u/DarkCatharsis)\
**Replies:** 0\
**Last updated:** [October 5, 2020, 7:29pm UTC](https://forums.unrealengine.com/t/sequence-transform-selection-shortcut-to-a-function-ui-commands/223799 "2020-10-05T19:29:01Z")

</div>

Is it possible to create UI Command as a function to call in Blueprint? This is the code from the UI Command SequencerCommands.cpp UI\_COMMAND( ToggleShowTransformBox, “Transform Selection…”, “”, EUserInterfaceActionT…

---

## [Blueprint Multiplayer exchange data](https://forums.unrealengine.com/t/blueprint-multiplayer-exchange-data/151675)

<div class="topic-metadata">

**Author:** [@Darkslyder90](https://forums.unrealengine.com/u/Darkslyder90)\
**Replies:** 0\
**Last updated:** [October 5, 2020, 3:45pm UTC](https://forums.unrealengine.com/t/blueprint-multiplayer-exchange-data/151675 "2020-10-05T15:45:43Z")

</div>

Hello together, i could need your help. I think that should be very basic but i’m stucking. I have a multiplayer project, there is a widget that should be synchronized for all players. This means that if a player presse…

---

## [UObjects in use destroyed by GC](https://forums.unrealengine.com/t/uobjects-in-use-destroyed-by-gc/472354)

<div class="topic-metadata">

**Author:** [@ISeeIcySea](https://forums.unrealengine.com/u/ISeeIcySea)\
**Replies:** 2\
**Last updated:** [October 4, 2020, 7:17pm UTC](https://forums.unrealengine.com/t/uobjects-in-use-destroyed-by-gc/472354 "2020-10-04T19:17:53Z")

</div>

Hello, I have a TArray of pointers to UObjects in a custom class, that I create at runtime using NewObject(). I am performing an action on those UObjects on tick, but I’ve noticed that after 60s, the garbage collector …

---

## [Bluprint Multiplayer Cast to Problem](https://forums.unrealengine.com/t/bluprint-multiplayer-cast-to-problem/151484)

<div class="topic-metadata">

**Author:** [@Darkslyder90](https://forums.unrealengine.com/u/Darkslyder90)\
**Replies:** 3\
**Last updated:** [October 3, 2020, 8:49pm UTC](https://forums.unrealengine.com/t/bluprint-multiplayer-cast-to-problem/151484 "2020-10-03T20:49:11Z")

</div>

​Hey Guy’s (or Girl’s :wink: ) i’ve got a question. Let me first describe my Project: I’m working on a multiplayer project in which I want to synchronize the movement of objects. I have a random generated array of act…

---

## [Missing unreal.log Statements when running python from dos command prompt](https://forums.unrealengine.com/t/missing-unreal-log-statements-when-running-python-from-dos-command-prompt/472288)

<div class="topic-metadata">

**Author:** [@jasonmoore](https://forums.unrealengine.com/u/jasonmoore)\
**Replies:** 0\
**Last updated:** [October 2, 2020, 3:14am UTC](https://forums.unrealengine.com/t/missing-unreal-log-statements-when-running-python-from-dos-command-prompt/472288 "2020-10-02T03:14:36Z")

</div>

I am running a python automation script using the following command “C:\\Program Files\\Epic Games\\UE\_4.23\\Engine\\Binaries\\Win64\\UE4Editor.exe” C:\\Work\\GVSC\\ImportTextures\\ImportTextures.uproject -stdout -ExecutePythonScr…

---

## [How to create progress bar percent animation](https://forums.unrealengine.com/t/how-to-create-progress-bar-percent-animation/365418)

<div class="topic-metadata">

**Author:** [@Roya\_Dimanod](https://forums.unrealengine.com/u/Roya_Dimanod)\
**Replies:** 4\
**Last updated:** [October 1, 2020, 11:59am UTC](https://forums.unrealengine.com/t/how-to-create-progress-bar-percent-animation/365418 "2020-10-01T11:59:33Z")

</div>

So there is the deal,here is my inventory widget as you can see I select different item,it show the different value of the orange bar. here is how I done with the orange bar. I thought I can use timeline t…

---

## [Pivot Painter Python to C++](https://forums.unrealengine.com/t/pivot-painter-python-to-c/472016)

<div class="topic-metadata">

**Author:** [@Fury22PL](https://forums.unrealengine.com/u/Fury22PL)\
**Replies:** 0\
**Last updated:** [October 1, 2020, 5:34am UTC](https://forums.unrealengine.com/t/pivot-painter-python-to-c/472016 "2020-10-01T05:34:13Z")

</div>

Hi! I really need to convert one of the pivot painter functions from either python(blender pivot painter) or 3DS Max script. It has to do with shifting bits around, but all float 32 to float 16 conversions I’ve tried gi…

---

## [\[SOLVED\]Set color value on new MaterialExpressionConstant3Vector](https://forums.unrealengine.com/t/solved-set-color-value-on-new-materialexpressionconstant3vector/151458)

<div class="topic-metadata">

**Author:** [@AtomicPerception](https://forums.unrealengine.com/u/AtomicPerception)\
**Replies:** 0\
**Last updated:** [September 30, 2020, 10:48pm UTC](https://forums.unrealengine.com/t/solved-set-color-value-on-new-materialexpressionconstant3vector/151458 "2020-09-30T22:48:35Z")

</div>

I have created a new constant node. # Add a color constant node. ts\_node\_diffuse = unreal.MaterialEditingLibrary.create\_material\_expression(mat\_closure,unreal.MaterialExpressionConstant3Vector,-384,-200) value = unrea…

---

## [Material Instance parameters to Material Layer Instance parameters and back?](https://forums.unrealengine.com/t/material-instance-parameters-to-material-layer-instance-parameters-and-back/151455)

<div class="topic-metadata">

**Author:** [@DaDarkDragon](https://forums.unrealengine.com/u/DaDarkDragon)\
**Replies:** 0\
**Last updated:** [September 30, 2020, 10:21pm UTC](https://forums.unrealengine.com/t/material-instance-parameters-to-material-layer-instance-parameters-and-back/151455 "2020-09-30T22:21:48Z")

</div>

Hello all, So I have a library of material functions that output material attributes and various instances of said materials. Basically like the new material layer system they have and i started converting them over to t…

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

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