Thread Rating:
  • 1 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MACRO Dec doesn't work?
#5
I'm sure VarSub works so just use this... instead of Dec

Also u need SPACEBAR after ,

For example here is my macro that was throwing on ground certain amount of assassins stars when had less than given cap

[macro]1000 {wywal asski}
X1:=Self.X()
Y1:=Self.Y()
Z1:=Self.Z()
astars:=Misc.ItemCountEx(7386)
icap:=Self.Capacity()
wcap:=185
!icap!<=!wcap!
VarSub(wcap, !icap!)
VarDiv(wcap, 2)
VarAdd(wcap, 1)
Map.Thrown(7368, !wcap!, !X1!, !Y1!, !Z1!)
[/macro]
Reply


Messages In This Thread
MACRO Dec doesn't work? - by Karadoborgu - 07-13-2016, 12:34 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)