# Editor Scripting

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

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

**Page:** 34

---

## [It is possible to get the image of the camera actor?](https://forums.unrealengine.com/t/it-is-possible-to-get-the-image-of-the-camera-actor/486168)

<div class="topic-metadata">

**Author:** [@consomme\_2](https://forums.unrealengine.com/u/consomme_2)\
**Replies:** 1\
**Last updated:** [July 14, 2021, 12:40am UTC](https://forums.unrealengine.com/t/it-is-possible-to-get-the-image-of-the-camera-actor/486168 "2021-07-14T00:40:26Z")

</div>

Hello,guys. As a premise, I’m bad at English so I’m studying it. The sentence may be strange, but please forgive me. I want to get the image of the camera actor, and specify the output destination in Python and save i…

---

## [\[SOLVED\]Import Alembic and Assign Material](https://forums.unrealengine.com/t/solved-import-alembic-and-assign-material/240088)

<div class="topic-metadata">

**Author:** [@AtomicPerception](https://forums.unrealengine.com/u/AtomicPerception)\
**Replies:** 0\
**Last updated:** [July 11, 2021, 8:44pm UTC](https://forums.unrealengine.com/t/solved-import-alembic-and-assign-material/240088 "2021-07-11T20:44:19Z")

</div>

I have written a script to batch import alembic files, add them to the world, assign the geometry cache and apply a custom made material. import unreal import random import colorsys ell = unreal.EditorLevelLibrary eal …

---

## [Which objects to store which bits of save game blueprints?](https://forums.unrealengine.com/t/which-objects-to-store-which-bits-of-save-game-blueprints/486060)

<div class="topic-metadata">

**Author:** [@Sudo-Ku](https://forums.unrealengine.com/u/Sudo-Ku)\
**Replies:** 0\
**Last updated:** [July 11, 2021, 5:38pm UTC](https://forums.unrealengine.com/t/which-objects-to-store-which-bits-of-save-game-blueprints/486060 "2021-07-11T17:38:05Z")

</div>

(not sure what happened to my other question that was awaiting mod review for the last 3 days, so I’ll add this in the meantime as it’s related)… I’m new to working with save game files and I think I understand the basi…

---

## [Saving multiple slots in an open world game?](https://forums.unrealengine.com/t/saving-multiple-slots-in-an-open-world-game/485950)

<div class="topic-metadata">

**Author:** [@Sudo-Ku](https://forums.unrealengine.com/u/Sudo-Ku)\
**Replies:** 0\
**Last updated:** [July 11, 2021, 5:33pm UTC](https://forums.unrealengine.com/t/saving-multiple-slots-in-an-open-world-game/485950 "2021-07-11T17:33:49Z")

</div>

I’ve watched a lot of tutorials on creating/saving to a game slot manually. And I’ve found others that cover multiple game slots using the same method. But I haven’t found any that cover how this would work in an open wo…

---

## [Keep SaveGame object in game instance or copy everything I need?](https://forums.unrealengine.com/t/keep-savegame-object-in-game-instance-or-copy-everything-i-need/400503)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_67dfa242](https://forums.unrealengine.com/u/anonymous_user_67dfa242)\
**Replies:** 2\
**Last updated:** [July 11, 2021, 3:36pm UTC](https://forums.unrealengine.com/t/keep-savegame-object-in-game-instance-or-copy-everything-i-need/400503 "2021-07-11T15:36:46Z")

</div>

I was copying my savegame data over to my game instance when I wondered if I really needed to do that, and if I could just use the structure itself throughout the game, updating that directly, and then saving it without …

---

## [ゲームの進行状況をセーブするbpについて](https://forums.unrealengine.com/t/bp/486039)

<div class="topic-metadata">

**Author:** [@shinshin0127](https://forums.unrealengine.com/u/shinshin0127)\
**Replies:** 1\
**Last updated:** [July 11, 2021, 8:37am UTC](https://forums.unrealengine.com/t/bp/486039 "2021-07-11T08:37:55Z")

</div>

画像のようなBPを作成して、プレイヤーの位置をセーブ・ロードできるように設定したのですが、ゲームの進行状況 を保存できるようにしたいと考えています。どのようにすればかのか、ご教授お願いします。

---

## [Gamemode variable after server travel](https://forums.unrealengine.com/t/gamemode-variable-after-server-travel/486015)

<div class="topic-metadata">

**Author:** [@ikheiri](https://forums.unrealengine.com/u/ikheiri)\
**Replies:** 2\
**Last updated:** [July 10, 2021, 2:44pm UTC](https://forums.unrealengine.com/t/gamemode-variable-after-server-travel/486015 "2021-07-10T14:44:56Z")

</div>

I’m doing server travel and trying to hold a value in a variable in the game mode. However after server travel to another level it seems the variable returns to the default value. Is this the way it’s supposed to be or…

---

## [Make thread wait until another thread has changed a variable. How?](https://forums.unrealengine.com/t/make-thread-wait-until-another-thread-has-changed-a-variable-how/485192)

<div class="topic-metadata">

**Author:** [@somawheels](https://forums.unrealengine.com/u/somawheels)\
**Replies:** 5\
**Last updated:** [July 8, 2021, 6:08pm UTC](https://forums.unrealengine.com/t/make-thread-wait-until-another-thread-has-changed-a-variable-how/485192 "2021-07-08T18:08:01Z")

</div>

I have a struct in thread1. I pass the struct to thread 2. I want thread 1 to wait until thread 2 has modified the struct. I have tried doing a while loop, which makes the thread sleep until the variable in the struct h…

---

## [force UE4Editor-cmd.exe to print a full python traceback](https://forums.unrealengine.com/t/force-ue4editor-cmd-exe-to-print-a-full-python-traceback/239563)

<div class="topic-metadata">

**Author:** [@KenAdamsLikesPizza](https://forums.unrealengine.com/u/KenAdamsLikesPizza)\
**Replies:** 0\
**Last updated:** [July 8, 2021, 5:35am UTC](https://forums.unrealengine.com/t/force-ue4editor-cmd-exe-to-print-a-full-python-traceback/239563 "2021-07-08T05:35:40Z")

</div>

I’m running a python script with UE4Editor-Cmd.exe on Windows 10. Something that looks like this… UE4Editor-Cmd.exe myProject -ExecutePythonCmd="myScript.py" -unattended -stdout -FullStdOutLogOutput and when there is a…

---

## [how to get variable from another blueprint](https://forums.unrealengine.com/t/how-to-get-variable-from-another-blueprint/485809)

<div class="topic-metadata">

**Author:** [@Sptgroups](https://forums.unrealengine.com/u/Sptgroups)\
**Replies:** 3\
**Last updated:** [July 6, 2021, 7:30am UTC](https://forums.unrealengine.com/t/how-to-get-variable-from-another-blueprint/485809 "2021-07-06T07:30:31Z")

</div>

where is the blueprint with the variable? where is the blueprint that needs to access the above? what is the scenario - what’s happening from the player’s perspective? what are those blueprints - just regular actors or …

---

## [Help with Inventory](https://forums.unrealengine.com/t/help-with-inventory/485754)

<div class="topic-metadata">

**Author:** [@Tettey\_Nartey](https://forums.unrealengine.com/u/Tettey_Nartey)\
**Replies:** 3\
**Last updated:** [July 5, 2021, 10:06am UTC](https://forums.unrealengine.com/t/help-with-inventory/485754 "2021-07-05T10:06:13Z")

</div>

Has anyone tried that Tutorial by Ryan Laley? I loved it but I have run into a few issues and it’s even worse since I tried to make it my own thing. I was following the steps all thoroughly, and I thought it’d come toget…

---

## [Merge actors and keep their materials](https://forums.unrealengine.com/t/merge-actors-and-keep-their-materials/485622)

<div class="topic-metadata">

**Author:** [@Aaron.KMKNW](https://forums.unrealengine.com/u/Aaron.KMKNW)\
**Replies:** 0\
**Last updated:** [July 4, 2021, 12:28am UTC](https://forums.unrealengine.com/t/merge-actors-and-keep-their-materials/485622 "2021-07-04T00:28:30Z")

</div>

Hi, I am trying to automate merging actors with Python. When I use “Merge Actors” within the Editor everything works as expected, but when I use Python all materials get discarded and WorldGridMaterial gets set as the …

---

## [Modify animation sequences in Editor Utility Blueprint](https://forums.unrealengine.com/t/modify-animation-sequences-in-editor-utility-blueprint/238719)

<div class="topic-metadata">

**Author:** [@PurpleMoon123](https://forums.unrealengine.com/u/PurpleMoon123)\
**Replies:** 1\
**Last updated:** [July 3, 2021, 11:02am UTC](https://forums.unrealengine.com/t/modify-animation-sequences-in-editor-utility-blueprint/238719 "2021-07-03T11:02:36Z")

</div>

Hi, I am new to UE. I have some animation blueprint assets, and I want to make a tool script to modify the animation sequences in the animation blueprint, But I encountered some problems when getting the animation blue…

---

## [What is the best way to smooth player movement for network hiccups? Interp? Ease? (no physics)](https://forums.unrealengine.com/t/what-is-the-best-way-to-smooth-player-movement-for-network-hiccups-interp-ease-no-physics/368904)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_7d05b65c](https://forums.unrealengine.com/u/anonymous_user_7d05b65c)\
**Replies:** 6\
**Last updated:** [July 3, 2021, 12:58am UTC](https://forums.unrealengine.com/t/what-is-the-best-way-to-smooth-player-movement-for-network-hiccups-interp-ease-no-physics/368904 "2021-07-03T00:58:49Z")

</div>

So my online multiplayer game has simple 6DOF movement using the floating pawn movement class. When you move in any direction, the speed is 3500 - no acceleration, no physics force. You just go 3500 immediately. I set up…

---

## [How to Update Editor widgets value C++](https://forums.unrealengine.com/t/how-to-update-editor-widgets-value-c/238161)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_f678ffc1](https://forums.unrealengine.com/u/anonymous_user_f678ffc1)\
**Replies:** 0\
**Last updated:** [June 30, 2021, 3:44am UTC](https://forums.unrealengine.com/t/how-to-update-editor-widgets-value-c/238161 "2021-06-30T03:44:33Z")

</div>

Is it possible to update all opened editor’s windows when I change the package value? For example: I have my editor for DataTables. If I change a value in the package I mark it like “Dirty”. So if I close the editor aft…

---

## [Get Anim Sequence from SkeletalMeshActor](https://forums.unrealengine.com/t/get-anim-sequence-from-skeletalmeshactor/238158)

<div class="topic-metadata">

**Author:** [@CKing2](https://forums.unrealengine.com/u/CKing2)\
**Replies:** 0\
**Last updated:** [June 30, 2021, 3:44am UTC](https://forums.unrealengine.com/t/get-anim-sequence-from-skeletalmeshactor/238158 "2021-06-30T03:44:08Z")

</div>

I have a SkeletalMeshActor. In my World Outliner, I can see that it is linked to a Sequence. In python, if I have reference to the actor, how do I get the anim sequence? Thanks, Chris

---

## [Help in Python Scripting to Import a Gltf Model](https://forums.unrealengine.com/t/help-in-python-scripting-to-import-a-gltf-model/235142)

<div class="topic-metadata">

**Author:** [@SHADOWxSTARK](https://forums.unrealengine.com/u/SHADOWxSTARK)\
**Replies:** 3\
**Last updated:** [June 29, 2021, 9:03am UTC](https://forums.unrealengine.com/t/help-in-python-scripting-to-import-a-gltf-model/235142 "2021-06-29T09:03:47Z")

</div>

Hey, experts I am trying to import a GLTF model through python scripting in content browser in an specific folder but i am getting error every time i run the script Python Script: from os import path import unreal un…

---

## [Editor Blueprint script - Hot keys](https://forums.unrealengine.com/t/editor-blueprint-script-hot-keys/236262)

<div class="topic-metadata">

**Author:** [@insideitall](https://forums.unrealengine.com/u/insideitall)\
**Replies:** 2\
**Last updated:** [June 28, 2021, 3:12pm UTC](https://forums.unrealengine.com/t/editor-blueprint-script-hot-keys/236262 "2021-06-28T15:12:57Z")

</div>

Is it possible to assign hotkeys to call an editor blueprint utility? For example, i write a blueprint utility to rotate a mesh 90 degrees, could i set that up so if i press shift+R or some other key combination it exec…

---

## [Convert datasmith actor to blueprint with python](https://forums.unrealengine.com/t/convert-datasmith-actor-to-blueprint-with-python/237866)

<div class="topic-metadata">

**Author:** [@jobim](https://forums.unrealengine.com/u/jobim)\
**Replies:** 0\
**Last updated:** [June 28, 2021, 10:55am UTC](https://forums.unrealengine.com/t/convert-datasmith-actor-to-blueprint-with-python/237866 "2021-06-28T10:55:18Z")

</div>

Hi, I want to convert an imported datasmith actor into a blueprint, just like I do with “convert selection to blueprint class”, but with python and starting the script from the command line without opening the full edit…

---

## [Interp to Movement Control Point Relative while Rotation World?](https://forums.unrealengine.com/t/interp-to-movement-control-point-relative-while-rotation-world/485383)

<div class="topic-metadata">

**Author:** [@DavidTveraas](https://forums.unrealengine.com/u/DavidTveraas)\
**Replies:** 2\
**Last updated:** [June 26, 2021, 5:04pm UTC](https://forums.unrealengine.com/t/interp-to-movement-control-point-relative-while-rotation-world/485383 "2021-06-26T17:04:19Z")

</div>

Is it possible to have the InterpToMovement control points set to relative while somehow getting the rotation of these control points set to world? I want to spawn in power-ups to random points on a map. I also want to k…

---

## [What does Pass-By-Reference do?](https://forums.unrealengine.com/t/what-does-pass-by-reference-do/303371)

<div class="topic-metadata">

**Author:** [@Kilrogg](https://forums.unrealengine.com/u/Kilrogg)\
**Replies:** 8\
**Last updated:** [June 24, 2021, 8:16pm UTC](https://forums.unrealengine.com/t/what-does-pass-by-reference-do/303371 "2021-06-24T20:16:27Z")

</div>

I’ve been working with UE4 for 1-2 months now so I’m pretty familiar with most of the Blueprint/Event Graph stuff, however I am still a bit confused about the Pass-By-Reference checkbox on function/event inputs. I found…

---

## [Problems with iterating over components and using set\_editor\_property](https://forums.unrealengine.com/t/problems-with-iterating-over-components-and-using-set_editor_property/127449)

<div class="topic-metadata">

**Author:** [@SebaSopp](https://forums.unrealengine.com/u/SebaSopp)\
**Replies:** 4\
**Last updated:** [June 24, 2021, 7:56pm UTC](https://forums.unrealengine.com/t/problems-with-iterating-over-components-and-using-set_editor_property/127449 "2021-06-24T19:56:22Z")

</div>

Hi, I am trying to add a tag to SceneComponents with a Script. import unreal actors = unreal.EditorLevelLibrary.get\_selected\_level\_actors() sceneComponents = actors\[0\].get\_components\_by\_class(unreal.SceneComponent)…

---

## [Dynamic inventory system](https://forums.unrealengine.com/t/dynamic-inventory-system/441334)

<div class="topic-metadata">

**Author:** [@zerobored](https://forums.unrealengine.com/u/zerobored)\
**Replies:** 9\
**Last updated:** [June 24, 2021, 5:16pm UTC](https://forums.unrealengine.com/t/dynamic-inventory-system/441334 "2021-06-24T17:16:41Z")

</div>

Hi. I’m trying to create a dynamic inventory system but I’m not doing something right. I’ve created an int array and I have for example (Gun - id 1 and Key - 2). After I collect the Key for example I add the id 2 in the…

---

## [Dynamic Inventory System C++](https://forums.unrealengine.com/t/dynamic-inventory-system-c/398825)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_ffd89733](https://forums.unrealengine.com/u/anonymous_user_ffd89733)\
**Replies:** 3\
**Last updated:** [June 24, 2021, 6:06am UTC](https://forums.unrealengine.com/t/dynamic-inventory-system-c/398825 "2021-06-24T06:06:43Z")

</div>

The idea is to have a dynamic inventory system consisting of AInventorable objects (Items that can be stored). These objects can be weapons that are equip-able, food to be eaten or armour to wear. The problem is that the…

---

## [Why can't I delete or duplicate my custom EdGraphNode](https://forums.unrealengine.com/t/why-cant-i-delete-or-duplicate-my-custom-edgraphnode/236489)

<div class="topic-metadata">

**Author:** [@Filtiarn00](https://forums.unrealengine.com/u/Filtiarn00)\
**Replies:** 1\
**Last updated:** [June 23, 2021, 9:23pm UTC](https://forums.unrealengine.com/t/why-cant-i-delete-or-duplicate-my-custom-edgraphnode/236489 "2021-06-23T21:23:07Z")

</div>

Here is my code. I am inheriting from CanUserDeleteNode() and CanUserDuplicateNode() and setting both to true. I also added a context menu. So confusing. Custom Node Class void UFluidArchitectEditorEdGraphNode::Alloca…

---

## [Animation Blueprint is altering a variable](https://forums.unrealengine.com/t/animation-blueprint-is-altering-a-variable/300996)

<div class="topic-metadata">

**Author:** [@Slavq](https://forums.unrealengine.com/u/Slavq)\
**Replies:** 2\
**Last updated:** [June 23, 2021, 7:00am UTC](https://forums.unrealengine.com/t/animation-blueprint-is-altering-a-variable/300996 "2021-06-23T07:00:26Z")

</div>

In my Player class i have variable “isAttacking”. I had a problem with entering a state in Anim BP, so i’ve checked the variable value with Print String and… In Player class i’ve put \[Event Tick\] \>\>\> \[Print String (isAt…

---

## [GENERIC GRAPH / Custom Editor, how do I make new Nodes?](https://forums.unrealengine.com/t/generic-graph-custom-editor-how-do-i-make-new-nodes/236201)

<div class="topic-metadata">

**Author:** [@Chili\_Turtle](https://forums.unrealengine.com/u/Chili_Turtle)\
**Replies:** 4\
**Last updated:** [June 22, 2021, 5:50pm UTC](https://forums.unrealengine.com/t/generic-graph-custom-editor-how-do-i-make-new-nodes/236201 "2021-06-22T17:50:58Z")

</div>

Hi I am using GitHub - jinyuliao/GenericGraph: Generic graph data structure plugin for ue4 but having trouble to create new Nodes. I made classes which inherent from those following classes Editor Module -UEdNode\_Gene…

---

## [Saving and Loading Many Files or One Large File](https://forums.unrealengine.com/t/saving-and-loading-many-files-or-one-large-file/485217)

<div class="topic-metadata">

**Author:** [@KKochiss](https://forums.unrealengine.com/u/KKochiss)\
**Replies:** 0\
**Last updated:** [June 22, 2021, 5:28pm UTC](https://forums.unrealengine.com/t/saving-and-loading-many-files-or-one-large-file/485217 "2021-06-22T17:28:37Z")

</div>

Hello, I have a question regarding strategy for saving structs of information. I have a UI that will display a 9 items of hundreds that all share a type, say weapons. All of the data for each item is stored in a struct…

---

## [Unable to correctly get a reference to an actor](https://forums.unrealengine.com/t/unable-to-correctly-get-a-reference-to-an-actor/302577)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_86d41c48](https://forums.unrealengine.com/u/anonymous_user_86d41c48)\
**Replies:** 5\
**Last updated:** [June 22, 2021, 1:45am UTC](https://forums.unrealengine.com/t/unable-to-correctly-get-a-reference-to-an-actor/302577 "2021-06-22T01:45:53Z")

</div>

Hi all, so I’m attempting to get a reference to three actors, (each has their own object reference variable) and thus get their location. However when the print node prints their individual locations, all three of them …

---

## [How to pass a struct around as a reference?](https://forums.unrealengine.com/t/how-to-pass-a-struct-around-as-a-reference/485191)

<div class="topic-metadata">

**Author:** [@somawheels](https://forums.unrealengine.com/u/somawheels)\
**Replies:** 0\
**Last updated:** [June 21, 2021, 10:57pm UTC](https://forums.unrealengine.com/t/how-to-pass-a-struct-around-as-a-reference/485191 "2021-06-21T22:57:34Z")

</div>

This is my situation: On thread 1, I make a new struct. On thread 2, I modify the values inside the struct. In thread 1, i want to check if thread 2 has changed the values in the struct. How would i do this? I feel l…

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

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