# Editor Scripting

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

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

**Page:** 40

---

## [Executing events when packaging the game](https://forums.unrealengine.com/t/executing-events-when-packaging-the-game/158458)

<div class="topic-metadata">

**Author:** [@jamiewhitephd](https://forums.unrealengine.com/u/jamiewhitephd)\
**Replies:** 1\
**Last updated:** [March 3, 2021, 11:49am UTC](https://forums.unrealengine.com/t/executing-events-when-packaging-the-game/158458 "2021-03-03T11:49:26Z")

</div>

Hi everyone, We are using an asset from the marketplace in our project that requires a public boolean on a Blueprint be toggled to true before packaging the game. As our project is very large in size and requires a fai…

---

## [change materialCollection node parameter via BP](https://forums.unrealengine.com/t/change-materialcollection-node-parameter-via-bp/224358)

<div class="topic-metadata">

**Author:** [@patar3d](https://forums.unrealengine.com/u/patar3d)\
**Replies:** 0\
**Last updated:** [March 3, 2021, 7:25am UTC](https://forums.unrealengine.com/t/change-materialcollection-node-parameter-via-bp/224358 "2021-03-03T07:25:16Z")

</div>

hi im creating a city with lots of material and texture for the buildings and i want to create a day and night system where at night the light on the texture is turn on. basicly i have an emission map that i want to mu…

---

## [RTS Survival game with individual inventory system](https://forums.unrealengine.com/t/rts-survival-game-with-individual-inventory-system/479539)

<div class="topic-metadata">

**Author:** [@BehaviorAdvanced](https://forums.unrealengine.com/u/BehaviorAdvanced)\
**Replies:** 5\
**Last updated:** [March 1, 2021, 4:04pm UTC](https://forums.unrealengine.com/t/rts-survival-game-with-individual-inventory-system/479539 "2021-03-01T16:04:55Z")

</div>

Hi! I’m currently making an RTS Survival type game and I’ve just implemented a basic inventory system, but I have a problem that I’m trying to get some help about. When I collect an item it goes to a “general” inventory …

---

## [Focus on details panel parameter. Blueprint of Python?](https://forums.unrealengine.com/t/focus-on-details-panel-parameter-blueprint-of-python/158572)

<div class="topic-metadata">

**Author:** [@MaderMax](https://forums.unrealengine.com/u/MaderMax)\
**Replies:** 0\
**Last updated:** [March 1, 2021, 1:44am UTC](https://forums.unrealengine.com/t/focus-on-details-panel-parameter-blueprint-of-python/158572 "2021-03-01T01:44:02Z")

</div>

I have an actor with a ton of properties in its details panel that are exposed with “Instance Editable” checked. I’d like to make it easier to find certain parameters that are used often, in the long details panel list …

---

## [For a Gear System, should I use Actors or Components?](https://forums.unrealengine.com/t/for-a-gear-system-should-i-use-actors-or-components/479576)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_c4a7aed61](https://forums.unrealengine.com/u/anonymous_user_c4a7aed61)\
**Replies:** 0\
**Last updated:** [February 28, 2021, 11:43pm UTC](https://forums.unrealengine.com/t/for-a-gear-system-should-i-use-actors-or-components/479576 "2021-02-28T23:43:31Z")

</div>

For a gear system similar to World of Warcraft or other rpgs, what would be the best practice for actually equipping an item and updating player’s stats/appearance? Right now I see two possible paths being updating pre-e…

---

## [SaveGame cast failed since the addition of new level, gamemode and player controller](https://forums.unrealengine.com/t/savegame-cast-failed-since-the-addition-of-new-level-gamemode-and-player-controller/479568)

<div class="topic-metadata">

**Author:** [@EDOTONY](https://forums.unrealengine.com/u/EDOTONY)\
**Replies:** 9\
**Last updated:** [February 28, 2021, 10:53pm UTC](https://forums.unrealengine.com/t/savegame-cast-failed-since-the-addition-of-new-level-gamemode-and-player-controller/479568 "2021-02-28T22:53:09Z")

</div>

Cast to the game mode? Do you mean to your own save game? I’ve had problems using short slot names. Try making the name longer.

---

## [Timer](https://forums.unrealengine.com/t/timer/224349)

<div class="topic-metadata">

**Author:** [@golddanny](https://forums.unrealengine.com/u/golddanny)\
**Replies:** 0\
**Last updated:** [February 28, 2021, 9:23pm UTC](https://forums.unrealengine.com/t/timer/224349 "2021-02-28T21:23:25Z")

</div>

Привет , мне для игры необходимо сделать таймер обратного отсчёта , например я подхожу к объекту нажимаю на кнопку и запускался таймер , а когда он заканчивался происходило какое то действие . И не через event tick , в и…

---

## [Replicating Variables](https://forums.unrealengine.com/t/replicating-variables/479487)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_00e35566](https://forums.unrealengine.com/u/anonymous_user_00e35566)\
**Replies:** 0\
**Last updated:** [February 28, 2021, 5:35pm UTC](https://forums.unrealengine.com/t/replicating-variables/479487 "2021-02-28T17:35:31Z")

</div>

Hello, In my multiplayer project, I need that when a player presses a button on the HUD, that button is blocked for other players, but what is happening is that when a player presses the button it is blocked just for hi…

---

## [Get Unreal Python old version API](https://forums.unrealengine.com/t/get-unreal-python-old-version-api/158513)

<div class="topic-metadata">

**Author:** [@Loux\_xavier](https://forums.unrealengine.com/u/Loux_xavier)\
**Replies:** 0\
**Last updated:** [February 27, 2021, 5:27pm UTC](https://forums.unrealengine.com/t/get-unreal-python-old-version-api/158513 "2021-02-27T17:27:26Z")

</div>

Hello! I need get the API of Unreal Python 4.25 but the API page was updated to 4.26 https://docs.unrealengine.com/en-US/…API/index.html How I can get the old version API ? Thanks, Xavier

---

## [Object/Actor Architecture Question](https://forums.unrealengine.com/t/object-actor-architecture-question/479470)

<div class="topic-metadata">

**Author:** [@VacudaVacuda](https://forums.unrealengine.com/u/VacudaVacuda)\
**Replies:** 4\
**Last updated:** [February 27, 2021, 3:04pm UTC](https://forums.unrealengine.com/t/object-actor-architecture-question/479470 "2021-02-27T15:04:00Z")

</div>

Less than a year of experience, I have an architecture question. I have an actor, APiece. It will never be destroyed. However, I routinely create and destroy a representation of that object in my game, a static mesh. …

---

## [アイテム名と個数を同時に管理したい](https://forums.unrealengine.com/t/topic/479384)

<div class="topic-metadata">

**Author:** [@turbotanaka](https://forums.unrealengine.com/u/turbotanaka)\
**Replies:** 1\
**Last updated:** [February 27, 2021, 9:52am UTC](https://forums.unrealengine.com/t/topic/479384 "2021-02-27T09:52:54Z")

</div>

インベントリシステムを作っているのですが、どのアイテムをどれだけ所持しているかを管理するにはどの方法が良いでしょうか？TMapが便利そうなのですが、中の要素を編集する機能が見当たらないので動的な個数の管理ができません。現在は配列を複数用意してインデックスで所得する方法を試していますが、ソートなどを使おうとすると順番がバラバラになって整合性の確実さに疑問があるので悩んでいます。アイテム名と個数を同時に管理できる良い方法は無いでしょうか？

---

## [\[c++\] Store, save and instantiate UClass\* (TSubclassOf)](https://forums.unrealengine.com/t/c-store-save-and-instantiate-uclass-tsubclassof/405638)

<div class="topic-metadata">

**Author:** [@Dragonstorm97](https://forums.unrealengine.com/u/Dragonstorm97)\
**Replies:** 2\
**Last updated:** [February 27, 2021, 5:14am UTC](https://forums.unrealengine.com/t/c-store-save-and-instantiate-uclass-tsubclassof/405638 "2021-02-27T05:14:49Z")

</div>

In BP I have a struct that has a class type variable that allows me to store an objects child type for later instantiation. This struct with the class type variable can easily be saved in Blueprints with the savegame ob…

---

## [Building inventory, data structure related question.](https://forums.unrealengine.com/t/building-inventory-data-structure-related-question/280580)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_c4a292f1](https://forums.unrealengine.com/u/anonymous_user_c4a292f1)\
**Replies:** 1\
**Last updated:** [February 26, 2021, 9:22pm UTC](https://forums.unrealengine.com/t/building-inventory-data-structure-related-question/280580 "2021-02-26T21:22:10Z")

</div>

Hi, I am starting to work on an inventory system using blueprints only. I plan to have a number of interactive objects in the scene, including collectable items as well as other interactive objects such as simple portal…

---

## [\[SOLVED\]Blueprint: Actor responds to second spin box on mouse release only.](https://forums.unrealengine.com/t/solved-blueprint-actor-responds-to-second-spin-box-on-mouse-release-only/158452)

<div class="topic-metadata">

**Author:** [@MaderMax](https://forums.unrealengine.com/u/MaderMax)\
**Replies:** 1\
**Last updated:** [February 26, 2021, 10:55am UTC](https://forums.unrealengine.com/t/solved-blueprint-actor-responds-to-second-spin-box-on-mouse-release-only/158452 "2021-02-26T10:55:28Z")

</div>

Hi. I’m trying to set things up so my GUI and actors public variables both update regardless of if the GUI is used or the actors parameters are changed in it’s properties window. I have two spin boxes in my “Canvas Pane…

---

## [Issue on serialize FTransform Property to byte stream](https://forums.unrealengine.com/t/issue-on-serialize-ftransform-property-to-byte-stream/479370)

<div class="topic-metadata">

**Author:** [@Asahi\_86](https://forums.unrealengine.com/u/Asahi_86)\
**Replies:** 3\
**Last updated:** [February 25, 2021, 4:31pm UTC](https://forums.unrealengine.com/t/issue-on-serialize-ftransform-property-to-byte-stream/479370 "2021-02-25T16:31:23Z")

</div>

I have made a UStruct like this: USTRUCT(BlueprintType) struct FTestLocation { GENERATED\_BODY() UPROPERTY() int32 Value = 0; UPROPERTY() FTransform Transfrom; UPROPERTY() float Value2 = 0; }; And I am trying …

---

## [Python 2.7 - AddWorldRotation?](https://forums.unrealengine.com/t/python-2-7-addworldrotation/158409)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_5f1f38c91](https://forums.unrealengine.com/u/anonymous_user_5f1f38c91)\
**Replies:** 1\
**Last updated:** [February 25, 2021, 2:47pm UTC](https://forums.unrealengine.com/t/python-2-7-addworldrotation/158409 "2021-02-25T14:47:52Z")

</div>

Is there a way to use AddWorldRotation on a StaticMeshActor in Python? I’m converting between a coordinate system from a different game to UE4. This is the only solution I’ve found to match the rotation between engine…

---

## [How do I use 'unreal.GameplayStatics.load\_stream\_level()' Function.](https://forums.unrealengine.com/t/how-do-i-use-unreal-gameplaystatics-load_stream_level-function/145087)

<div class="topic-metadata">

**Author:** [@Anonymous\_964c5dd7772fe2c296dcb10e6ddd4fb3](https://forums.unrealengine.com/u/Anonymous_964c5dd7772fe2c296dcb10e6ddd4fb3)\
**Replies:** 2\
**Last updated:** [February 25, 2021, 7:51am UTC](https://forums.unrealengine.com/t/how-do-i-use-unreal-gameplaystatics-load_stream_level-function/145087 "2021-02-25T07:51:28Z")

</div>

I hope to achieve batch loading of StreamingLevel and automatically add corresponding objects to the StreamingLevel and Save, How to pass the value of the parameter in the Function (unreal.GameplayStatics.load\_stream\_lev…

---

## [Python - Control scalar parameter with a light?](https://forums.unrealengine.com/t/python-control-scalar-parameter-with-a-light/158003)

<div class="topic-metadata">

**Author:** [@Daffrendo](https://forums.unrealengine.com/u/Daffrendo)\
**Replies:** 1\
**Last updated:** [February 24, 2021, 8:39am UTC](https://forums.unrealengine.com/t/python-control-scalar-parameter-with-a-light/158003 "2021-02-24T08:39:46Z")

</div>

Is this something that an Unreal python script could do- I would like to have an in-editor shortcut where I could illuminate an emissive material (via scalar emissive parameter) when I lower the lighting in editor, so i…

---

## [Save Game not created on SOME Android phones](https://forums.unrealengine.com/t/save-game-not-created-on-some-android-phones/468108)

<div class="topic-metadata">

**Author:** [@Awesumson](https://forums.unrealengine.com/u/Awesumson)\
**Replies:** 1\
**Last updated:** [February 24, 2021, 7:42am UTC](https://forums.unrealengine.com/t/save-game-not-created-on-some-android-phones/468108 "2021-02-24T07:42:18Z")

</div>

I’m having an issue with save games on android phones. The app requests internal/external read/write permissions when opened. Saving/loading works fine on my Huawei Mate 10 Pro, and a colleague’s Samsung Galaxy S9. It …

---

## [I need some help with my DayZ style Inventory.](https://forums.unrealengine.com/t/i-need-some-help-with-my-dayz-style-inventory/479294)

<div class="topic-metadata">

**Author:** [@\_dmm](https://forums.unrealengine.com/u/_dmm)\
**Replies:** 3\
**Last updated:** [February 23, 2021, 10:02pm UTC](https://forums.unrealengine.com/t/i-need-some-help-with-my-dayz-style-inventory/479294 "2021-02-23T22:02:17Z")

</div>

Hello! So I’m working on a DayZ style Inventory system. I can pick up equipments and they are going to be equipped, if the player don’t have that equipment already. I want to do that, when I equip an equipment like a ba…

---

## [Accessed None when trying to read property of Char2 Variable](https://forums.unrealengine.com/t/accessed-none-when-trying-to-read-property-of-char2-variable/479028)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_14eabdd81](https://forums.unrealengine.com/u/anonymous_user_14eabdd81)\
**Replies:** 15\
**Last updated:** [February 22, 2021, 7:16pm UTC](https://forums.unrealengine.com/t/accessed-none-when-trying-to-read-property-of-char2-variable/479028 "2021-02-22T19:16:12Z")

</div>

Hello, I’m currently following a tutorial for making a fighting game using UE4. However, I have come across a continuous error that occurs on my event tick function. I’m trying to make a camera that adjusts and zooms out…

---

## [Workflow python scripts for real world terrain sourced from GIS SRTM/DEMs](https://forums.unrealengine.com/t/workflow-python-scripts-for-real-world-terrain-sourced-from-gis-srtm-dems/158254)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_45320574](https://forums.unrealengine.com/u/anonymous_user_45320574)\
**Replies:** 0\
**Last updated:** [February 22, 2021, 5:12am UTC](https://forums.unrealengine.com/t/workflow-python-scripts-for-real-world-terrain-sourced-from-gis-srtm-dems/158254 "2021-02-22T05:12:26Z")

</div>

Hello there, It was quite an adventure for me until now gettings things properly set and working while trying to get real world topography into UE4. All the info, videos and tutorials I’ve found on internet are about o…

---

## [Move\\Spawn actor to specified level](https://forums.unrealengine.com/t/move-spawn-actor-to-specified-level/123604)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_1d736ae51](https://forums.unrealengine.com/u/anonymous_user_1d736ae51)\
**Replies:** 1\
**Last updated:** [March 17, 2019, 11:27am UTC](https://forums.unrealengine.com/t/move-spawn-actor-to-specified-level/123604 "2019-03-17T11:27:29Z")

</div>

Hello! i’m trying to make a script that moves spawned actor to another level, and by so far with no luck. There are some methods that do something similar, but only for Streaming Levels - unreal.EditorLevelUtils.move\_…

---

## [.txt to Unreal Engine and pack](https://forums.unrealengine.com/t/txt-to-unreal-engine-and-pack/158134)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_a9afeebf](https://forums.unrealengine.com/u/anonymous_user_a9afeebf)\
**Replies:** 0\
**Last updated:** [February 19, 2021, 12:10pm UTC](https://forums.unrealengine.com/t/txt-to-unreal-engine-and-pack/158134 "2021-02-19T12:10:16Z")

</div>

Good afternoon, In an Unreal Engine game I have opened a . uasset file via “FModel”. I copied the script into a text editor to edit the script. Now how do I get the text file into UE4 Editor 4.23 to pack it and have a…

---

## [Under 4.26.1, why can't the buttons in the uxtools toolkit be clicked?](https://forums.unrealengine.com/t/under-4-26-1-why-cant-the-buttons-in-the-uxtools-toolkit-be-clicked/158063)

<div class="topic-metadata">

**Author:** [@EVRTOP](https://forums.unrealengine.com/u/EVRTOP)\
**Replies:** 0\
**Last updated:** [February 18, 2021, 8:20am UTC](https://forums.unrealengine.com/t/under-4-26-1-why-cant-the-buttons-in-the-uxtools-toolkit-be-clicked/158063 "2021-02-18T08:20:46Z")

</div>

Under 4.26.1, why can’t the buttons in the uxtools toolkit be clicked? It is normal to click under 4.25.

---

## [Python: how to get the master level sequence](https://forums.unrealengine.com/t/python-how-to-get-the-master-level-sequence/157714)

<div class="topic-metadata">

**Author:** [@Shibuku87](https://forums.unrealengine.com/u/Shibuku87)\
**Replies:** 3\
**Last updated:** [February 17, 2021, 11:12am UTC](https://forums.unrealengine.com/t/python-how-to-get-the-master-level-sequence/157714 "2021-02-17T11:12:20Z")

</div>

Hello unreal community, I recently started with unreal and now digging into the Python API. At the moment I am trying to find the master tracks inside my unreal project. I would be glad if somebody could give me a hint…

---

## [full console command reference.. including all exec commands and their options.](https://forums.unrealengine.com/t/full-console-command-reference-including-all-exec-commands-and-their-options/158013)

<div class="topic-metadata">

**Author:** [@sdugaro](https://forums.unrealengine.com/u/sdugaro)\
**Replies:** 0\
**Last updated:** [February 17, 2021, 5:02am UTC](https://forums.unrealengine.com/t/full-console-command-reference-including-all-exec-commands-and-their-options/158013 "2021-02-17T05:02:46Z")

</div>

Hey so I happened across the following console command which shed some light on how feature rich console commands can be, but also how you can really miss a lot at first glance with what is presented to you if you just p…

---

## [Can you make a  script to add nodes/ actions into a blueprint Python/Editor Widget?](https://forums.unrealengine.com/t/can-you-make-a-script-to-add-nodes-actions-into-a-blueprint-python-editor-widget/158007)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_9fcfb11a1](https://forums.unrealengine.com/u/anonymous_user_9fcfb11a1)\
**Replies:** 0\
**Last updated:** [February 17, 2021, 2:17am UTC](https://forums.unrealengine.com/t/can-you-make-a-script-to-add-nodes-actions-into-a-blueprint-python-editor-widget/158007 "2021-02-17T02:17:00Z")

</div>

Can you add actions/nodes to a blueprint? I’ve spent all day watching videos just watched a few about using python I think my issue is that I don’t really know what I’m looking for and don’t know weather it exists or i…

---

## [Media playlist controlled externally not working](https://forums.unrealengine.com/t/media-playlist-controlled-externally-not-working/157941)

<div class="topic-metadata">

**Author:** [@Miguel\_R\_UK](https://forums.unrealengine.com/u/Miguel_R_UK)\
**Replies:** 0\
**Last updated:** [February 15, 2021, 9:47pm UTC](https://forums.unrealengine.com/t/media-playlist-controlled-externally-not-working/157941 "2021-02-15T21:47:17Z")

</div>

Hi there. My setup is as follows. Three surfaces playing videos. Each surface has its own media player applied as a material. Each media player has assigned a playlist with 4 videos each. My purpose is to set an externa…

---

## [Is there a Python script for gathering all level assets (incl. materials/meshes/blueprints etc)](https://forums.unrealengine.com/t/is-there-a-python-script-for-gathering-all-level-assets-incl-materials-meshes-blueprints-etc/157837)

<div class="topic-metadata">

**Author:** [@seedtech](https://forums.unrealengine.com/u/seedtech)\
**Replies:** 1\
**Last updated:** [February 15, 2021, 7:03pm UTC](https://forums.unrealengine.com/t/is-there-a-python-script-for-gathering-all-level-assets-incl-materials-meshes-blueprints-etc/157837 "2021-02-15T19:03:30Z")

</div>

Hey guys, noob question regarding Python scripts… Is there a Python script for gathering all level assets (including materials/meshes/blueprints etc) and putting them all into a folder? I tried using the ‘DeleteUnusedA…

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

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