Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MY MACRO. Help my write.
#8
(11-22-2013, 07:05 PM)tem0x43 Wrote: Yes ID monster and player is 99 and which i get by using Creature.ByName return own ID. But i want know only why dosn't work c:=(k-z). Why don't return: ...-2..-1..0..1.2..., and always return 0?

becouse if you want to make any mathematical operations you need to use :
Code:
VarAdd(Name, Value) Increase the variable value by a given value

Inc(Name, Value) Increase the variable value by a given value

VarSub(Name, Value) Decrease the variable value by a given value

Dec(Name, Value) Decrease the variable value by a given value

VarMult(Name, Value) Multiplies the variable value by the given value

Mult(Name, Value) Multiplies the variable value by the given value

VarDiv(Name, Value) Divides the variable value by the given value

Div(Name, Value) Divides the variable value by the given value

VarMod(Name, Value) Returns the modulos remainder of the Variable by the Value

Mod(Name, Value) Returns the modulos remainder of the Variable by the Value


Messages In This Thread
MY MACRO. Help my write. - by tem0x43 - 11-22-2013, 01:17 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)