# Editor Scripting

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

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

**Page:** 33

---

## [Accessed none when referencing player character](https://forums.unrealengine.com/t/accessed-none-when-referencing-player-character/487220)

<div class="topic-metadata">

**Author:** [@AngryDoomGuy](https://forums.unrealengine.com/u/AngryDoomGuy)\
**Replies:** 1\
**Last updated:** [August 9, 2021, 1:34pm UTC](https://forums.unrealengine.com/t/accessed-none-when-referencing-player-character/487220 "2021-08-09T13:34:31Z")

</div>

Hello guys! Got a weird one here. For some reason that is alluding me ATM I cant figure out why my referencing of the custom player character isnt working. i’ve included screenshots below, and so hopefully someone migh…

---

## [Python scripting for metahuman](https://forums.unrealengine.com/t/python-scripting-for-metahuman/487216)

<div class="topic-metadata">

**Author:** [@prof\_deepak](https://forums.unrealengine.com/u/prof_deepak)\
**Replies:** 0\
**Last updated:** [August 9, 2021, 6:04am UTC](https://forums.unrealengine.com/t/python-scripting-for-metahuman/487216 "2021-08-09T06:04:14Z")

</div>

When I need to animate a UE4 mannequin, its not hard for me to do it with python scripting. I add an animation track to the actor itself. For a metahuman, I’ll have to add an animation track to the body component of …

---

## [Python: query the face\_id that assigned with material](https://forums.unrealengine.com/t/python-query-the-face_id-that-assigned-with-material/487183)

<div class="topic-metadata">

**Author:** [@Tony\_Nguyen\_Chi](https://forums.unrealengine.com/u/Tony_Nguyen_Chi)\
**Replies:** 0\
**Last updated:** [August 8, 2021, 5:49am UTC](https://forums.unrealengine.com/t/python-query-the-face_id-that-assigned-with-material/487183 "2021-08-08T05:49:56Z")

</div>

Can we use Python to query the face\_id that assigned with material in UE? example: material A is assigned to faces \[0, 1, 5\]

---

## [Duplicate map when saving data (UEDPIE)](https://forums.unrealengine.com/t/duplicate-map-when-saving-data-uedpie/478472)

<div class="topic-metadata">

**Author:** [@Elfideo](https://forums.unrealengine.com/u/Elfideo)\
**Replies:** 5\
**Last updated:** [August 7, 2021, 11:06pm UTC](https://forums.unrealengine.com/t/duplicate-map-when-saving-data-uedpie/478472 "2021-08-07T23:06:43Z")

</div>

Hello guys I’m making a saving system and it needs to save a couple of things An integer that increases when the player picks up and altar The state of the altar(Has it being picked up; yes or no ? ) since there’s mult…

---

## [Python: how to get information of LOD with material elements](https://forums.unrealengine.com/t/python-how-to-get-information-of-lod-with-material-elements/487151)

<div class="topic-metadata">

**Author:** [@Tony\_Nguyen\_Chi](https://forums.unrealengine.com/u/Tony_Nguyen_Chi)\
**Replies:** 0\
**Last updated:** [August 7, 2021, 1:17pm UTC](https://forums.unrealengine.com/t/python-how-to-get-information-of-lod-with-material-elements/487151 "2021-08-07T13:17:21Z")

</div>

Hello All, I’m trying to export the information of StaticMeshActor from Unreal and I can export some info like material, instance, location… but I don’t know how to export/get information of material for each section in…

---

## [Is it possible to directly reference components of other actors in BluePrint?](https://forums.unrealengine.com/t/is-it-possible-to-directly-reference-components-of-other-actors-in-blueprint/444797)

<div class="topic-metadata">

**Author:** [@limbusdev](https://forums.unrealengine.com/u/limbusdev)\
**Replies:** 2\
**Last updated:** [August 6, 2021, 7:03pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-directly-reference-components-of-other-actors-in-blueprint/444797 "2021-08-06T19:03:58Z")

</div>

Hi there, I am new to Unreal but have lots of experience in Unity. I know, it is not the same, but I guess there are ways to achieve the same and I simply do not know how. So, my question is: Can I set an object refere…

---

## [\[Solved\] Asset picker widget for editor utility widget](https://forums.unrealengine.com/t/solved-asset-picker-widget-for-editor-utility-widget/150029)

<div class="topic-metadata">

**Author:** [@trashbyte](https://forums.unrealengine.com/u/trashbyte)\
**Replies:** 3\
**Last updated:** [August 6, 2021, 6:18pm UTC](https://forums.unrealengine.com/t/solved-asset-picker-widget-for-editor-utility-widget/150029 "2021-08-06T18:18:12Z")

</div>

I’m trying to add an asset picker (the same kind used all over the editor) to an editor utility widget, and I thought this would be simple but I guess there’s no support for it yet? My research has led me down a Slate r…

---

## [Scene Data Dump](https://forums.unrealengine.com/t/scene-data-dump/243832)

<div class="topic-metadata">

**Author:** [@junfanbl](https://forums.unrealengine.com/u/junfanbl)\
**Replies:** 3\
**Last updated:** [August 6, 2021, 1:28pm UTC](https://forums.unrealengine.com/t/scene-data-dump/243832 "2021-08-06T13:28:03Z")

</div>

Hello everyone, I wasn’t sure what the appropriate thread was for this question. I’m wondering if UE enables you too query the scene elements? I’d like to query attributes for each object in the scene, specifically: Ve…

---

## [How to use python to delete the level type in UE4](https://forums.unrealengine.com/t/how-to-use-python-to-delete-the-level-type-in-ue4/487101)

<div class="topic-metadata">

**Author:** [@\_95](https://forums.unrealengine.com/u/_95)\
**Replies:** 0\
**Last updated:** [August 6, 2021, 10:23am UTC](https://forums.unrealengine.com/t/how-to-use-python-to-delete-the-level-type-in-ue4/487101 "2021-08-06T10:23:11Z")

</div>

How to use python to delete the level type in UE4?

---

## [Need help with an array/map](https://forums.unrealengine.com/t/need-help-with-an-array-map/487089)

<div class="topic-metadata">

**Author:** [@Wickie](https://forums.unrealengine.com/u/Wickie)\
**Replies:** 4\
**Last updated:** [August 6, 2021, 7:13am UTC](https://forums.unrealengine.com/t/need-help-with-an-array-map/487089 "2021-08-06T07:13:26Z")

</div>

Alright so I have a grid system that works fine and until recently I did not notice it has a fundamental flaw that is not an issue until I have more than 500 rows in the X direction. The issue is in this function below …

---

## [AI not registering attack on 3rd person character](https://forums.unrealengine.com/t/ai-not-registering-attack-on-3rd-person-character/243781)

<div class="topic-metadata">

**Author:** [@krazi16](https://forums.unrealengine.com/u/krazi16)\
**Replies:** 0\
**Last updated:** [August 4, 2021, 4:11am UTC](https://forums.unrealengine.com/t/ai-not-registering-attack-on-3rd-person-character/243781 "2021-08-04T04:11:02Z")

</div>

Hi, I"m using a play montage with a apply damage mechanic linked to it, but whenever I print string, nothing shows up on the screen that the 3rd person character is taking damage from the AI. I’ve attached my blu…

---

## [Variable gets overwritten in Tick Event](https://forums.unrealengine.com/t/variable-gets-overwritten-in-tick-event/486996)

<div class="topic-metadata">

**Author:** [@Jules3D](https://forums.unrealengine.com/u/Jules3D)\
**Replies:** 4\
**Last updated:** [August 3, 2021, 8:04pm UTC](https://forums.unrealengine.com/t/variable-gets-overwritten-in-tick-event/486996 "2021-08-03T20:04:23Z")

</div>

Hi, I need to add a variable in a tick event to change a property, but it seems that the tick event overwrites whatever value I have set in my variable for it’s default value. I’m setting a variable using a Function on…

---

## [Reference not working](https://forums.unrealengine.com/t/reference-not-working/486874)

<div class="topic-metadata">

**Author:** [@angelens](https://forums.unrealengine.com/u/angelens)\
**Replies:** 5\
**Last updated:** [August 2, 2021, 4:09pm UTC](https://forums.unrealengine.com/t/reference-not-working/486874 "2021-08-02T16:09:44Z")

</div>

Hi everyone, beginner stuck on a sticky problem. I’ve purchased a HUD pack which I’m connecting with my quest system. I had a location trigger for the quest but when I try adding new elements to it or use the new HUD lo…

---

## [Unreal Engine Datasmith Scripts, VRED](https://forums.unrealengine.com/t/unreal-engine-datasmith-scripts-vred/243390)

<div class="topic-metadata">

**Author:** [@humza667](https://forums.unrealengine.com/u/humza667)\
**Replies:** 0\
**Last updated:** [August 1, 2021, 8:20pm UTC](https://forums.unrealengine.com/t/unreal-engine-datasmith-scripts-vred/243390 "2021-08-01T20:20:09Z")

</div>

Hi guys, working for an OEM car manufcaturer and we’re testing some unreal engine workflows. Dabbling into totaly new territories here. In VRED we have our materials already setup, however on import they don’t carry ove…

---

## [How to keep other struct values default after splitting it?](https://forums.unrealengine.com/t/how-to-keep-other-struct-values-default-after-splitting-it/486912)

<div class="topic-metadata">

**Author:** [@NUKETheWay](https://forums.unrealengine.com/u/NUKETheWay)\
**Replies:** 6\
**Last updated:** [August 1, 2021, 4:07pm UTC](https://forums.unrealengine.com/t/how-to-keep-other-struct-values-default-after-splitting-it/486912 "2021-08-01T16:07:16Z")

</div>

I have a function to save my game progress. It has three integer inputs stored in struct. If I try to change one of it like Block Size as above, then I will also end up changing other two which I don’t want to do. I…

---

## [Generating materials?](https://forums.unrealengine.com/t/generating-materials/242887)

<div class="topic-metadata">

**Author:** [@RodZilla](https://forums.unrealengine.com/u/RodZilla)\
**Replies:** 0\
**Last updated:** [July 28, 2021, 4:38am UTC](https://forums.unrealengine.com/t/generating-materials/242887 "2021-07-28T04:38:29Z")

</div>

Hi everyone, I’m pretty new to Unreal, so, sorry if this is a very stupid question. I develop an open source tool that can be used to create PBR materials. It can export ready to use materials for a couple of engines, …

---

## [World Context Object](https://forums.unrealengine.com/t/world-context-object/242781)

<div class="topic-metadata">

**Author:** [@eco\_bach2](https://forums.unrealengine.com/u/eco_bach2)\
**Replies:** 0\
**Last updated:** [July 27, 2021, 4:06pm UTC](https://forums.unrealengine.com/t/world-context-object/242781 "2021-07-27T16:06:52Z")

</div>

Creating a simple Editor Utility ActorAsset to simply delete all assets of a certain class. In the 'Get All Actors of Class node there is a ‘World Context Object’ How do I properly define this so my BP will compile? …

---

## [Sequencer Skeletal Mesh Start\_Frame\_Offset python syntax](https://forums.unrealengine.com/t/sequencer-skeletal-mesh-start-frame-offset-python-syntax/242623)

<div class="topic-metadata">

**Author:** [@mad\_guru](https://forums.unrealengine.com/u/mad_guru)\
**Replies:** 0\
**Last updated:** [July 26, 2021, 9:11pm UTC](https://forums.unrealengine.com/t/sequencer-skeletal-mesh-start-frame-offset-python-syntax/242623 "2021-07-26T21:11:35Z")

</div>

Hi, can anyone help me with the correct syntax for this command: unreal.MovieSceneSkeletalAnimationParams Specifically I want to set the start\_frame\_offset. Doc: https://docs.unrealengine.com/4.26/en-US/PythonAPI/cl…

---

## [RInterp To offset issue after physics collision?](https://forums.unrealengine.com/t/rinterp-to-offset-issue-after-physics-collision/242449)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_db061c4c](https://forums.unrealengine.com/u/anonymous_user_db061c4c)\
**Replies:** 0\
**Last updated:** [July 25, 2021, 10:08pm UTC](https://forums.unrealengine.com/t/rinterp-to-offset-issue-after-physics-collision/242449 "2021-07-25T22:08:50Z")

</div>

Hi, I am new to UE from unity and am recreating a top down space shooter game I made in unity as a learning project in UE. I’ve run into an with ‘RInterp To’ not working as expected after a physics collision. RInterp…

---

## [Reference Enum created in BP into C++](https://forums.unrealengine.com/t/reference-enum-created-in-bp-into-c/486481)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_8bd91971](https://forums.unrealengine.com/u/anonymous_user_8bd91971)\
**Replies:** 6\
**Last updated:** [July 23, 2021, 11:18pm UTC](https://forums.unrealengine.com/t/reference-enum-created-in-bp-into-c/486481 "2021-07-23T23:18:50Z")

</div>

Hi, how can I reference an Enum created in Blueprints into C++? I’m writing my code inside UCharacterMovementComponent (which is an Inherited component) and the Enum variable is created inside the parent Character Bluep…

---

## [Reimport With New File - Python](https://forums.unrealengine.com/t/reimport-with-new-file-python/482513)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_92599d65](https://forums.unrealengine.com/u/anonymous_user_92599d65)\
**Replies:** 2\
**Last updated:** [July 23, 2021, 5:01pm UTC](https://forums.unrealengine.com/t/reimport-with-new-file-python/482513 "2021-07-23T17:01:22Z")

</div>

Hi there, First time posting here, so I will do my best to describe my issue. In Unreal you can right-click an asset in the content browser and select “Reimport With New File”, which reimports the asset pointing to a d…

---

## [Is it possible to Copy/Paste with Python API?](https://forums.unrealengine.com/t/is-it-possible-to-copy-paste-with-python-api/239633)

<div class="topic-metadata">

**Author:** [@KenAdamsLikesPizza](https://forums.unrealengine.com/u/KenAdamsLikesPizza)\
**Replies:** 2\
**Last updated:** [July 23, 2021, 5:23am UTC](https://forums.unrealengine.com/t/is-it-possible-to-copy-paste-with-python-api/239633 "2021-07-23T05:23:13Z")

</div>

Is it possible to copy/paste with the python API? For example, if I have two unreal sessions open, I can Edit → Copy, which will give me a text version of whatever I have selected. (You can paste it in a simple notepad) …

---

## [Using arrays for RPG Skills and Combos](https://forums.unrealengine.com/t/using-arrays-for-rpg-skills-and-combos/486403)

<div class="topic-metadata">

**Author:** [@ChunkyCat](https://forums.unrealengine.com/u/ChunkyCat)\
**Replies:** 1\
**Last updated:** [July 20, 2021, 7:47am UTC](https://forums.unrealengine.com/t/using-arrays-for-rpg-skills-and-combos/486403 "2021-07-20T07:47:00Z")

</div>

Hello everyone, I am having some confusion and difficulty on solving this array situation. I am basically using arrays to organize a series of skill types that are capable of being combos. So basically the user would be …

---

## [Python api / How to rename sequence binding?](https://forums.unrealengine.com/t/python-api-how-to-rename-sequence-binding/134446)

<div class="topic-metadata">

**Author:** [@ilhobak](https://forums.unrealengine.com/u/ilhobak)\
**Replies:** 2\
**Last updated:** [July 20, 2021, 2:23am UTC](https://forums.unrealengine.com/t/python-api-how-to-rename-sequence-binding/134446 "2021-07-20T02:23:57Z")

</div>

Hello~ I\`m trying to add a spawnable camera to sequence with python API. I can add a spawnable camera with following code, and I can get name of binding. But I don’t know how to rename this, Here is my code: spawn…

---

## [用蓝图获取骨骼所有插槽结果正确，用Python则获取为空](https://forums.unrealengine.com/t/python/486378)

<div class="topic-metadata">

**Author:** [@muzigege](https://forums.unrealengine.com/u/muzigege)\
**Replies:** 0\
**Last updated:** [July 19, 2021, 9:07pm UTC](https://forums.unrealengine.com/t/python/486378 "2021-07-19T21:07:25Z")

</div>

---

## [I want to do what "identical" array node does, but not in exact order.](https://forums.unrealengine.com/t/i-want-to-do-what-identical-array-node-does-but-not-in-exact-order/486170)

<div class="topic-metadata">

**Author:** [@NtinosFerret](https://forums.unrealengine.com/u/NtinosFerret)\
**Replies:** 3\
**Last updated:** [July 18, 2021, 12:41pm UTC](https://forums.unrealengine.com/t/i-want-to-do-what-identical-array-node-does-but-not-in-exact-order/486170 "2021-07-18T12:41:10Z")

</div>

I have a cooking game. The player adds ingredients to the pot to make a recipe. When enough ingredients are in the pot, a check is made to see if what the player added matches a recipe. Some ingredients may be added more…

---

## [Set Level Viewport Camera Info gone in 4.26.2](https://forums.unrealengine.com/t/set-level-viewport-camera-info-gone-in-4-26-2/240976)

<div class="topic-metadata">

**Author:** [@Tillion23](https://forums.unrealengine.com/u/Tillion23)\
**Replies:** 1\
**Last updated:** [July 17, 2021, 11:16pm UTC](https://forums.unrealengine.com/t/set-level-viewport-camera-info-gone-in-4-26-2/240976 "2021-07-17T23:16:59Z")

</div>

Function “Set Level Viewport Camera Info” (Development-Editor) and other functions are not present in 4.26.2 but are in 4.25. Have they been replaced with other functions or know if they be readded in a later version? T…

---

## [Weird interpolation in blendspaces](https://forums.unrealengine.com/t/weird-interpolation-in-blendspaces/486240)

<div class="topic-metadata">

**Author:** [@Cintrisax](https://forums.unrealengine.com/u/Cintrisax)\
**Replies:** 0\
**Last updated:** [July 15, 2021, 7:30am UTC](https://forums.unrealengine.com/t/weird-interpolation-in-blendspaces/486240 "2021-07-15T07:30:59Z")

</div>

So, I’m trying to set up locomotion in UE4 I’m currently leading with creating a blendspace for running with different directions. The problem is I get weird interpolation between the animation nodes I set up, is there a…

---

## [Can't “Resimultate” the foliage form the Procedural Foliage Tool from code](https://forums.unrealengine.com/t/cant-resimultate-the-foliage-form-the-procedural-foliage-tool-from-code/240646)

<div class="topic-metadata">

**Author:** [@pm.valente](https://forums.unrealengine.com/u/pm.valente)\
**Replies:** 0\
**Last updated:** [July 14, 2021, 9:53pm UTC](https://forums.unrealengine.com/t/cant-resimultate-the-foliage-form-the-procedural-foliage-tool-from-code/240646 "2021-07-14T21:53:57Z")

</div>

Hi! I’m currently developing an editor widget for unreal that requires me to “Resimulate” the foliage generation using the procedural foliage tool. Until now I was able to recreate the code from the “Resimulate” butt…

---

## [Moving an actor smoothly using python](https://forums.unrealengine.com/t/moving-an-actor-smoothly-using-python/240305)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_4288d6f2](https://forums.unrealengine.com/u/anonymous_user_4288d6f2)\
**Replies:** 6\
**Last updated:** [July 14, 2021, 6:00pm UTC](https://forums.unrealengine.com/t/moving-an-actor-smoothly-using-python/240305 "2021-07-14T18:00:00Z")

</div>

Hello, there good people. I tried my best to make it reader-friendly. What I have achieved so far. I have been practicing python in the unreal engine for a couple of weeks now. What I am trying to do is, suppose I …

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

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