blackchaos Administrator
Number of posts : 137 Age : 41 Location : London,England Registration date : 2008-07-23
| Subject: Variables July 27th 2008, 5:05 pm | |
| http://uk.youtube.com/watch?v=xmSrR90vOxA
this is a basic variable tutorial, but ill show you another example its more advanced
[state 2500] type = VarSet trigger = p2bodydist X = [0,75] v = 10 value = 1
this means variable 10 = 1 when player 2 is between 0 and 75 pixels away from player 1 | |
|
JozoTheBoogey MO Founder
Number of posts : 396 Age : 33 Location : Bosnia & Herzegowina Registration date : 2008-07-08
| Subject: Re: Variables July 27th 2008, 7:07 pm | |
| what exatctly are these Variables for? | |
|
blackchaos Administrator
Number of posts : 137 Age : 41 Location : London,England Registration date : 2008-07-23
| Subject: Re: Variables July 27th 2008, 8:12 pm | |
| for use of AI or quick coding
say if you made a move that can only be done a certain distance away then youd type it the long way or use a variable for quick access, like the one above, var(10) | |
|