I'd like to set up a Global variables accessed by some actions. For example an Units Health. How does one go about setting up a global variable to be accessed by action functions?
I'd like to set up a Global variables accessed by some actions. For example an Units Health. How does one go about setting up a global variable to be accessed by action functions?
Sorry I need to clarify this.
I'd like top make my own Global variables that any Ability in the Rotation can call/use/set. What's the best way to do this if it's possible? A set/get functions in a lua file loaded with the initial/first ability in the roation? Are global function in LoadLua files global to the rotation? If so, how; I get errors trying to call a global function? I've tried just using Globals in Abilities but the Ability itself makes those variables local because I can't call one global from a higher ability in the rotation from a lower or visa verca of the loop. Any help would be appreciated. Or let me know it can't be done and I'll figure out a different creative solution.