I was wondering, how could I use variables, because you can change the values in-game... Can someone help me?
You'll have to give a little more details than that.
Wait, you are online? I just found a solution, but now I am dealing with a problem. I just bade a bullet-shooting gun, but when the bullet explodes, it leaves there a Power Zone. Is there a command for disabling the Power Zone afrter the destruction?
Yes.
Self CONST_CREATEPZ 0 SetUnitAttribute
"Self" can be replaced with a unit id, if you know it.
Thanks!
But, I got an idea. If I do if VARIABLENAME=1, will it work?
I'm not sure. Try it. See if compiles. I doubt it though.
Is this what you seek?
<-Variable 1 eq if
#Do something
endif