Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Macro
#1
Heart 
I been trying to do this for a long time.....
Start-Of-Macro

Creatures.ByNameBeside(Corym Vanguard) returned 0
!CorymVanguard! has been set to 0

Creatures.ByNameBeside(Corym Skirmisher) returned 0
!CorymSkirmisher! has been set to 0

Self.Level() returned 69
[True] Self.Level()>=35

Self.Mana() returned 244
[True] Self.Mana()>=115

Self.Health%() returned 88
[True] Self.Health%()>55

VarAdd(CorymVanguard, !CorymSkirmisher!) returned 1
[False] VarAdd(CorymVanguard, !CorymSkirmisher!)>=3
[@] Exit of macro

End-Of-Macro



Why would the macro always return 1 when it adds the 2 values even if its 0 0 it will still be 1, or even if it will be 1 and 2 it will be still 1, any clue why?
#2
0 - false
1 - true

in procesor language
I'm trying HELP You guys, make me favour and press this /\ green button with REP+, this keeping me with helping You.
#3
(04-19-2014, 05:15 PM)mr. Kris Wrote: 0 - false
1 - true

in procesor language


Returno 1 because the function worked, varadd always return 1. The sum result is stored on the first param, varname.
#4
So how would i make the bot execute the script if the calculation of 2 numbers is greater than 3?

(!CorymVanguard!)<=3

something like that ? im not sure :p
#5
bumpbumper???????????????????????????????????
#6
Var1:=Creatures.ByNameRange(Mob1)
Var2:=Creatures.ByNameRange(Mob1)
Sum:=!Var1!
VarAdd(Sum, !Var2!)
!Sum!>=3

Sent using Tapatalk


Forum Jump:


Users browsing this thread: 1 Guest(s)