08-11-2011, 04:30 PM
Miksu1337 Wrote:Can someone even teach me what is this "var" thing on macro. ye everybody tells me to read wiki but the wiki isn't good at all.. it wont teach me how to use it. Maybe someone can help me?
Var are personal variables, you can use them to store custom values.
You can create a variable on this two ways:
VarSet(MyHP) Self.Health
or
MyHP:= Self.Health
This two ways create a custom variable called MyHP containing the value of Self.Health. You can access that value using this way: !MyHP!
Sample:
MyHP := Self.Health HUD.Display(My Current HP is !MyHP!)