Pass array of values from component to game instance?
Hi, I am recording the positions of my AI character in arrays using a components. So each character will have an array with its positions stored in it. I would like to get these arrays in to my game instance. However I do not know how to pass variables from on script to another in unreal. Passing variables arrays etc. between different C++ scripts in unreal engine is like a nightmare for me.
In other words, how do I make a C++ script access an array in another C++ script?
Detailed reply with the relevant functions usage would be much appreciated.
Thanks in advance.
asked Feb 14 '19 at 07:44 PM in C++ Programming
Follow this question
Once you sign in you will be able to subscribe for any updates here