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.