Hi.
I'm trying to create a plugin. Part of it is an array that contains important data for the game. I cannot seem to create script calls in events that allow me to access that array. I'm aware that's because the data in the script is not global. I can do plugin commands to run specific functions - but I guess I just can't access any data in the script even using other scripts in events? Do I have to assign the array to a $gameVariable.value(), converting it to a useless string, then convert it back? What's the point?
I'm trying to create a plugin. Part of it is an array that contains important data for the game. I cannot seem to create script calls in events that allow me to access that array. I'm aware that's because the data in the script is not global. I can do plugin commands to run specific functions - but I guess I just can't access any data in the script even using other scripts in events? Do I have to assign the array to a $gameVariable.value(), converting it to a useless string, then convert it back? What's the point?