Dear ,
I have 3 types of solutions for you, based on your actual game needs, each with its own wiki for more code and details!
Solution 1 ~ The Level Blueprint
If you are placing objects in the world using the editor, the fastest way to modify/track these objects is using the Level Blueprint!
Blueprints->Level Blueprint, top middle button of main UE4 viewport
Then you select the actors in the scene, and then go into the Level BP and right click, you’ll see an option to get a reference to your actors!
Then you can do whatever you want with them!
You can make your own C++ Level BP to then use in the Editor and store your own C++ accessible variables!
Wiki on Creating Custom Level Blueprint C++ Classes
https://wiki.unrealengine.com/Solus_C%2B%2B_Tutorials#Solus_C.2B.2B_Tutorial:_Creating_Custom_Level_Blueprints_in_C.2B.2B
**Solution 2 ~ Game Instance**
If you want to store data between levels, you should consider the Game Instance Class!
The Game Instance class is the best place to store data that you want to persistent between levels / from the time the game viewport is first opened till the user stops playing your game, even after many level changes.
**Wiki on Making a Custom Game Instance Class**
https://wiki.unrealengine.com/Game_Instance,_Custom_Game_Instance_For_Inter-Level_Persistent_Data_Storage
Solution 3 ~ Core Game Classes For Storing Dynamically Created Objects
If you are just wanting to store data like the TArray of points you mentioned, you should use one of the following core classes as a good starting point
Player Controller
Character
Player State
Game State
All four of these are replicated actors that exist on all client machines and support network functions.
Player Controller and Character support RPCs so that clients can send data back to the server.
I’d recommend Game State or Player Controller for your TArray of path points.
You’d create variables in a custom Player Controller or Game State Class.
In the wiki below I explain how to then create a BP of your Player Controller or Game State class and link them into your project so that they get used instead of the default engine classes.
Wiki on Custom Player Controller Class
https://wiki.unrealengine.com/Game_Mode,_Linking_to_Player_Controller_Blueprint
Enjoy!
**Welcome to UE4!**
[FONT=Comic Sans MS]♥
Rama