Richo the Dino
Member
So, is ASH a language whereby variables actually store an equation, and work out the current state at the moment?
To put it another way (from the MaxMp.ash script):
Suppose I have full mp...
mpFull = (my_mp() == my_maxmp());
.. and then I script to adventure a few times, casting saucegeyser.
Print ("Do I have full mana?: " + mpFull);
is this gonna work out the current state of MpFull (ie, false), or is it gonna remember the one figured out at the start of the script? I *had* thought that if you wanted a dynamic value, you'd have to use a subroutine.. this question is less about the actual example, more about my understanding of ASH..
Cheers
R
To put it another way (from the MaxMp.ash script):
Suppose I have full mp...
mpFull = (my_mp() == my_maxmp());
.. and then I script to adventure a few times, casting saucegeyser.
Print ("Do I have full mana?: " + mpFull);
is this gonna work out the current state of MpFull (ie, false), or is it gonna remember the one figured out at the start of the script? I *had* thought that if you wanted a dynamic value, you'd have to use a subroutine.. this question is less about the actual example, more about my understanding of ASH..
Cheers
R