# Editor Scripting

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

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

**Page:** 81

---

## [USaveGame and serializing the minimum necessary info](https://forums.unrealengine.com/t/usavegame-and-serializing-the-minimum-necessary-info/400911)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_fdd9bf78](https://forums.unrealengine.com/u/anonymous_user_fdd9bf78)\
**Replies:** 0\
**Last updated:** [July 30, 2017, 10:12pm UTC](https://forums.unrealengine.com/t/usavegame-and-serializing-the-minimum-necessary-info/400911 "2017-07-30T22:12:48Z")

</div>

Got a couple questions on serialization and USaveGame Q1 Say I have an AItem (AActor subclass) which has: A gameplay ‘State’ property (an enum, which changes value throughout the game) A ‘Asset’ property of type UIte…

---

## [Pass Client Variable to Server](https://forums.unrealengine.com/t/pass-client-variable-to-server/398079)

<div class="topic-metadata">

**Author:** [@Jimonions](https://forums.unrealengine.com/u/Jimonions)\
**Replies:** 0\
**Last updated:** [July 30, 2017, 12:01pm UTC](https://forums.unrealengine.com/t/pass-client-variable-to-server/398079 "2017-07-30T12:01:12Z")

</div>

This is a continuation of my last question here which went unanswered: Replicating widget input to other clients - UI - Unreal Engine Forums I’ve simplified it in hopes I can get an answer since this is a pretty importa…

---

## [Savegame broken after Fatal Error in Shipped Game](https://forums.unrealengine.com/t/savegame-broken-after-fatal-error-in-shipped-game/398002)

<div class="topic-metadata">

**Author:** [@ZenRigpa](https://forums.unrealengine.com/u/ZenRigpa)\
**Replies:** 0\
**Last updated:** [July 28, 2017, 10:13am UTC](https://forums.unrealengine.com/t/savegame-broken-after-fatal-error-in-shipped-game/398002 "2017-07-28T10:13:32Z")

</div>

Hey guys, i made a shipped game package for testing purposes. Today i had my first Fatal Error while playing. I cannot say why this error occured. There was just a Fatal Error message without any Error Code. However, in …

---

## [Curve Interpolation with spline components in blueprints?](https://forums.unrealengine.com/t/curve-interpolation-with-spline-components-in-blueprints/349498)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_30146998](https://forums.unrealengine.com/u/anonymous_user_30146998)\
**Replies:** 1\
**Last updated:** [July 23, 2017, 7:14pm UTC](https://forums.unrealengine.com/t/curve-interpolation-with-spline-components-in-blueprints/349498 "2017-07-23T19:14:41Z")

</div>

Hi all, So I have a spline that I’m creating in a blueprint driven by some basic, albeit sloppy, math shown below. The result is shown in the other image. Because I’m dealing with such large numbers (8000) I think tha…

---

## [How do I make a quick-save system?](https://forums.unrealengine.com/t/how-do-i-make-a-quick-save-system/399985)

<div class="topic-metadata">

**Author:** [@Kojox](https://forums.unrealengine.com/u/Kojox)\
**Replies:** 9\
**Last updated:** [July 21, 2017, 12:29am UTC](https://forums.unrealengine.com/t/how-do-i-make-a-quick-save-system/399985 "2017-07-21T00:29:32Z")

</div>

You dont have to send your Savegame Object along. Store it somewhere easy to access like GameInstance, GameMode. They can get it themself if they need it. Also dont force yourself to use a single Gamesave File. Think mo…

---

## [Trouble with spawnpoints and random spawning.](https://forums.unrealengine.com/t/trouble-with-spawnpoints-and-random-spawning/400405)

<div class="topic-metadata">

**Author:** [@mrwrong138](https://forums.unrealengine.com/u/mrwrong138)\
**Replies:** 7\
**Last updated:** [July 20, 2017, 7:14am UTC](https://forums.unrealengine.com/t/trouble-with-spawnpoints-and-random-spawning/400405 "2017-07-20T07:14:35Z")

</div>

here it is looking more like the code you already have

---

## [How to parametrize ISaveGameSystem::SaveGame() to use system UI](https://forums.unrealengine.com/t/how-to-parametrize-isavegamesystem-savegame-to-use-system-ui/400278)

<div class="topic-metadata">

**Author:** [@DARK\_ETERNAL](https://forums.unrealengine.com/u/DARK_ETERNAL)\
**Replies:** 0\
**Last updated:** [July 17, 2017, 11:00pm UTC](https://forums.unrealengine.com/t/how-to-parametrize-isavegamesystem-savegame-to-use-system-ui/400278 "2017-07-17T23:00:45Z")

</div>

I’m trying to do an extension of a save system that supports standard save, quick save and auto-save. While the three operations are the same, quick save and auto-save do differ in one thing: Showing or not platform UI. …

---

## [On Press and On Release dont work but On Click does.](https://forums.unrealengine.com/t/on-press-and-on-release-dont-work-but-on-click-does/400251)

<div class="topic-metadata">

**Author:** [@David\_Oaken](https://forums.unrealengine.com/u/David_Oaken)\
**Replies:** 4\
**Last updated:** [July 17, 2017, 8:20pm UTC](https://forums.unrealengine.com/t/on-press-and-on-release-dont-work-but-on-click-does/400251 "2017-07-17T20:20:36Z")

</div>

Any help?

---

## [increasing save game variables](https://forums.unrealengine.com/t/increasing-save-game-variables/397514)

<div class="topic-metadata">

**Author:** [@Niktsuki](https://forums.unrealengine.com/u/Niktsuki)\
**Replies:** 0\
**Last updated:** [July 16, 2017, 6:15pm UTC](https://forums.unrealengine.com/t/increasing-save-game-variables/397514 "2017-07-16T18:15:01Z")

</div>

Hi. I have a game where users currently hold a number of saved games. I would like to increase the number of variables in the save game and store extra data in the next build but I have found that none of the save games…

---

## [Get Actor Location Help AI Con Ref](https://forums.unrealengine.com/t/get-actor-location-help-ai-con-ref/399990)

<div class="topic-metadata">

**Author:** [@JonJon58](https://forums.unrealengine.com/u/JonJon58)\
**Replies:** 1\
**Last updated:** [July 11, 2017, 7:48pm UTC](https://forums.unrealengine.com/t/get-actor-location-help-ai-con-ref/399990 "2017-07-11T19:48:51Z")

</div>

I created a AgroCheck FollowerBT and I dont understand this. Does anyone know what this is? I tried to find a component or a reference from GetActorLocation to Multi Sphere Trace For Objects. Thank You.

---

## [How to control the Console with a script?](https://forums.unrealengine.com/t/how-to-control-the-console-with-a-script/399979)

<div class="topic-metadata">

**Author:** [@ThadeuMelo](https://forums.unrealengine.com/u/ThadeuMelo)\
**Replies:** 0\
**Last updated:** [July 11, 2017, 2:47pm UTC](https://forums.unrealengine.com/t/how-to-control-the-console-with-a-script/399979 "2017-07-11T14:47:03Z")

</div>

Hello. We have a packaged aplication that we can change some details (resolution, frame rate) with Console commands. I would like to have a script - python would be good - that could send different commands. Right now…

---

## [Multiplayer Respawn issue with "get all actors from class"](https://forums.unrealengine.com/t/multiplayer-respawn-issue-with-get-all-actors-from-class/389719)

<div class="topic-metadata">

**Author:** [@kelindi](https://forums.unrealengine.com/u/kelindi)\
**Replies:** 1\
**Last updated:** [July 10, 2017, 2:41pm UTC](https://forums.unrealengine.com/t/multiplayer-respawn-issue-with-get-all-actors-from-class/389719 "2017-07-10T14:41:42Z")

</div>

I have been trying to make a Multiplayer respawn system for my game and have been stuck for 2 weeks now. I have narrowed down the problem to this section of my blueprints (the picture). The “get all actors from class” pr…

---

## [Saving actor references](https://forums.unrealengine.com/t/saving-actor-references/397132)

<div class="topic-metadata">

**Author:** [@kgamble](https://forums.unrealengine.com/u/kgamble)\
**Replies:** 0\
**Last updated:** [July 7, 2017, 11:04pm UTC](https://forums.unrealengine.com/t/saving-actor-references/397132 "2017-07-07T23:04:10Z")

</div>

Is it safe to save Actor references in a SaveGame class? I have some structs I want to save out and one of their properties is a reference to an actor and I’m unsure if I can just save that directly or if I should instea…

---

## [UStruct constantly created when passing through multiple BP (How to prevent copy of struct and just pass pointer)](https://forums.unrealengine.com/t/ustruct-constantly-created-when-passing-through-multiple-bp-how-to-prevent-copy-of-struct-and-just-pass-pointer/399778)

<div class="topic-metadata">

**Author:** [@martin\_parsons](https://forums.unrealengine.com/u/martin_parsons)\
**Replies:** 3\
**Last updated:** [July 7, 2017, 1:14pm UTC](https://forums.unrealengine.com/t/ustruct-constantly-created-when-passing-through-multiple-bp-how-to-prevent-copy-of-struct-and-just-pass-pointer/399778 "2017-07-07T13:14:54Z")

</div>

Hi guys, Sorry for the long question! Not sure how to explain it well… but I’m in a bit of a bind. I’ve created a UStruct that contains some streaming code to get things from an outside app. Everything is fine and I jus…

---

## [Is it legit saving the game on Tick?](https://forums.unrealengine.com/t/is-it-legit-saving-the-game-on-tick/399526)

<div class="topic-metadata">

**Author:** [@SomeDude12](https://forums.unrealengine.com/u/SomeDude12)\
**Replies:** 4\
**Last updated:** [July 5, 2017, 10:16am UTC](https://forums.unrealengine.com/t/is-it-legit-saving-the-game-on-tick/399526 "2017-07-05T10:16:32Z")

</div>

Is saving the game on Tick ok/recomended (will it cause large amounts of write bytes/ I.O operations to disk ) or should i do it manually? The game is still “small” but checking my task manager i haven’t observed much…

---

## [How to create a variable with submenus variables in blueprints?](https://forums.unrealengine.com/t/how-to-create-a-variable-with-submenus-variables-in-blueprints/399431)

<div class="topic-metadata">

**Author:** [@Sn\_a\_ke](https://forums.unrealengine.com/u/Sn_a_ke)\
**Replies:** 7\
**Last updated:** [July 5, 2017, 3:26am UTC](https://forums.unrealengine.com/t/how-to-create-a-variable-with-submenus-variables-in-blueprints/399431 "2017-07-05T03:26:54Z")

</div>

How to setup variable in submenu categories in blueprints? example: http://i.imgur.com/8QY7r6b.gif How can I repeat this submenu (sense) with my classes and variables?

---

## [Doubts about working with "ByReference" on arrays](https://forums.unrealengine.com/t/doubts-about-working-with-byreference-on-arrays/399461)

<div class="topic-metadata">

**Author:** [@leofucci](https://forums.unrealengine.com/u/leofucci)\
**Replies:** 0\
**Last updated:** [June 29, 2017, 6:47pm UTC](https://forums.unrealengine.com/t/doubts-about-working-with-byreference-on-arrays/399461 "2017-06-29T18:47:05Z")

</div>

Hi guys. Can somebody help me understand if my assumption is correct on this, because on one example I find out something strange working with arrays and functions. This is an example function, doesn´t matter what it d…

---

## [Nativization fails with nativized actor reference in values of map variable](https://forums.unrealengine.com/t/nativization-fails-with-nativized-actor-reference-in-values-of-map-variable/396680)

<div class="topic-metadata">

**Author:** [@Kaiagan](https://forums.unrealengine.com/u/Kaiagan)\
**Replies:** 0\
**Last updated:** [June 27, 2017, 4:43pm UTC](https://forums.unrealengine.com/t/nativization-fails-with-nativized-actor-reference-in-values-of-map-variable/396680 "2017-06-27T16:43:32Z")

</div>

Hello, I have a single class set to Nativize (exclusive method) : “Chunk”. Another class (“MapManager” - not nativized) has a map variable with vector keys and Chunk references values. I attached the log errors (shippin…

---

## [Saving an actor to the game instance](https://forums.unrealengine.com/t/saving-an-actor-to-the-game-instance/342012)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_8c6e3ac71](https://forums.unrealengine.com/u/anonymous_user_8c6e3ac71)\
**Replies:** 2\
**Last updated:** [June 25, 2017, 7:58am UTC](https://forums.unrealengine.com/t/saving-an-actor-to-the-game-instance/342012 "2017-06-25T07:58:26Z")

</div>

Hello. I am trying to store an actor with all its attributes in my game instance. The problem that I ran into is that the variable types offered by Unreal Engine are only references to, rather than copies of an actor, wh…

---

## [Structs Extremely Unstable - Alternative To Structs?](https://forums.unrealengine.com/t/structs-extremely-unstable-alternative-to-structs/399180)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_74f27e54](https://forums.unrealengine.com/u/anonymous_user_74f27e54)\
**Replies:** 7\
**Last updated:** [June 24, 2017, 9:25am UTC](https://forums.unrealengine.com/t/structs-extremely-unstable-alternative-to-structs/399180 "2017-06-24T09:25:26Z")

</div>

Sounds weird, What nodes do u use to get and set variables in these structs?

---

## [Saving hidden actors](https://forums.unrealengine.com/t/saving-hidden-actors/399072)

<div class="topic-metadata">

**Author:** [@JamesWolfwood](https://forums.unrealengine.com/u/JamesWolfwood)\
**Replies:** 4\
**Last updated:** [June 22, 2017, 4:55pm UTC](https://forums.unrealengine.com/t/saving-hidden-actors/399072 "2017-06-22T16:55:40Z")

</div>

Sorry to sound like a complete noob, but would it be possible to have some screenshots of your blueprints? if you don’t mind, I work better when i can visual see what is happening.

---

## [Struct Class Not Recognized](https://forums.unrealengine.com/t/struct-class-not-recognized/395793)

<div class="topic-metadata">

**Author:** [@Ronin\_Inc](https://forums.unrealengine.com/u/Ronin_Inc)\
**Replies:** 10\
**Last updated:** [June 14, 2017, 3:18pm UTC](https://forums.unrealengine.com/t/struct-class-not-recognized/395793 "2017-06-14T15:18:50Z")

</div>

You have a cyclic include. CraftingStation.h includes GameplayController.h, which in turn includes CraftingStation.h. Either break up your files so you can access the types you need without this cycle, or see if you can…

---

## [Sorting an Array using Instance Variables](https://forums.unrealengine.com/t/sorting-an-array-using-instance-variables/394744)

<div class="topic-metadata">

**Author:** [@XsynthZ](https://forums.unrealengine.com/u/XsynthZ)\
**Replies:** 1\
**Last updated:** [June 13, 2017, 6:01pm UTC](https://forums.unrealengine.com/t/sorting-an-array-using-instance-variables/394744 "2017-06-13T18:01:47Z")

</div>

First off, I’m going to apologize if the title makes no sense. I’m pretty new to Blueprints and I’m still trying to learn proper terminology. So right now I have two blueprints. A blueprint that teleports the camera to…

---

## [How to set up a reference to a static level object in a dynamically instantiated actor?](https://forums.unrealengine.com/t/how-to-set-up-a-reference-to-a-static-level-object-in-a-dynamically-instantiated-actor/396015)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_a5c19c90](https://forums.unrealengine.com/u/anonymous_user_a5c19c90)\
**Replies:** 2\
**Last updated:** [June 13, 2017, 10:29am UTC](https://forums.unrealengine.com/t/how-to-set-up-a-reference-to-a-static-level-object-in-a-dynamically-instantiated-actor/396015 "2017-06-13T10:29:20Z")

</div>

I have a fixed, static object in my level placed in the editor that I want my player-controlled pawns to be able to reference in their C++ code. I would like to set up that reference in the editor. It doesn’t seem possi…

---

## [Read and write data from a save game file/ create one](https://forums.unrealengine.com/t/read-and-write-data-from-a-save-game-file-create-one/398504)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_9938a7501](https://forums.unrealengine.com/u/anonymous_user_9938a7501)\
**Replies:** 2\
**Last updated:** [June 9, 2017, 7:35am UTC](https://forums.unrealengine.com/t/read-and-write-data-from-a-save-game-file-create-one/398504 "2017-06-09T07:35:40Z")

</div>

Create a save game and then load the save game when the game starts.

---

## [No output pin on variable](https://forums.unrealengine.com/t/no-output-pin-on-variable/394701)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_58c2e809](https://forums.unrealengine.com/u/anonymous_user_58c2e809)\
**Replies:** 12\
**Last updated:** [June 6, 2017, 2:05pm UTC](https://forums.unrealengine.com/t/no-output-pin-on-variable/394701 "2017-06-06T14:05:35Z")

</div>

I am following the Creating and Displaying UI tutorial on the Unreal site. Creating Widgets in Unreal Engine | Unreal Engine 5.2 Documentation When I promote to variable off of the return value there is no output pin. …

---

## [android - crash on save game load](https://forums.unrealengine.com/t/android-crash-on-save-game-load/378004)

<div class="topic-metadata">

**Author:** [@BPANDREW](https://forums.unrealengine.com/u/BPANDREW)\
**Replies:** 3\
**Last updated:** [June 2, 2017, 7:10pm UTC](https://forums.unrealengine.com/t/android-crash-on-save-game-load/378004 "2017-06-02T19:10:32Z")

</div>

I have been having a recurring issue with my game, save game corruptions, I’m not sure whats going wrong but I have to ask my users to delete their save games now and then, I finally installed gameDNA’s GitHub - gameDNAs…

---

## [USaveGame always returns empty data](https://forums.unrealengine.com/t/usavegame-always-returns-empty-data/395348)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_6766967d](https://forums.unrealengine.com/u/anonymous_user_6766967d)\
**Replies:** 1\
**Last updated:** [June 2, 2017, 5:23pm UTC](https://forums.unrealengine.com/t/usavegame-always-returns-empty-data/395348 "2017-06-02T17:23:09Z")

</div>

I’m trying to store a simple string in a UsaveGame class I make: I’m using the following setup: .h file of MySaveGame #pragma once #include "GameFramework/SaveGame.h" #include "MySaveGame.generated.h" /\*\* \* \*/ UC…

---

## [How to set a vector variable by name? \[C++\]](https://forums.unrealengine.com/t/how-to-set-a-vector-variable-by-name-c/361843)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_70687b4c](https://forums.unrealengine.com/u/anonymous_user_70687b4c)\
**Replies:** 6\
**Last updated:** [June 2, 2017, 3:25am UTC](https://forums.unrealengine.com/t/how-to-set-a-vector-variable-by-name-c/361843 "2017-06-02T03:25:15Z")

</div>

Sorry, noobs question. Cant found property class for vector (vector3). Example with float: bool UShooterFunctions::SetFloatByName(UObject \* Target, FName VarName, float NewValue, float & outFloat) { if (Target) …

---

## [Doubt about VInterpConstantTo](https://forums.unrealengine.com/t/doubt-about-vinterpconstantto/395090)

<div class="topic-metadata">

**Author:** [@xlar8or](https://forums.unrealengine.com/u/xlar8or)\
**Replies:** 4\
**Last updated:** [May 31, 2017, 5:02pm UTC](https://forums.unrealengine.com/t/doubt-about-vinterpconstantto/395090 "2017-05-31T17:02:08Z")

</div>

I’ve been using FInterpConstantTo quite often and it always worked the way i expected, i set the interpolation speed to how much i want to progress in 1 second and that works, but if i do the same with VInterpConstantTo …

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

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