# Editor Scripting

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

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

**Page:** 77

---

## [Save a whole level in Blueprints](https://forums.unrealengine.com/t/save-a-whole-level-in-blueprints/394459)

<div class="topic-metadata">

**Author:** [@MatTheTat](https://forums.unrealengine.com/u/MatTheTat)\
**Replies:** 5\
**Last updated:** [January 30, 2018, 8:41am UTC](https://forums.unrealengine.com/t/save-a-whole-level-in-blueprints/394459 "2018-01-30T08:41:05Z")

</div>

Hey there, I am currently working on an Open World Game where you can move objects, build houses, dig holes, etc. To keep it short: How do I save the whole Level in Blueprints? I know there are a lot of tutorials out th…

---

## [Screenshot for Save System](https://forums.unrealengine.com/t/screenshot-for-save-system/415020)

<div class="topic-metadata">

**Author:** [@JohnADaniels](https://forums.unrealengine.com/u/JohnADaniels)\
**Replies:** 5\
**Last updated:** [January 25, 2018, 1:59am UTC](https://forums.unrealengine.com/t/screenshot-for-save-system/415020 "2018-01-25T01:59:17Z")

</div>

Hello, a big hurdle I have run into is making screenshots for save game thumbnails dynamically as the player makes new saves. I have tried executing the “Shot” command and it creates a screenshot and puts it into /Saved…

---

## [Referencing player state for scoreboard variables?](https://forums.unrealengine.com/t/referencing-player-state-for-scoreboard-variables/415314)

<div class="topic-metadata">

**Author:** [@Brylos](https://forums.unrealengine.com/u/Brylos)\
**Replies:** 2\
**Last updated:** [January 23, 2018, 6:25am UTC](https://forums.unrealengine.com/t/referencing-player-state-for-scoreboard-variables/415314 "2018-01-23T06:25:22Z")

</div>

Hi there. I’m trying to have it so when a player joins a multiplayer session, the joining player gets their steam info with the advanced sessions plugin and sets it on their own player state: Then, a custom event is …

---

## [How do I implement different items to work in the same inventory system?](https://forums.unrealengine.com/t/how-do-i-implement-different-items-to-work-in-the-same-inventory-system/414769)

<div class="topic-metadata">

**Author:** [@Pharros](https://forums.unrealengine.com/u/Pharros)\
**Replies:** 6\
**Last updated:** [January 20, 2018, 11:18am UTC](https://forums.unrealengine.com/t/how-do-i-implement-different-items-to-work-in-the-same-inventory-system/414769 "2018-01-20T11:18:53Z")

</div>

I cannot wrap my head around something so seemingly trivial. I have an inventory system that already has a physical and UMG-oriented add/drop/move system (think any standard slot-based RPG inventory). I have a custom cla…

---

## [Save struct with TAssetPtr](https://forums.unrealengine.com/t/save-struct-with-tassetptr/413886)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_56b9d998](https://forums.unrealengine.com/u/anonymous_user_56b9d998)\
**Replies:** 1\
**Last updated:** [January 19, 2018, 11:09pm UTC](https://forums.unrealengine.com/t/save-struct-with-tassetptr/413886 "2018-01-19T23:09:00Z")

</div>

Hi all, I have a struct that inherits from FTableRowBase with TAssetPtr property, it works fine except for one thinf, every time i try to save the game using save game to slot node the edito crashes with the error “FArc…

---

## [Persistence with random stats on weapons in inventory](https://forums.unrealengine.com/t/persistence-with-random-stats-on-weapons-in-inventory/398477)

<div class="topic-metadata">

**Author:** [@dazuk1978](https://forums.unrealengine.com/u/dazuk1978)\
**Replies:** 3\
**Last updated:** [January 19, 2018, 6:43pm UTC](https://forums.unrealengine.com/t/persistence-with-random-stats-on-weapons-in-inventory/398477 "2018-01-19T18:43:39Z")

</div>

Hi, I am using this inventory system by UnrealGaimeDev Complex, slot-based inventory system - Community Content, Tools and Tutorials - Unreal Engine Forums. I’ve changed a few little things but on the whole it’s a gr…

---

## [How do you store save game from a client on the server](https://forums.unrealengine.com/t/how-do-you-store-save-game-from-a-client-on-the-server/407954)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_4b1f6a091](https://forums.unrealengine.com/u/anonymous_user_4b1f6a091)\
**Replies:** 1\
**Last updated:** [January 17, 2018, 8:51pm UTC](https://forums.unrealengine.com/t/how-do-you-store-save-game-from-a-client-on-the-server/407954 "2018-01-17T20:51:25Z")

</div>

Hi. lately iv been trying to create a multiplayer game but came across 1 problem. saving game data in a way so a player cant cheat. I could do it so the player saves their game locally on their own pc but that would mea…

---

## [Unlock level forget prior unlock](https://forums.unrealengine.com/t/unlock-level-forget-prior-unlock/414790)

<div class="topic-metadata">

**Author:** [@Krakinoz](https://forums.unrealengine.com/u/Krakinoz)\
**Replies:** 13\
**Last updated:** [January 17, 2018, 6:22pm UTC](https://forums.unrealengine.com/t/unlock-level-forget-prior-unlock/414790 "2018-01-17T18:22:04Z")

</div>

When I complete a level, the next one gets unlocked. But then it locks the previously done level. Is my savegame blueprint not right? How do I make it remember that the previous levels are unlocked.

---

## [Reference variable from widget in another blueprint](https://forums.unrealengine.com/t/reference-variable-from-widget-in-another-blueprint/414535)

<div class="topic-metadata">

**Author:** [@e2-dunstan](https://forums.unrealengine.com/u/e2-dunstan)\
**Replies:** 3\
**Last updated:** [January 14, 2018, 3:30pm UTC](https://forums.unrealengine.com/t/reference-variable-from-widget-in-another-blueprint/414535 "2018-01-14T15:30:58Z")

</div>

I have a door which when the player selects a certain option, I want it to open. So far, I have a variable in the widget blueprint (where the conversation resides) which I try to get the value of in the door blueprint bu…

---

## ["Pick Actor" problem.](https://forums.unrealengine.com/t/pick-actor-problem/414462)

<div class="topic-metadata">

**Author:** [@GaberLitch](https://forums.unrealengine.com/u/GaberLitch)\
**Replies:** 1\
**Last updated:** [January 13, 2018, 11:28am UTC](https://forums.unrealengine.com/t/pick-actor-problem/414462 "2018-01-13T11:28:03Z")

</div>

When I try to assign an actor on a editable variable using “pick actor” it doesn’t work. The variable type is the same of the object. The icon “pick actor” appears but if I click the variable remains empty. If I restar…

---

## [How to reference a spawned character?](https://forums.unrealengine.com/t/how-to-reference-a-spawned-character/414073)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_3b4bf635](https://forums.unrealengine.com/u/anonymous_user_3b4bf635)\
**Replies:** 7\
**Last updated:** [January 12, 2018, 6:50pm UTC](https://forums.unrealengine.com/t/how-to-reference-a-spawned-character/414073 "2018-01-12T18:50:19Z")

</div>

I have this simple script in Level BP which correctly spanws an enemy when I collide with a simple TriggerVolume: As you can see, I dragged a wire out SpawnAIFromClass Return Value in order to create a reference to t…

---

## [Alternative for GameInstance in multiplayer?](https://forums.unrealengine.com/t/alternative-for-gameinstance-in-multiplayer/414303)

<div class="topic-metadata">

**Author:** [@Napoleonite](https://forums.unrealengine.com/u/Napoleonite)\
**Replies:** 1\
**Last updated:** [January 12, 2018, 11:38am UTC](https://forums.unrealengine.com/t/alternative-for-gameinstance-in-multiplayer/414303 "2018-01-12T11:38:50Z")

</div>

This is what I found out so far: GameMode: resets between maps. Runs only locally (does not exist on server) and is thus only suitable for SP. GameState: resets between maps. Runs both locally and on server and is thus…

---

## [Transform pins change on function duplication](https://forums.unrealengine.com/t/transform-pins-change-on-function-duplication/414209)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_9a943f0d](https://forums.unrealengine.com/u/anonymous_user_9a943f0d)\
**Replies:** 1\
**Last updated:** [January 10, 2018, 2:24pm UTC](https://forums.unrealengine.com/t/transform-pins-change-on-function-duplication/414209 "2018-01-10T14:24:46Z")

</div>

Create a new project. Create a new blueprint. Create a new function. Add a ‘Compose Transforms’ node Duplicate the function Expected: Pin types would be the same in the duplicate function Actual: Pin types have change…

---

## [How to find staticmeshes which are using a certain materialInstances](https://forums.unrealengine.com/t/how-to-find-staticmeshes-which-are-using-a-certain-materialinstances/414215)

<div class="topic-metadata">

**Author:** [@JoeShu](https://forums.unrealengine.com/u/JoeShu)\
**Replies:** 0\
**Last updated:** [January 10, 2018, 2:13pm UTC](https://forums.unrealengine.com/t/how-to-find-staticmeshes-which-are-using-a-certain-materialinstances/414215 "2018-01-10T14:13:00Z")

</div>

Sorry for using such a confusing title,I just dont know how to explain it in short. Here’s the thing: I’m trying to build a BP that can loop though a folder to find all material Instances , and print there properties o…

---

## [Doubt of performance, if you repeat save and load game in a short time.](https://forums.unrealengine.com/t/doubt-of-performance-if-you-repeat-save-and-load-game-in-a-short-time/413801)

<div class="topic-metadata">

**Author:** [@CUERN1T0S](https://forums.unrealengine.com/u/CUERN1T0S)\
**Replies:** 0\
**Last updated:** [January 5, 2018, 8:00am UTC](https://forums.unrealengine.com/t/doubt-of-performance-if-you-repeat-save-and-load-game-in-a-short-time/413801 "2018-01-05T08:00:45Z")

</div>

Hello, I will try to explain this with my primitive English. I have created an Android game with google play achievements. And for example in this image, I have created that the variable “renosmuertossavegame” that is …

---

## [In blueprints, in a function, using a timer, dragging local variable onto global variable to change it causes an error](https://forums.unrealengine.com/t/in-blueprints-in-a-function-using-a-timer-dragging-local-variable-onto-global-variable-to-change-it-causes-an-error/370451)

<div class="topic-metadata">

**Author:** [@Load\_Time](https://forums.unrealengine.com/u/Load_Time)\
**Replies:** 3\
**Last updated:** [January 4, 2018, 1:00pm UTC](https://forums.unrealengine.com/t/in-blueprints-in-a-function-using-a-timer-dragging-local-variable-onto-global-variable-to-change-it-causes-an-error/370451 "2018-01-04T13:00:41Z")

</div>

When inside a blueprint function, setting a timer by function, creating both a variable and local variable for either a float or a handle, attaching the variable to the timer (either to Time or Handle pin), and then drag…

---

## [Can not Package because of Structures reference corruption](https://forums.unrealengine.com/t/can-not-package-because-of-structures-reference-corruption/413595)

<div class="topic-metadata">

**Author:** [@Davision](https://forums.unrealengine.com/u/Davision)\
**Replies:** 1\
**Last updated:** [January 3, 2018, 1:33pm UTC](https://forums.unrealengine.com/t/can-not-package-because-of-structures-reference-corruption/413595 "2018-01-03T13:33:49Z")

</div>

I get tons of these errors when I try to package my game. They seem to be all related to the buggy structure variables of UE4 which can get corrupted. What can I do about it to get my game packaged? Everything compiles …

---

## [Trying to reference an unowned pin](https://forums.unrealengine.com/t/trying-to-reference-an-unowned-pin/413560)

<div class="topic-metadata">

**Author:** [@Pelangi](https://forums.unrealengine.com/u/Pelangi)\
**Replies:** 0\
**Last updated:** [January 2, 2018, 6:09am UTC](https://forums.unrealengine.com/t/trying-to-reference-an-unowned-pin/413560 "2018-01-02T06:09:25Z")

</div>

I have a C++ project. Every time I compile it there’s no problem. Whenever I run the UE Editor, there’s no problem. Whenever I play the game in viewport or new window (PIE), there’s no problem. Everything went very well.…

---

## [Reference to controller?](https://forums.unrealengine.com/t/reference-to-controller/413297)

<div class="topic-metadata">

**Author:** [@APizzaCutter](https://forums.unrealengine.com/u/APizzaCutter)\
**Replies:** 3\
**Last updated:** [December 30, 2017, 4:38pm UTC](https://forums.unrealengine.com/t/reference-to-controller/413297 "2017-12-30T16:38:28Z")

</div>

Hey I am new too unreal so it might be a noob question. At the moment I have this. It gets my character controller which has the character health. I don’t like that I have to call this every tick so is there a way o…

---

## [Accessed None Errors While Using A Reference Variable...](https://forums.unrealengine.com/t/accessed-none-errors-while-using-a-reference-variable/413293)

<div class="topic-metadata">

**Author:** [@SupDeity](https://forums.unrealengine.com/u/SupDeity)\
**Replies:** 3\
**Last updated:** [December 29, 2017, 8:29am UTC](https://forums.unrealengine.com/t/accessed-none-errors-while-using-a-reference-variable/413293 "2017-12-29T08:29:26Z")

</div>

Hello , … I was just trying to setup Inventory using the tutorial given by ue4 but i am not implementing the pickup function and i am doing it in an another widget ( i have a widget which shows health and stuff but im no…

---

## [Activating Matinee trough a widget](https://forums.unrealengine.com/t/activating-matinee-trough-a-widget/333046)

<div class="topic-metadata">

**Author:** [@kaosrio](https://forums.unrealengine.com/u/kaosrio)\
**Replies:** 3\
**Last updated:** [December 28, 2017, 9:05pm UTC](https://forums.unrealengine.com/t/activating-matinee-trough-a-widget/333046 "2017-12-28T21:05:08Z")

</div>

I’m trying to get it that when i click the play button (3d widget) that my camera plays an anim from mantinee, i do know how to do it with a box trigger and the level blueprint but not with a widget.

---

## [building System from inventory](https://forums.unrealengine.com/t/building-system-from-inventory/355692)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_f6c55d0c1](https://forums.unrealengine.com/u/anonymous_user_f6c55d0c1)\
**Replies:** 1\
**Last updated:** [December 26, 2017, 6:22am UTC](https://forums.unrealengine.com/t/building-system-from-inventory/355692 "2017-12-26T06:22:05Z")

</div>

Hello Everybody… As you see, I want to make a game like Survival Crafting system, as Ark survival Evolved, with an inventory and many other features, but I only want to know if there are any tutorial to achive this. Ma…

---

## [Changing Struct Deletes Variable of Struct?](https://forums.unrealengine.com/t/changing-struct-deletes-variable-of-struct/413089)

<div class="topic-metadata">

**Author:** [@eliasfrost](https://forums.unrealengine.com/u/eliasfrost)\
**Replies:** 3\
**Last updated:** [December 25, 2017, 1:46pm UTC](https://forums.unrealengine.com/t/changing-struct-deletes-variable-of-struct/413089 "2017-12-25T13:46:46Z")

</div>

Hi! I have a struct in my game for inventory items (that’s a child of another struct) and I recently wanted to expand it by adding another variable to it. However, this led to every variable using that struct (in the ent…

---

## [memory references](https://forums.unrealengine.com/t/memory-references/412855)

<div class="topic-metadata">

**Author:** [@jr557](https://forums.unrealengine.com/u/jr557)\
**Replies:** 3\
**Last updated:** [December 21, 2017, 7:20pm UTC](https://forums.unrealengine.com/t/memory-references/412855 "2017-12-21T19:20:29Z")

</div>

I am trying to delete an animation blueprint but the editor tells me there are still 2 memory references. I can’t find out what the memory references are and the only option is Force Delete. Here’s a list of what I’ve t…

---

## [Why sprite does not work here?](https://forums.unrealengine.com/t/why-sprite-does-not-work-here/412677)

<div class="topic-metadata">

**Author:** [@CUERN1T0S](https://forums.unrealengine.com/u/CUERN1T0S)\
**Replies:** 1\
**Last updated:** [December 19, 2017, 6:45pm UTC](https://forums.unrealengine.com/t/why-sprite-does-not-work-here/412677 "2017-12-19T18:45:42Z")

</div>

I want when sprite is the same as that flipbook to warn me, but it does not work.

---

## [Input key as variable](https://forums.unrealengine.com/t/input-key-as-variable/412663)

<div class="topic-metadata">

**Author:** [@Jakoban](https://forums.unrealengine.com/u/Jakoban)\
**Replies:** 0\
**Last updated:** [December 19, 2017, 3:52pm UTC](https://forums.unrealengine.com/t/input-key-as-variable/412663 "2017-12-19T15:52:04Z")

</div>

So I want to set up a variable which takes in input as its value.For example, suppose the variable is inp1 and I assign it to E.So when I use it in blueprint and set it to editable, I can change the value of this vari…

---

## [Save Load objects](https://forums.unrealengine.com/t/save-load-objects/412568)

<div class="topic-metadata">

**Author:** [@Blackforcedragon](https://forums.unrealengine.com/u/Blackforcedragon)\
**Replies:** 0\
**Last updated:** [December 18, 2017, 4:32pm UTC](https://forums.unrealengine.com/t/save-load-objects/412568 "2017-12-18T16:32:31Z")

</div>

. I’am trying to save and load the position and rotation of objects, (not the player) an Actor Blue Print And I get this error when I try to save the world transform and world rotation: Play in editor start time fo…

---

## [Save game always failed](https://forums.unrealengine.com/t/save-game-always-failed/412306)

<div class="topic-metadata">

**Author:** [@Yobung](https://forums.unrealengine.com/u/Yobung)\
**Replies:** 2\
**Last updated:** [December 15, 2017, 3:02pm UTC](https://forums.unrealengine.com/t/save-game-always-failed/412306 "2017-12-15T15:02:47Z")

</div>

Hello, I’m trying to save game records on dead event. After following a lot of tutorials and documentation, nothing works for me. Here is my save function (saver is the savegame blueprint) As you can see i made a …

---

## [Attention Wes Bunn - Drag and Drop on top of another item deletes dropped item](https://forums.unrealengine.com/t/attention-wes-bunn-drag-and-drop-on-top-of-another-item-deletes-dropped-item/412201)

<div class="topic-metadata">

**Author:** [@TorQueMoD](https://forums.unrealengine.com/u/TorQueMoD)\
**Replies:** 0\
**Last updated:** [December 13, 2017, 10:11pm UTC](https://forums.unrealengine.com/t/attention-wes-bunn-drag-and-drop-on-top-of-another-item-deletes-dropped-item/412201 "2017-12-13T22:11:41Z")

</div>

I watched the Drag and Drop inventory live training by Wes Bunn (Drag & Drop with UMG | 01 | Live Training | Unreal Engine - YouTube) and although I’m not trying to create the same system - mine is more like a game of So…

---

## [\[Feature Request\] Set variable to public with Blueprint](https://forums.unrealengine.com/t/feature-request-set-variable-to-public-with-blueprint/412038)

<div class="topic-metadata">

**Author:** [@Ego\_Studio](https://forums.unrealengine.com/u/Ego_Studio)\
**Replies:** 5\
**Last updated:** [December 13, 2017, 8:43am UTC](https://forums.unrealengine.com/t/feature-request-set-variable-to-public-with-blueprint/412038 "2017-12-13T08:43:17Z")

</div>

Feature Request on future updates or versions. A Node that would set variables to public in Construction Script An example is to Switch on Enum and toggle a specified variable public or not. This way we can hide / …

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

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