Help - Search - Members - Calendar
Full Version: Help?
AC Tools Everything Macro > AC Tool Macros > Macro Development
JesseRC
I'm working on a macro when hp get's to red then it pulls out meds and starts healing.
I'm getting this error. If anyone could help i'd appreciate it.

Here is what i have so far.
CODE
setActiveWindow Trinity GunZ

While 1=1

ObjVar 7

Object HPRed
101=0,0|87=0,2|114=0,4|144=0,6|163=0,8|140=0,10
101=2,0|87=2,2|114=2,4|144=2,6|163=2,8|139=2,10
101=4,0|87=4,2|114=4,4|144=4,6|163=4,8|140=4,10
101=6,0|87=6,2|114=6,4|144=6,6|163=6,8|139=6,10
101=8,0|87=8,2|114=8,4|144=8,6|163=8,8|142=8,10
101=10,0|87=10,2|114=10,4|144=10,6|163=10,8|137=10,10
End

IsObject HPRed at 149,47
keydown w 800
keydown 1 9
leftmousedown 20
delay 20
leftmouseup 1
End
End if
Delay 10
Bear
QUOTE(JesseRC @ Jul 21 2009, 06:36 PM) *
I'm working on a macro when hp get's to red then it pulls out meds and starts healing.
I'm getting this error. If anyone could help i'd appreciate it.
Here is what i have so far.
CODE
Object HPRed
101=0,0|87=0,2|114=0,4|144=0,6|163=0,8|140=0,10
101=2,0|87=2,2|114=2,4|144=2,6|163=2,8|139=2,10
101=4,0|87=4,2|114=4,4|144=4,6|163=4,8|140=4,10
101=6,0|87=6,2|114=6,4|144=6,6|163=6,8|139=6,10
101=8,0|87=8,2|114=8,4|144=8,6|163=8,8|142=8,10
101=10,0|87=10,2|114=10,4|144=10,6|163=10,8|137=10,10
End


How are you creating your Object? Are you using the included Macro: IDUnitTest.mac?

Oh, "End IF" is NOT a Valid command.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.