# Editor Scripting

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

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

**Page:** 99

---

## [Attachment replication crashes client in 4.5.1](https://forums.unrealengine.com/t/attachment-replication-crashes-client-in-4-5-1/298915)

<div class="topic-metadata">

**Author:** [@FTC](https://forums.unrealengine.com/u/FTC)\
**Replies:** 5\
**Last updated:** [July 14, 2015, 10:28pm UTC](https://forums.unrealengine.com/t/attachment-replication-crashes-client-in-4-5-1/298915 "2015-07-14T22:28:27Z")

</div>

Hi, I have been at this problem for weeks now and I haven’t gotten one bit closer to a solution. Ever since I upgraded my project to 4.5 it crashes the other clients when another or the server character equips a weapon. …

---

## [Is it possible to lerp without a destination?](https://forums.unrealengine.com/t/is-it-possible-to-lerp-without-a-destination/325105)

<div class="topic-metadata">

**Author:** [@HInoue](https://forums.unrealengine.com/u/HInoue)\
**Replies:** 5\
**Last updated:** [July 14, 2015, 8:28pm UTC](https://forums.unrealengine.com/t/is-it-possible-to-lerp-without-a-destination/325105 "2015-07-14T20:28:29Z")

</div>

This might be a silly question, as linear interpolation by definition involves interpolating between two values, but I’m trying to write a function that smoothly moves the player a specific distance in uu (say, 20 units)…

---

## [Variable Wont Count Up Past 400 Million](https://forums.unrealengine.com/t/variable-wont-count-up-past-400-million/323074)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_4388caf0](https://forums.unrealengine.com/u/anonymous_user_4388caf0)\
**Replies:** 3\
**Last updated:** [July 13, 2015, 6:06pm UTC](https://forums.unrealengine.com/t/variable-wont-count-up-past-400-million/323074 "2015-07-13T18:06:39Z")

</div>

Hello, I am creating a cookie clicker-esque game. I figure the best way to learn is to make a projetc, however I cannot get my amount of cookies variable to get past 400 million. So my question is, Is there a max value f…

---

## [Inventory system help please](https://forums.unrealengine.com/t/inventory-system-help-please/325082)

<div class="topic-metadata">

**Author:** [@jreid423\_1](https://forums.unrealengine.com/u/jreid423_1)\
**Replies:** 0\
**Last updated:** [July 13, 2015, 11:24am UTC](https://forums.unrealengine.com/t/inventory-system-help-please/325082 "2015-07-13T11:24:37Z")

</div>

Hi I am setting up an inventory system for my character. So far I have it working when my character enters the object trigger and presses a button the object gets added to the inventory menu. What I want is the ability …

---

## [How to properly add new structure item to its array?](https://forums.unrealengine.com/t/how-to-properly-add-new-structure-item-to-its-array/324864)

<div class="topic-metadata">

**Author:** [@MothDoctor](https://forums.unrealengine.com/u/MothDoctor)\
**Replies:** 4\
**Last updated:** [July 11, 2015, 10:46pm UTC](https://forums.unrealengine.com/t/how-to-properly-add-new-structure-item-to-its-array/324864 "2015-07-11T22:46:08Z")

</div>

I created simple structure called “Quests” to be used for game’s journal. And I added struct array for it in blueprint. Now I’m trying to add new item to this array. Nothing works. I’ve seen many threads about not…

---

## [C++ parameter is also return value?](https://forums.unrealengine.com/t/c-parameter-is-also-return-value/324404)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_68436a09](https://forums.unrealengine.com/u/anonymous_user_68436a09)\
**Replies:** 4\
**Last updated:** [July 8, 2015, 11:52am UTC](https://forums.unrealengine.com/t/c-parameter-is-also-return-value/324404 "2015-07-08T11:52:38Z")

</div>

Hi, as a Java programmer, I have problems understanding how it works that the following two lines of code actually update currentMousePos\_ with the new mouse position? : FVector2D currentMousePos\_; GEngine-\>GameViewpor…

---

## [How to possess a pawn in its constructor?](https://forums.unrealengine.com/t/how-to-possess-a-pawn-in-its-constructor/324237)

<div class="topic-metadata">

**Author:** [@Kristoffer\_Helander](https://forums.unrealengine.com/u/Kristoffer_Helander)\
**Replies:** 4\
**Last updated:** [July 7, 2015, 6:09pm UTC](https://forums.unrealengine.com/t/how-to-possess-a-pawn-in-its-constructor/324237 "2015-07-07T18:09:14Z")

</div>

I have a pawn created in C++ and I want it to be possessed by default. If I set Autopossess to Player 0 in the editor it works fine, but I want to do it directly in code. But I can’t figure out how to get the reference o…

---

## [Why isn't UE 4.8 saving data on Android?](https://forums.unrealengine.com/t/why-isnt-ue-4-8-saving-data-on-android/321816)

<div class="topic-metadata">

**Author:** [@pedrodacruz](https://forums.unrealengine.com/u/pedrodacruz)\
**Replies:** 33\
**Last updated:** [July 6, 2015, 4:25pm UTC](https://forums.unrealengine.com/t/why-isnt-ue-4-8-saving-data-on-android/321816 "2015-07-06T16:25:42Z")

</div>

I have upgraded my project to UE 4.8 and now I can’t save data on Android. I have observed that the path of SaveGames isn’t being created anymore (I have tested on my both mobile phones). I have to create the following …

---

## [Why is my USTRUCT causing a weird syntax error?](https://forums.unrealengine.com/t/why-is-my-ustruct-causing-a-weird-syntax-error/324213)

<div class="topic-metadata">

**Author:** [@HInoue](https://forums.unrealengine.com/u/HInoue)\
**Replies:** 2\
**Last updated:** [July 6, 2015, 7:20am UTC](https://forums.unrealengine.com/t/why-is-my-ustruct-causing-a-weird-syntax-error/324213 "2015-07-06T07:20:21Z")

</div>

I’m trying to create a custom struct, to ensure I understand the syntax: UCLASS( ClassGroup=(Custom), meta=(BlueprintSpawnableComponent) ) class LEARNINGPROJECT\_API UTestComp: public UActorComponent { GENERATED\_BODY() …

---

## [Failed to read save file in standalone .exe](https://forums.unrealengine.com/t/failed-to-read-save-file-in-standalone-exe/323682)

<div class="topic-metadata">

**Author:** [@Zarkopafilis](https://forums.unrealengine.com/u/Zarkopafilis)\
**Replies:** 0\
**Last updated:** [July 1, 2015, 1:55pm UTC](https://forums.unrealengine.com/t/failed-to-read-save-file-in-standalone-exe/323682 "2015-07-01T13:55:46Z")

</div>

Project gets packaged, gets run as a standalone (without editor). Death mechanics stopped to work because the high score loader is not working (I am using Epics tutorial on SaveGame, I also init SaveGame setting a high …

---

## [Item inventory stack](https://forums.unrealengine.com/t/item-inventory-stack/323537)

<div class="topic-metadata">

**Author:** [@ale929\_1](https://forums.unrealengine.com/u/ale929_1)\
**Replies:** 0\
**Last updated:** [June 30, 2015, 10:19am UTC](https://forums.unrealengine.com/t/item-inventory-stack/323537 "2015-06-30T10:19:32Z")

</div>

I would like to create a counter for an item when i already have one in the inventory and get more of them. The thing i am trying to do is to check if in my inventory there is an item with the same name of the one i’m ta…

---

## [UMG and Inventory Slot Highlight](https://forums.unrealengine.com/t/umg-and-inventory-slot-highlight/305786)

<div class="topic-metadata">

**Author:** [@Killedge](https://forums.unrealengine.com/u/Killedge)\
**Replies:** 6\
**Last updated:** [June 30, 2015, 9:02am UTC](https://forums.unrealengine.com/t/umg-and-inventory-slot-highlight/305786 "2015-06-30T09:02:48Z")

</div>

Hello I’ve created a inventory system which based on UMG. Simple box slots based on array border with background an text. Each of them has a number slot (int variable “slots ID”) and my problem is… I want to create hig…

---

## [String array doesnt work within a shared funtion library](https://forums.unrealengine.com/t/string-array-doesnt-work-within-a-shared-funtion-library/323355)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_1859f0201](https://forums.unrealengine.com/u/anonymous_user_1859f0201)\
**Replies:** 3\
**Last updated:** [June 30, 2015, 12:49am UTC](https://forums.unrealengine.com/t/string-array-doesnt-work-within-a-shared-funtion-library/323355 "2015-06-30T00:49:47Z")

</div>

Problem: I cant get it to ether store or give me the information inside the string arrays. Is this not possible within a function? Or is it some sort of glitch. But when i call to get information from the string it print…

---

## [Change A variable of an elem of array based on blueprint ?! NEED HELP](https://forums.unrealengine.com/t/change-a-variable-of-an-elem-of-array-based-on-blueprint-need-help/323301)

<div class="topic-metadata">

**Author:** [@Zoltan\_Vari](https://forums.unrealengine.com/u/Zoltan_Vari)\
**Replies:** 2\
**Last updated:** [June 28, 2015, 2:05pm UTC](https://forums.unrealengine.com/t/change-a-variable-of-an-elem-of-array-based-on-blueprint-need-help/323301 "2015-06-28T14:05:25Z")

</div>

A made an array based on a Blueprint and Im trying to use this array as an inventory. The array type is a Base\_Item blueprint (this : http://i.imgur.com/Q9sMD2j.png) It contains 2 variable, TextureBase(variable type: tex…

---

## [4.8 BlueprintFunctionLibrary BUG copy local variables](https://forums.unrealengine.com/t/4-8-blueprintfunctionlibrary-bug-copy-local-variables/322779)

<div class="topic-metadata">

**Author:** [@Devero](https://forums.unrealengine.com/u/Devero)\
**Replies:** 2\
**Last updated:** [June 27, 2015, 9:13pm UTC](https://forums.unrealengine.com/t/4-8-blueprintfunctionlibrary-bug-copy-local-variables/322779 "2015-06-27T21:13:19Z")

</div>

Hi Team Epic found a new bug this morning. I found that you can not copy and past local variables inside of BlueprintFunctionLibraries anymore. I have confirmed it working in 4.7.6 but does not in a new 4.8.0 project. …

---

## [C++ Array of Scene Components help Please](https://forums.unrealengine.com/t/c-array-of-scene-components-help-please/322287)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_be8739da](https://forums.unrealengine.com/u/anonymous_user_be8739da)\
**Replies:** 1\
**Last updated:** [June 25, 2015, 3:39am UTC](https://forums.unrealengine.com/t/c-array-of-scene-components-help-please/322287 "2015-06-25T03:39:34Z")

</div>

Hey guys, I am pretty new to C++ and just can’t seem to figure this one out. The project compiles fine in Xcode but the Editor freezes while opening . Here is my code .h file - UPROPERTY(VisibleAnywhere, BlueprintRead…

---

## [USTRUCT in its own .h does not compile](https://forums.unrealengine.com/t/ustruct-in-its-own-h-does-not-compile/322525)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_8b77cbb9](https://forums.unrealengine.com/u/anonymous_user_8b77cbb9)\
**Replies:** 8\
**Last updated:** [June 22, 2015, 1:36pm UTC](https://forums.unrealengine.com/t/ustruct-in-its-own-h-does-not-compile/322525 "2015-06-22T13:36:31Z")

</div>

I have a basic struct like the one below. It used to be at the top of a class file, but I moved it out to its own file. Then FString was no longer sensed as an existing class, the GENERATED\_USTRUCT\_BODY() macro is underl…

---

## [How to modify public variable with blueprint](https://forums.unrealengine.com/t/how-to-modify-public-variable-with-blueprint/321198)

<div class="topic-metadata">

**Author:** [@DavidManfredini](https://forums.unrealengine.com/u/DavidManfredini)\
**Replies:** 5\
**Last updated:** [June 18, 2015, 6:04pm UTC](https://forums.unrealengine.com/t/how-to-modify-public-variable-with-blueprint/321198 "2015-06-18T18:04:28Z")

</div>

Hello ! I’m new in unreal and i have a newbie question : I made a public variable and i’m able to change it in “real time” by myself but i’m trying to change it with an external blueprint. How can I access to and modi…

---

## [Cant' use functions from Vfw.h](https://forums.unrealengine.com/t/cant-use-functions-from-vfw-h/322101)

<div class="topic-metadata">

**Author:** [@CKong](https://forums.unrealengine.com/u/CKong)\
**Replies:** 1\
**Last updated:** [June 17, 2015, 12:13pm UTC](https://forums.unrealengine.com/t/cant-use-functions-from-vfw-h/322101 "2015-06-17T12:13:48Z")

</div>

Hello mates, after create a Unreal C++ base project, add some .h and .cpp file with VS class wizzard then as title suggest, i can’t use function like AVIFileInit and other similar, even though i have included Vfw.h and p…

---

## [How to save a pointer to file](https://forums.unrealengine.com/t/how-to-save-a-pointer-to-file/321926)

<div class="topic-metadata">

**Author:** [@Ogniok](https://forums.unrealengine.com/u/Ogniok)\
**Replies:** 6\
**Last updated:** [June 16, 2015, 1:24pm UTC](https://forums.unrealengine.com/t/how-to-save-a-pointer-to-file/321926 "2015-06-16T13:24:40Z")

</div>

Hi, I’m working on a save system in my game and I need to save a pointer to file that after being loaded will point to the right object. (The pointers I’m saving only point to objects that are created in the editor - no…

---

## [How to list of objects in the scene to array for saving it in the SaveGame?](https://forums.unrealengine.com/t/how-to-list-of-objects-in-the-scene-to-array-for-saving-it-in-the-savegame/319335)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_590cb5931](https://forums.unrealengine.com/u/anonymous_user_590cb5931)\
**Replies:** 7\
**Last updated:** [June 14, 2015, 9:38am UTC](https://forums.unrealengine.com/t/how-to-list-of-objects-in-the-scene-to-array-for-saving-it-in-the-savegame/319335 "2015-06-14T09:38:20Z")

</div>

Hello. How to list of objects in the scene to array for saving it in the SaveGame? Is it possible directly save array with scene objects (simple objects, AI objects, actors) in SaveGame? Or I must iterate through arra…

---

## [How to get a reference and store it](https://forums.unrealengine.com/t/how-to-get-a-reference-and-store-it/321651)

<div class="topic-metadata">

**Author:** [@gogata258](https://forums.unrealengine.com/u/gogata258)\
**Replies:** 1\
**Last updated:** [June 13, 2015, 3:58pm UTC](https://forums.unrealengine.com/t/how-to-get-a-reference-and-store-it/321651 "2015-06-13T15:58:56Z")

</div>

Hi, I am trying to create a pawn and then get the reference to it using a TActorIterator. The question is how get the reference from the TActorIterator object and store it in a pointer. Here is the code .h // Called…

---

## [C++ programming guidance for Noob](https://forums.unrealengine.com/t/c-programming-guidance-for-noob/321250)

<div class="topic-metadata">

**Author:** [@Adhordal](https://forums.unrealengine.com/u/Adhordal)\
**Replies:** 3\
**Last updated:** [June 11, 2015, 3:19pm UTC](https://forums.unrealengine.com/t/c-programming-guidance-for-noob/321250 "2015-06-11T15:19:19Z")

</div>

Hello everyone! Adhordal here. I have picked up Unreal Engine 4 and after enjoying the wonderful editor, i decided to jump into programming gameplay. I have worked with Unity 5 before and became quite proficient with it…

---

## [\[BUG Report\] Duplicate variables Camera Manager class](https://forums.unrealengine.com/t/bug-report-duplicate-variables-camera-manager-class/321297)

<div class="topic-metadata">

**Author:** [@GameWayStudio\_1](https://forums.unrealengine.com/u/GameWayStudio_1)\
**Replies:** 0\
**Last updated:** [June 10, 2015, 5:42pm UTC](https://forums.unrealengine.com/t/bug-report-duplicate-variables-camera-manager-class/321297 "2015-06-10T17:42:11Z")

</div>

4.7.6 Duplicate variables in default settings for Camera Manager class http://www.screencapture.ru/uploaded/f2/89/02/f289022d.jpg

---

## [How to make in-game level building?](https://forums.unrealengine.com/t/how-to-make-in-game-level-building/320495)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_590cb5931](https://forums.unrealengine.com/u/anonymous_user_590cb5931)\
**Replies:** 1\
**Last updated:** [June 10, 2015, 7:59am UTC](https://forums.unrealengine.com/t/how-to-make-in-game-level-building/320495 "2015-06-10T07:59:04Z")

</div>

Hi. How to make in-game building, like in or like in Sims 3, Sims 4 building mode - http://www.youtube.com/watch?v=PBHjYFcdTnU ? And players of the game must have possibility to build it’s own houses, doors, windows, …

---

## [Scoreboard order](https://forums.unrealengine.com/t/scoreboard-order/321095)

<div class="topic-metadata">

**Author:** [@Scienziatogm](https://forums.unrealengine.com/u/Scienziatogm)\
**Replies:** 3\
**Last updated:** [June 9, 2015, 11:38am UTC](https://forums.unrealengine.com/t/scoreboard-order/321095 "2015-06-09T11:38:47Z")

</div>

Hi, in my game there is a Scoreboard, and I want to order the players in the scoreboard by these rules: The player with most kills should be placed above If some player has got the same kills as another player, but has…

---

## [Garbage Collection with Variables (Blueprints)](https://forums.unrealengine.com/t/garbage-collection-with-variables-blueprints/321086)

<div class="topic-metadata">

**Author:** [@TheKing530](https://forums.unrealengine.com/u/TheKing530)\
**Replies:** 0\
**Last updated:** [June 8, 2015, 4:20pm UTC](https://forums.unrealengine.com/t/garbage-collection-with-variables-blueprints/321086 "2015-06-08T16:20:36Z")

</div>

Quick question! I would like to save all the items in a player’s inventory in their loaded object actor state (as opposed to classes or data structures). For example, if I have a sword object, I would like to have multip…

---

## [Fallout 3 Pip-Boy light and inventory in BP's](https://forums.unrealengine.com/t/fallout-3-pip-boy-light-and-inventory-in-bps/320996)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_9445e972](https://forums.unrealengine.com/u/anonymous_user_9445e972)\
**Replies:** 3\
**Last updated:** [June 7, 2015, 8:07pm UTC](https://forums.unrealengine.com/t/fallout-3-pip-boy-light-and-inventory-in-bps/320996 "2015-06-07T20:07:09Z")

</div>

Hey Guys i want to implement into my game the functionality of a pipboy from fallout 3. So if you press short the tab key it opens the inventory and if you press it longer (2 seconds) it enables the light The current st…

---

## [Arrays variables and blueprints](https://forums.unrealengine.com/t/arrays-variables-and-blueprints/320885)

<div class="topic-metadata">

**Author:** [@godsadj2\_1](https://forums.unrealengine.com/u/godsadj2_1)\
**Replies:** 4\
**Last updated:** [June 7, 2015, 2:03am UTC](https://forums.unrealengine.com/t/arrays-variables-and-blueprints/320885 "2015-06-07T02:03:04Z")

</div>

I have a more open ended question but i was hoping some one could explain the process od arrays in UE4. See i gather arrays are lists/stacks(wrong term) of variables of one sort or another. I really want to know the pr…

---

## [Can't Save Inventory Stacking](https://forums.unrealengine.com/t/cant-save-inventory-stacking/320816)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_72570021](https://forums.unrealengine.com/u/anonymous_user_72570021)\
**Replies:** 0\
**Last updated:** [June 5, 2015, 4:36pm UTC](https://forums.unrealengine.com/t/cant-save-inventory-stacking/320816 "2015-06-05T16:36:44Z")

</div>

Hey, I apologize for the messy blueprint in advance! but I’m having a big issue I hope someone can help me with. I have an inventory system setup just the way I want it, everything works and I’ve managed to save what is…

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

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