# Editor Scripting

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

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

**Page:** 67

---

## [CPP Blueprint Function Library and USTRUCTS functions problems](https://forums.unrealengine.com/t/cpp-blueprint-function-library-and-ustructs-functions-problems/444164)

<div class="topic-metadata">

**Author:** [@Dendryt](https://forums.unrealengine.com/u/Dendryt)\
**Replies:** 9\
**Last updated:** [March 2, 2019, 9:45pm UTC](https://forums.unrealengine.com/t/cpp-blueprint-function-library-and-ustructs-functions-problems/444164 "2019-03-02T21:45:30Z")

</div>

Hey Im trying to use BlueprintFunctionLibrary written in cpp to get access to functions inside USTRUCT, and i struggled into this type of problem: I have a USTRUCT defined with some functions inside: Example in simpli…

---

## [How to use python to determine whether the .uasset file is a Material Instance or a Blueprint Class](https://forums.unrealengine.com/t/how-to-use-python-to-determine-whether-the-uasset-file-is-a-material-instance-or-a-blueprint-class/219912)

<div class="topic-metadata">

**Author:** [@DengTaLiangLe](https://forums.unrealengine.com/u/DengTaLiangLe)\
**Replies:** 0\
**Last updated:** [March 1, 2019, 7:28am UTC](https://forums.unrealengine.com/t/how-to-use-python-to-determine-whether-the-uasset-file-is-a-material-instance-or-a-blueprint-class/219912 "2019-03-01T07:28:26Z")

</div>

How to use python to determine whether the .uasset file is a Material Instance or a Blueprint Class

---

## [Automatic alembic importing shows popup](https://forums.unrealengine.com/t/automatic-alembic-importing-shows-popup/122847)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_741d7325](https://forums.unrealengine.com/u/anonymous_user_741d7325)\
**Replies:** 0\
**Last updated:** [February 26, 2019, 4:54am UTC](https://forums.unrealengine.com/t/automatic-alembic-importing-shows-popup/122847 "2019-02-26T04:54:44Z")

</div>

I am trying to import alembic assets with python. but, I can’t figure out that how to suppress the import menu popup. What is so special in alembic workflow bluestacks?

---

## [Can't save, Graph is linked to private object(s) in an external package.](https://forums.unrealengine.com/t/cant-save-graph-is-linked-to-private-object-s-in-an-external-package/381642)

<div class="topic-metadata">

**Author:** [@davi211](https://forums.unrealengine.com/u/davi211)\
**Replies:** 5\
**Last updated:** [February 27, 2019, 7:49am UTC](https://forums.unrealengine.com/t/cant-save-graph-is-linked-to-private-object-s-in-an-external-package/381642 "2019-02-27T07:49:17Z")

</div>

Hello, Below the message I get when I try to save from the editor. \*\*Can’t save …/…/…/…/…/…/Users/Name/Documents/Unreal Projects/DissertationTesting/Content/FirstPersonBP/Maps/FirstPersonExampleMap.umap: Graph is linke…

---

## [Save Project after Datasmith import?](https://forums.unrealengine.com/t/save-project-after-datasmith-import/122673)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_0033a027](https://forums.unrealengine.com/u/anonymous_user_0033a027)\
**Replies:** 1\
**Last updated:** [February 26, 2019, 8:35am UTC](https://forums.unrealengine.com/t/save-project-after-datasmith-import/122673 "2019-02-26T08:35:47Z")

</div>

Hi! I use a python script to import Datasmith assets like: UE4Editor-Cmd.exe “D:/my.uproject” -ExecutePythonScript=“D:\\DataSmithImport.py” the Problem is that the Editor closes immediately after import without saving…

---

## [Adding a SkeletalMeshAnimation into a Sequencer with Python](https://forums.unrealengine.com/t/adding-a-skeletalmeshanimation-into-a-sequencer-with-python/122786)

<div class="topic-metadata">

**Author:** [@AlexQuevillon](https://forums.unrealengine.com/u/AlexQuevillon)\
**Replies:** 1\
**Last updated:** [February 25, 2019, 10:36pm UTC](https://forums.unrealengine.com/t/adding-a-skeletalmeshanimation-into-a-sequencer-with-python/122786 "2019-02-25T22:36:37Z")

</div>

Hello, I’m trying to find a way to add an already imported animation into a sequence. After multiple hours, I found a working solution in 4.22, but I think that it might not be the best way to do it. Do you know any b…

---

## [Loading PyQt Crashes Editor](https://forums.unrealengine.com/t/loading-pyqt-crashes-editor/444143)

<div class="topic-metadata">

**Author:** [@ameade\_bliz](https://forums.unrealengine.com/u/ameade_bliz)\
**Replies:** 0\
**Last updated:** [February 25, 2019, 9:47pm UTC](https://forums.unrealengine.com/t/loading-pyqt-crashes-editor/444143 "2019-02-25T21:47:30Z")

</div>

I’m trying to use PyQt in Unreal. This is my python code: from PyQt5.QtWidgets import QApplication app = QApplication(\[\]) This crashes the editor with this window: The UI text is: This application failed to start…

---

## [Looking for a Specific Inventory Type (Not sure what it’s called)](https://forums.unrealengine.com/t/looking-for-a-specific-inventory-type-not-sure-what-it-s-called/443978)

<div class="topic-metadata">

**Author:** [@SparkyTheTorch](https://forums.unrealengine.com/u/SparkyTheTorch)\
**Replies:** 1\
**Last updated:** [February 25, 2019, 12:27am UTC](https://forums.unrealengine.com/t/looking-for-a-specific-inventory-type-not-sure-what-it-s-called/443978 "2019-02-25T00:27:51Z")

</div>

Hey all! I am looking for a specific type on inventory, but I’m not sure what it’s called. I would like to implement something like Subnautica’s inventory system into my game. Where bigger items take up more grid space.…

---

## [Is it possible to get Mesh out of Class Ref](https://forums.unrealengine.com/t/is-it-possible-to-get-mesh-out-of-class-ref/443335)

<div class="topic-metadata">

**Author:** [@xXKrusty](https://forums.unrealengine.com/u/xXKrusty)\
**Replies:** 5\
**Last updated:** [February 24, 2019, 9:11pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-get-mesh-out-of-class-ref/443335 "2019-02-24T21:11:45Z")

</div>

Hey, im rather new to Ue4 and i would like to ask if its Possible to get a Mesh out of a Class Reference?

---

## [Taking Screenshot and Getting it in Blueprint](https://forums.unrealengine.com/t/taking-screenshot-and-getting-it-in-blueprint/435594)

<div class="topic-metadata">

**Author:** [@MidoenTech](https://forums.unrealengine.com/u/MidoenTech)\
**Replies:** 2\
**Last updated:** [February 23, 2019, 4:52pm UTC](https://forums.unrealengine.com/t/taking-screenshot-and-getting-it-in-blueprint/435594 "2019-02-23T16:52:13Z")

</div>

I looked around for similar problem but couldn’t find any, What I am trying to do is taking a screenshot and save it somewhere, where I can retrieve it later on in the game. It’s when saving the game you take a screensh…

---

## [How add Inventory Manager to Player State](https://forums.unrealengine.com/t/how-add-inventory-manager-to-player-state/443980)

<div class="topic-metadata">

**Author:** [@SparkyTheTorch](https://forums.unrealengine.com/u/SparkyTheTorch)\
**Replies:** 1\
**Last updated:** [February 23, 2019, 9:11am UTC](https://forums.unrealengine.com/t/how-add-inventory-manager-to-player-state/443980 "2019-02-23T09:11:31Z")

</div>

Hey there! I am using this and have followed the documentation. However, the like that says “Click Me” Doesn’t seem to work. It’s supposed to tell you how to “have your own PlayerState with an inventory manager componen…

---

## [Command line and Python Script](https://forums.unrealengine.com/t/command-line-and-python-script/122665)

<div class="topic-metadata">

**Author:** [@aloivu](https://forums.unrealengine.com/u/aloivu)\
**Replies:** 1\
**Last updated:** [February 21, 2019, 11:40pm UTC](https://forums.unrealengine.com/t/command-line-and-python-script/122665 "2019-02-21T23:40:18Z")

</div>

How can i run project with command line and pass paython script as argument? I used this commands but it doesnt work well (python script wasnot loaded) cd “C:\\Program Files\\Epic Games\\UE\_4.20\\Engine\\Binaries\\Win64” UE…

---

## [Actor Instance Reference in Second Actor BP?](https://forums.unrealengine.com/t/actor-instance-reference-in-second-actor-bp/443820)

<div class="topic-metadata">

**Author:** [@Mercus](https://forums.unrealengine.com/u/Mercus)\
**Replies:** 0\
**Last updated:** [February 21, 2019, 9:31am UTC](https://forums.unrealengine.com/t/actor-instance-reference-in-second-actor-bp/443820 "2019-02-21T09:31:48Z")

</div>

Is it somehow possible to reference an Actor instance in second actor BP without placing that BP into the level? For example I have a ‘quest’ Blueprint which has one of the objectives to “Press a button”. If i attempt …

---

## [Camera jerks with SpringArm and rotation lag enabled](https://forums.unrealengine.com/t/camera-jerks-with-springarm-and-rotation-lag-enabled/439882)

<div class="topic-metadata">

**Author:** [@zubetto](https://forums.unrealengine.com/u/zubetto)\
**Replies:** 3\
**Last updated:** [February 15, 2019, 5:39pm UTC](https://forums.unrealengine.com/t/camera-jerks-with-springarm-and-rotation-lag-enabled/439882 "2019-02-15T17:39:59Z")

</div>

I have an issue with the SpringArm component if CameraRotationLag is enabled. When parent component of the SpringArm rotates about the world Y-axis (or about any axis that close enough to it) and passes through the zenit…

---

## [Tarray in SaveGame instance is getting reset in every iteration ?](https://forums.unrealengine.com/t/tarray-in-savegame-instance-is-getting-reset-in-every-iteration/443385)

<div class="topic-metadata">

**Author:** [@Maverick\_tango](https://forums.unrealengine.com/u/Maverick_tango)\
**Replies:** 3\
**Last updated:** [February 14, 2019, 3:33pm UTC](https://forums.unrealengine.com/t/tarray-in-savegame-instance-is-getting-reset-in-every-iteration/443385 "2019-02-14T15:33:25Z")

</div>

Hello Everyone, I have class derived from “USaveGame” call “MetaData”, now this class is having Tarray of int’s. In some other class i have method to save the data i want , which looks like this void Importer::SaveGam…

---

## [Access static mesh actor by name or ID](https://forums.unrealengine.com/t/access-static-mesh-actor-by-name-or-id/443336)

<div class="topic-metadata">

**Author:** [@Jadejadej](https://forums.unrealengine.com/u/Jadejadej)\
**Replies:** 1\
**Last updated:** [February 14, 2019, 3:03am UTC](https://forums.unrealengine.com/t/access-static-mesh-actor-by-name-or-id/443336 "2019-02-14T03:03:02Z")

</div>

I’m trying to build an inventory in which if I click the object (which is static mesh actor), it shows the object info. So I have a data table with the variables: ItemID and info. But the problem is I don’t know how to a…

---

## [Possible to create game using BP + Python instead of BP + C++?](https://forums.unrealengine.com/t/possible-to-create-game-using-bp-python-instead-of-bp-c/121023)

<div class="topic-metadata">

**Author:** [@itscole](https://forums.unrealengine.com/u/itscole)\
**Replies:** 3\
**Last updated:** [February 13, 2019, 1:10pm UTC](https://forums.unrealengine.com/t/possible-to-create-game-using-bp-python-instead-of-bp-c/121023 "2019-02-13T13:10:29Z")

</div>

Hi all, I am proficient in Python as I use it daily for work (analytics). I have been using Godot to develop a 2D single player platforming game as GDScript is ‘similar’ to Python. I do not know C++ at all, and am not r…

---

## [Which UE4 Python Implementation to use?](https://forums.unrealengine.com/t/which-ue4-python-implementation-to-use/122315)

<div class="topic-metadata">

**Author:** [@jaredpemberton47](https://forums.unrealengine.com/u/jaredpemberton47)\
**Replies:** 0\
**Last updated:** [February 12, 2019, 3:29pm UTC](https://forums.unrealengine.com/t/which-ue4-python-implementation-to-use/122315 "2019-02-12T15:29:49Z")

</div>

I am researching automating the editor via Python but have ran across a few conflicting methods that I would be appreciative to receive some experienced perspective on. One method, which I assume is the more proper meth…

---

## [Lacking Blueprint](https://forums.unrealengine.com/t/lacking-blueprint/442961)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_8f6d1cf9](https://forums.unrealengine.com/u/anonymous_user_8f6d1cf9)\
**Replies:** 3\
**Last updated:** [February 12, 2019, 7:04am UTC](https://forums.unrealengine.com/t/lacking-blueprint/442961 "2019-02-12T07:04:57Z")

</div>

Hi, I was fallowing along the Endless Runner course made by Unreal Engine (Endless Runner: Turning Corners | 06 | v4.7 Tutorial Series | Unreal Engine - YouTube) , and got stuck at the moment when the tutor says to SET …

---

## [Inventory System Widget Problem](https://forums.unrealengine.com/t/inventory-system-widget-problem/443013)

<div class="topic-metadata">

**Author:** [@Kamukasha](https://forums.unrealengine.com/u/Kamukasha)\
**Replies:** 1\
**Last updated:** [February 11, 2019, 1:28pm UTC](https://forums.unrealengine.com/t/inventory-system-widget-problem/443013 "2019-02-11T13:28:47Z")

</div>

Hello, I’m having a issue with the inventory system in my game. I got it so it adds a child and all that in my widget. But for some reason It wont let me call any variables thats associated with it. Such as the name for …

---

## [importing skeletal meshes 4.21 ?](https://forums.unrealengine.com/t/importing-skeletal-meshes-4-21/121529)

<div class="topic-metadata">

**Author:** [@magnus.larsson](https://forums.unrealengine.com/u/magnus.larsson)\
**Replies:** 2\
**Last updated:** [February 11, 2019, 9:31am UTC](https://forums.unrealengine.com/t/importing-skeletal-meshes-4-21/121529 "2019-02-11T09:31:29Z")

</div>

I used to be able to import skeletal meshes with options setup like this: options = unreal.FbxImportUI() options.import\_mesh = True options.import\_as\_skeletal = True options.import\_materials = False options.impo…

---

## [Inventory system through data tables?](https://forums.unrealengine.com/t/inventory-system-through-data-tables/442942)

<div class="topic-metadata">

**Author:** [@Crowley\_Caine](https://forums.unrealengine.com/u/Crowley_Caine)\
**Replies:** 2\
**Last updated:** [February 8, 2019, 10:46am UTC](https://forums.unrealengine.com/t/inventory-system-through-data-tables/442942 "2019-02-08T10:46:51Z")

</div>

So I’ve been going through a couple tutorials on creating inventory systems and the logic and structure itself is fairly understandable. One thing I’m noticing though is they tend to necessitate a large amount of fiddlin…

---

## [\[Request\] GooglePlay Cloud Save](https://forums.unrealengine.com/t/request-googleplay-cloud-save/408785)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_ce8ce53d](https://forums.unrealengine.com/u/anonymous_user_ce8ce53d)\
**Replies:** 5\
**Last updated:** [February 7, 2019, 7:13pm UTC](https://forums.unrealengine.com/t/request-googleplay-cloud-save/408785 "2019-02-07T19:13:09Z")

</div>

Hello =) Are there any plans to add cloud save to the google play services implementation? I really think it’s a must have feature for any mobile game these days. My game has over 65.000 downloads, and people have requ…

---

## [Problem with saving Asset Reference in struct in 4.13 (worked in 4.8)](https://forums.unrealengine.com/t/problem-with-saving-asset-reference-in-struct-in-4-13-worked-in-4-8/373302)

<div class="topic-metadata">

**Author:** [@petitbreton](https://forums.unrealengine.com/u/petitbreton)\
**Replies:** 12\
**Last updated:** [February 6, 2019, 1:44pm UTC](https://forums.unrealengine.com/t/problem-with-saving-asset-reference-in-struct-in-4-13-worked-in-4-8/373302 "2019-02-06T13:44:15Z")

</div>

Hi, I am trying to save a skeletal mesh reference inside a struct of skeletal mesh reference. A kind of inventory system. So I a created character blueprint with a struct variable that contains a Skeletal Mesh Referenc…

---

## [Level Blueprint actor references invalid after servertravel](https://forums.unrealengine.com/t/level-blueprint-actor-references-invalid-after-servertravel/403038)

<div class="topic-metadata">

**Author:** [@MADHOUSE](https://forums.unrealengine.com/u/MADHOUSE)\
**Replies:** 14\
**Last updated:** [February 6, 2019, 2:50am UTC](https://forums.unrealengine.com/t/level-blueprint-actor-references-invalid-after-servertravel/403038 "2019-02-06T02:50:05Z")

</div>

Using 4.17.1, when hosting a listen server, having one more separate client connecting to it atleast, servertraveling to another map and back to the same one will have invalidated level blueprint actor references. In th…

---

## [How to give actor variables from the spawning component](https://forums.unrealengine.com/t/how-to-give-actor-variables-from-the-spawning-component/442519)

<div class="topic-metadata">

**Author:** [@HauntedPringle](https://forums.unrealengine.com/u/HauntedPringle)\
**Replies:** 5\
**Last updated:** [February 5, 2019, 7:34pm UTC](https://forums.unrealengine.com/t/how-to-give-actor-variables-from-the-spawning-component/442519 "2019-02-05T19:34:03Z")

</div>

so i’m trying to set up a spell system, and i’m probably going about it completely the wrong way, but. I’ve got a spellbook component that i have given to the pawns that can cast spells (including the player character),…

---

## [Inventory Items Disappearing](https://forums.unrealengine.com/t/inventory-items-disappearing/442674)

<div class="topic-metadata">

**Author:** [@TAN](https://forums.unrealengine.com/u/TAN)\
**Replies:** 1\
**Last updated:** [February 5, 2019, 6:28pm UTC](https://forums.unrealengine.com/t/inventory-items-disappearing/442674 "2019-02-05T18:28:07Z")

</div>

Hello all. I encountered a strange problem and wanted to ask some opinions on what direction to take. I am making a C++ based Inventory system for my 3rd Person RPG by following tutorials below. So far everything works …

---

## [Referencing Integer in another BP? / casting](https://forums.unrealengine.com/t/referencing-integer-in-another-bp-casting/442709)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_b65984db](https://forums.unrealengine.com/u/anonymous_user_b65984db)\
**Replies:** 15\
**Last updated:** [February 5, 2019, 1:35am UTC](https://forums.unrealengine.com/t/referencing-integer-in-another-bp-casting/442709 "2019-02-05T01:35:56Z")

</div>

I’m trying to get the value of integer from another blueprint PuzzleBlock into PuzzleBlockGrid, I know this question has been asked and answered a thousand times but I’ve tried all kinds of different objects and none of …

---

## [Save game not working](https://forums.unrealengine.com/t/save-game-not-working/442313)

<div class="topic-metadata">

**Author:** [@Tabacudo](https://forums.unrealengine.com/u/Tabacudo)\
**Replies:** 1\
**Last updated:** [January 31, 2019, 2:33am UTC](https://forums.unrealengine.com/t/save-game-not-working/442313 "2019-01-31T02:33:28Z")

</div>

Hey guys! I’m working on a mobile game and I’m trying to save my highscores and coins collected after every death of the character. It’s some kind of ‘hyper-casual’ game. So, in the editor, my Save Game works really fine…

---

## [Properly casting structs](https://forums.unrealengine.com/t/properly-casting-structs/356851)

<div class="topic-metadata">

**Author:** [@Wrekk](https://forums.unrealengine.com/u/Wrekk)\
**Replies:** 4\
**Last updated:** [January 28, 2019, 3:12pm UTC](https://forums.unrealengine.com/t/properly-casting-structs/356851 "2019-01-28T15:12:55Z")

</div>

Hello. I’m trying to cast my child struct to my base struct, but without any luck. I declared this child struct, which inherits from my base struct. struct FItemWeaponInfo : public FItemBaseInfo Then I tried to add …

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

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