# Editor Scripting

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

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

**Page:** 53

---

## [Print String vs Print to Screen](https://forums.unrealengine.com/t/print-string-vs-print-to-screen/142192)

<div class="topic-metadata">

**Author:** [@Mocky55](https://forums.unrealengine.com/u/Mocky55)\
**Replies:** 7\
**Last updated:** [April 26, 2020, 9:43pm UTC](https://forums.unrealengine.com/t/print-string-vs-print-to-screen/142192 "2020-04-26T21:43:31Z")

</div>

Hi guys, I’m super confused and it’s causing quite some frustration. I have 2 Unreal Projects, both in 4.24. And in one I can go into the Level BluePrints and search for “Print to Screen”, “Print String”, “Print to Next…

---

## [Performance Insights on UStruct vs UClass / Class](https://forums.unrealengine.com/t/performance-insights-on-ustruct-vs-uclass-class/464290)

<div class="topic-metadata">

**Author:** [@atanknomore](https://forums.unrealengine.com/u/atanknomore)\
**Replies:** 0\
**Last updated:** [April 26, 2020, 7:33pm UTC](https://forums.unrealengine.com/t/performance-insights-on-ustruct-vs-uclass-class/464290 "2020-04-26T19:33:19Z")

</div>

Hello, I’d like some further information on how different Class types utilize information. First, I will state that I holster most of my information and logic handling inside UStructs at the moment, and implement them i…

---

## [Python, adding Level sequence in Master Sequence.](https://forums.unrealengine.com/t/python-adding-level-sequence-in-master-sequence/140655)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_06ef27d1](https://forums.unrealengine.com/u/anonymous_user_06ef27d1)\
**Replies:** 4\
**Last updated:** [April 23, 2020, 4:33pm UTC](https://forums.unrealengine.com/t/python-adding-level-sequence-in-master-sequence/140655 "2020-04-23T16:33:10Z")

</div>

master\_sequence = unreal.AssetToolsHelpers.get\_asset\_tools().create\_asset(asset\_name=master\_sequence\_name, package\_path=path, asset\_class=unreal.LevelSequence, factory=unreal.LevelSequenceFactoryNew()) shot = unreal.As…

---

## [Blueprint for a slide/crouch mecanic](https://forums.unrealengine.com/t/blueprint-for-a-slide-crouch-mecanic/222902)

<div class="topic-metadata">

**Author:** [@Not\_carbon](https://forums.unrealengine.com/u/Not_carbon)\
**Replies:** 0\
**Last updated:** [April 22, 2020, 4:53pm UTC](https://forums.unrealengine.com/t/blueprint-for-a-slide-crouch-mecanic/222902 "2020-04-22T16:53:36Z")

</div>

I would like that the slide mecanic to work only when my character is moving and when is not moving he just crouch. How can I fix that pleaaase

---

## [Bake Material with Python script](https://forums.unrealengine.com/t/bake-material-with-python-script/141941)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_846052051](https://forums.unrealengine.com/u/anonymous_user_846052051)\
**Replies:** 0\
**Last updated:** [April 21, 2020, 5:49pm UTC](https://forums.unrealengine.com/t/bake-material-with-python-script/141941 "2020-04-21T17:49:48Z")

</div>

I have a large list of object in UE4 that need to utilize the Bake Material function that is built in to UE4. Here are the screencaps of the Bake Material button and the options I need to implement: https://i.imgur.com/…

---

## [Editor Preview only Blueprint Runtime Error while transferring variables between pawns](https://forums.unrealengine.com/t/editor-preview-only-blueprint-runtime-error-while-transferring-variables-between-pawns/141592)

<div class="topic-metadata">

**Author:** [@blackbird658](https://forums.unrealengine.com/u/blackbird658)\
**Replies:** 1\
**Last updated:** [April 19, 2020, 10:41am UTC](https://forums.unrealengine.com/t/editor-preview-only-blueprint-runtime-error-while-transferring-variables-between-pawns/141592 "2020-04-19T10:41:47Z")

</div>

\*\*\[FONT=comic sans ms\] The “Game” premise: \*\* Control a quadcopter from a player pawn (ideally VR). To get the VR pawn to animate it should be possessed by the player. To get the drone to fly correctly physics shou…

---

## [Need "favorite node" automatically selected when searching Blueprint node](https://forums.unrealengine.com/t/need-favorite-node-automatically-selected-when-searching-blueprint-node/141696)

<div class="topic-metadata">

**Author:** [@vital\_net](https://forums.unrealengine.com/u/vital_net)\
**Replies:** 0\
**Last updated:** [April 17, 2020, 2:10pm UTC](https://forums.unrealengine.com/t/need-favorite-node-automatically-selected-when-searching-blueprint-node/141696 "2020-04-17T14:10:30Z")

</div>

Hello everyone ! The search box in Blueprint editor should automatically select first favorite node found. For example if I want to test if a variable is valid I Click+Drag the pin, begin to type “valid” and, “va” is e…

---

## [Default values](https://forums.unrealengine.com/t/default-values/141529)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_0702f9d1](https://forums.unrealengine.com/u/anonymous_user_0702f9d1)\
**Replies:** 3\
**Last updated:** [April 17, 2020, 7:27am UTC](https://forums.unrealengine.com/t/default-values/141529 "2020-04-17T07:27:05Z")

</div>

I’m not good as English … I have a actor and create some components, I want set properties for collision. For example, setCollisionEnable(ECollision::NoCollision) or QueryOnly in my constructor. (UPROPERTY on the comp…

---

## [Blueprint actor has forgotten variable value after reloading project](https://forums.unrealengine.com/t/blueprint-actor-has-forgotten-variable-value-after-reloading-project/463286)

<div class="topic-metadata">

**Author:** [@mernst\_dns](https://forums.unrealengine.com/u/mernst_dns)\
**Replies:** 1\
**Last updated:** [April 16, 2020, 8:04pm UTC](https://forums.unrealengine.com/t/blueprint-actor-has-forgotten-variable-value-after-reloading-project/463286 "2020-04-16T20:04:45Z")

</div>

I have encountered a very strange phenomenon on my blueprint only project. The issue is that after reloading the project a specific variable (an array) loses its values which were properly set and working before closing …

---

## [How CineCameraActor to added to world by Python](https://forums.unrealengine.com/t/how-cinecameraactor-to-added-to-world-by-python/141247)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_ec0f74c31](https://forums.unrealengine.com/u/anonymous_user_ec0f74c31)\
**Replies:** 1\
**Last updated:** [April 15, 2020, 6:34pm UTC](https://forums.unrealengine.com/t/how-cinecameraactor-to-added-to-world-by-python/141247 "2020-04-15T18:34:26Z")

</div>

Hi. I’m newbie How CineCameraActor to added to world by Python? camera = unreal.CineCameraActor() camera\_location = unreal.Vector(0.0, 0.0, 0.0) camera\_rotation = unreal.Vector(0.0, 0.0, 0.0) camera\_scale = unreal.Vec…

---

## [Web Control Interface](https://forums.unrealengine.com/t/web-control-interface/141461)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_9e328387](https://forums.unrealengine.com/u/anonymous_user_9e328387)\
**Replies:** 1\
**Last updated:** [April 15, 2020, 3:09pm UTC](https://forums.unrealengine.com/t/web-control-interface/141461 "2020-04-15T15:09:33Z")

</div>

Hi, Just had a quick question about the web control interface I’ve gone through the examples which are all working as intended, however I’m not getting them to work at runtime. Is this normal? Upon stopping play th…

---

## [Save files in packaged builds](https://forums.unrealengine.com/t/save-files-in-packaged-builds/463714)

<div class="topic-metadata">

**Author:** [@The\_Alpha\_Maiestro](https://forums.unrealengine.com/u/The_Alpha_Maiestro)\
**Replies:** 3\
**Last updated:** [April 15, 2020, 9:20am UTC](https://forums.unrealengine.com/t/save-files-in-packaged-builds/463714 "2020-04-15T09:20:53Z")

</div>

Currently working on packaging my project for a demo and I wanted the player to be able to save to a file so they dont lose their progress when they close the game. Currently It’s making save files and its allowing me to…

---

## [World Composition Python Interface](https://forums.unrealengine.com/t/world-composition-python-interface/222845)

<div class="topic-metadata">

**Author:** [@jamietelford](https://forums.unrealengine.com/u/jamietelford)\
**Replies:** 0\
**Last updated:** [April 15, 2020, 4:23am UTC](https://forums.unrealengine.com/t/world-composition-python-interface/222845 "2020-04-15T04:23:38Z")

</div>

Is there an interface for World Composition? I’m wanting to change the tile arrangement via python… \[USER=“2003”\]Jamie Dale\[/USER\] is this the best approach? I’m not using world machine… my tiles are from sampled geom…

---

## [Inventory system - drop items](https://forums.unrealengine.com/t/inventory-system-drop-items/463711)

<div class="topic-metadata">

**Author:** [@Magi-DW](https://forums.unrealengine.com/u/Magi-DW)\
**Replies:** 2\
**Last updated:** [April 13, 2020, 6:17pm UTC](https://forums.unrealengine.com/t/inventory-system-drop-items/463711 "2020-04-13T18:17:35Z")

</div>

I tried making inventory system and when I want to drop an item all items that are the same type are also dropped. Tried using for each loop with break but it didn’t help. This is the blueprint I use for droping ite…

---

## [How to change Variable values of a Blueprint class from an Editor utility widget?](https://forums.unrealengine.com/t/how-to-change-variable-values-of-a-blueprint-class-from-an-editor-utility-widget/141216)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_a6609b4c1](https://forums.unrealengine.com/u/anonymous_user_a6609b4c1)\
**Replies:** 1\
**Last updated:** [April 12, 2020, 10:53am UTC](https://forums.unrealengine.com/t/how-to-change-variable-values-of-a-blueprint-class-from-an-editor-utility-widget/141216 "2020-04-12T10:53:00Z")

</div>

As the title says…I have a blueprint class with float values, that I am trying to control from the Editor widget. I’ve researched as much as possible but can’t seem to figure out what to set as the object/wildcard when c…

---

## [Creating Structs and adding them to TArrays.](https://forums.unrealengine.com/t/creating-structs-and-adding-them-to-tarrays/463647)

<div class="topic-metadata">

**Author:** [@ManlyDrew](https://forums.unrealengine.com/u/ManlyDrew)\
**Replies:** 1\
**Last updated:** [April 11, 2020, 10:41pm UTC](https://forums.unrealengine.com/t/creating-structs-and-adding-them-to-tarrays/463647 "2020-04-11T22:41:35Z")

</div>

I have a struct called FStruct and TArray of FStruct called ArrayOfStructs both declared in my header file. In my .cpp I want to create a new FStruct, assign certain variables to certain values, and put the FStruct into …

---

## [How do I reference a choice of imported .wav files?](https://forums.unrealengine.com/t/how-do-i-reference-a-choice-of-imported-wav-files/463612)

<div class="topic-metadata">

**Author:** [@Compguy321](https://forums.unrealengine.com/u/Compguy321)\
**Replies:** 1\
**Last updated:** [April 11, 2020, 6:27pm UTC](https://forums.unrealengine.com/t/how-do-i-reference-a-choice-of-imported-wav-files/463612 "2020-04-11T18:27:07Z")

</div>

I am trying to code a dialogue system, which plays a certain imported .wav file based on the “row” of character dialogue. I have the file names represented as a string. How do I go from this string, to reference the .w…

---

## [How to make Enemy A.I Avoid all light sources?](https://forums.unrealengine.com/t/how-to-make-enemy-a-i-avoid-all-light-sources/141231)

<div class="topic-metadata">

**Author:** [@SilentWraithJosh](https://forums.unrealengine.com/u/SilentWraithJosh)\
**Replies:** 2\
**Last updated:** [April 10, 2020, 10:09pm UTC](https://forums.unrealengine.com/t/how-to-make-enemy-a-i-avoid-all-light-sources/141231 "2020-04-10T22:09:37Z")

</div>

Hi there! I am working on an Unreal Engine Horror game, where I want the Enemy to avoid the player’s Flashlight and other light sources in-game, I haven’t been able to find anything anywhere about the specific thing I wa…

---

## [How to grow trees as you go along?](https://forums.unrealengine.com/t/how-to-grow-trees-as-you-go-along/141113)

<div class="topic-metadata">

**Author:** [@MrvyvynHD](https://forums.unrealengine.com/u/MrvyvynHD)\
**Replies:** 2\
**Last updated:** [April 9, 2020, 9:09am UTC](https://forums.unrealengine.com/t/how-to-grow-trees-as-you-go-along/141113 "2020-04-09T09:09:35Z")

</div>

Hello, I would like to know how I can make to grow trees as time goes by in my level? thank you very much for your answers. cordially.

---

## [referencing actor in a blueprint at construct](https://forums.unrealengine.com/t/referencing-actor-in-a-blueprint-at-construct/463431)

<div class="topic-metadata">

**Author:** [@Teapot\_Creation](https://forums.unrealengine.com/u/Teapot_Creation)\
**Replies:** 6\
**Last updated:** [April 7, 2020, 3:14pm UTC](https://forums.unrealengine.com/t/referencing-actor-in-a-blueprint-at-construct/463431 "2020-04-07T15:14:50Z")

</div>

Hey, I wonder if and how it is possible to refer to some actors from a blueprint at construct (for texture/location purposes) ? Using “get actor of class” or “with tag” sometimes returns an error, or at least a warning…

---

## [How to get attached components from a UBlueprint in c++/python? UE4.23](https://forums.unrealengine.com/t/how-to-get-attached-components-from-a-ublueprint-in-c-python-ue4-23/139950)

<div class="topic-metadata">

**Author:** [@sloxton](https://forums.unrealengine.com/u/sloxton)\
**Replies:** 1\
**Last updated:** [April 6, 2020, 10:31pm UTC](https://forums.unrealengine.com/t/how-to-get-attached-components-from-a-ublueprint-in-c-python-ue4-23/139950 "2020-04-06T22:31:14Z")

</div>

I want to be able to update default parameters on specific components in a blueprint - like the skeletal mesh component in a character blueprint. This is fairly straight forward if I have an actor already to get the com…

---

## [Gaining back control](https://forums.unrealengine.com/t/gaining-back-control/140969)

<div class="topic-metadata">

**Author:** [@Nebula\_480](https://forums.unrealengine.com/u/Nebula_480)\
**Replies:** 4\
**Last updated:** [April 6, 2020, 11:05am UTC](https://forums.unrealengine.com/t/gaining-back-control/140969 "2020-04-06T11:05:49Z")

</div>

Hello there. This is my first post asking for help as I’m new to unreal but have experience in Blender. After following some tutorials, I was able to set up a trigger volume where the players view is glided on to the ce…

---

## [my widget is not working in ue4 4.24.3 whan I package but working in ue4 4.203.3](https://forums.unrealengine.com/t/my-widget-is-not-working-in-ue4-4-24-3-whan-i-package-but-working-in-ue4-4-203-3/141034)

<div class="topic-metadata">

**Author:** [@RayTake](https://forums.unrealengine.com/u/RayTake)\
**Replies:** 0\
**Last updated:** [April 6, 2020, 9:22am UTC](https://forums.unrealengine.com/t/my-widget-is-not-working-in-ue4-4-24-3-whan-i-package-but-working-in-ue4-4-203-3/141034 "2020-04-06T09:22:30Z")

</div>

I am sorry , I am green my widget is not working in ue4 4.24.3 whan I package but working in ue4 4.203.3 I can’t find problem,some one can help me?

---

## [How machine learning is done in ue4 projects?](https://forums.unrealengine.com/t/how-machine-learning-is-done-in-ue4-projects/463368)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_308f0a98](https://forums.unrealengine.com/u/anonymous_user_308f0a98)\
**Replies:** 0\
**Last updated:** [April 6, 2020, 5:51am UTC](https://forums.unrealengine.com/t/how-machine-learning-is-done-in-ue4-projects/463368 "2020-04-06T05:51:33Z")

</div>

Hello, I am quite new to ue4. Recently i tried to use UnrealEnginePython plugin of 20tab for python in a project. Since python is experimental only in ue4. I tried to do some image matching using python. But this plugi…

---

## [How to edit a .sav file externally o inside UE?](https://forums.unrealengine.com/t/how-to-edit-a-sav-file-externally-o-inside-ue/140829)

<div class="topic-metadata">

**Author:** [@Naitguolf](https://forums.unrealengine.com/u/Naitguolf)\
**Replies:** 2\
**Last updated:** [April 2, 2020, 5:11pm UTC](https://forums.unrealengine.com/t/how-to-edit-a-sav-file-externally-o-inside-ue/140829 "2020-04-02T17:11:14Z")

</div>

Hi! I have a question about the .sav files. How could I can open/edit any .sav file generated by any runtime UE? Using Editor or using any like pyton script? Thanks!

---

## [How does the Unreal compiler handle references to container structs in memory?](https://forums.unrealengine.com/t/how-does-the-unreal-compiler-handle-references-to-container-structs-in-memory/463200)

<div class="topic-metadata">

**Author:** [@Goonix\_1](https://forums.unrealengine.com/u/Goonix_1)\
**Replies:** 0\
**Last updated:** [April 2, 2020, 11:08am UTC](https://forums.unrealengine.com/t/how-does-the-unreal-compiler-handle-references-to-container-structs-in-memory/463200 "2020-04-02T11:08:37Z")

</div>

I know this is a broad one, but let me explain. I’ve been trying to clean up my code and make it easier to write. I thought I’d use some references to some bigger structs I’ve been using. In my code I have a reference …

---

## [i have issue with my listview](https://forums.unrealengine.com/t/i-have-issue-with-my-listview/463165)

<div class="topic-metadata">

**Author:** [@ArthurDunesme](https://forums.unrealengine.com/u/ArthurDunesme)\
**Replies:** 0\
**Last updated:** [April 1, 2020, 2:32pm UTC](https://forums.unrealengine.com/t/i-have-issue-with-my-listview/463165 "2020-04-01T14:32:02Z")

</div>

so basically, i want to make an inventory where i store all the body part to customise a skin. but when i initialise my listview in my interface, every widget in the list is set by default. i followed this tutorial h…

---

## [Blueprint issue: Getting Vector Right is not updating properly](https://forums.unrealengine.com/t/blueprint-issue-getting-vector-right-is-not-updating-properly/222728)

<div class="topic-metadata">

**Author:** [@Dann\_SL](https://forums.unrealengine.com/u/Dann_SL)\
**Replies:** 0\
**Last updated:** [March 30, 2020, 4:15am UTC](https://forums.unrealengine.com/t/blueprint-issue-getting-vector-right-is-not-updating-properly/222728 "2020-03-30T04:15:41Z")

</div>

Hi everyone So I’m working on a 3d prototype using blueprints and I’m trying to achieve the next: I’m trying to get the camera’s position to the right of the player all the time, no matter where he moves. To do this I h…

---

## [How to set complex collision as simple through Python](https://forums.unrealengine.com/t/how-to-set-complex-collision-as-simple-through-python/140615)

<div class="topic-metadata">

**Author:** [@younesouhbi](https://forums.unrealengine.com/u/younesouhbi)\
**Replies:** 0\
**Last updated:** [March 30, 2020, 12:58am UTC](https://forums.unrealengine.com/t/how-to-set-complex-collision-as-simple-through-python/140615 "2020-03-30T00:58:50Z")

</div>

What the title says. While there is a\[FONT=courier new\] unreal.EditorStaticMeshLibrary.get\_collision\_complexity there doesn’t seem to be any setter. Anyone knows how? Thanks!

---

## [Creating UStructs in Python](https://forums.unrealengine.com/t/creating-ustructs-in-python/140499)

<div class="topic-metadata">

**Author:** [@EPG](https://forums.unrealengine.com/u/EPG)\
**Replies:** 0\
**Last updated:** [March 27, 2020, 7:43pm UTC](https://forums.unrealengine.com/t/creating-ustructs-in-python/140499 "2020-03-27T19:43:02Z")

</div>

I defined a UStruct in C++, consisting an FString and two integers. I want to create one of these so I wrote these lines: But I keep getting these errors:

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

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