QUOTE(omfgzord @ Apr 12 2009, 10:59 AM)

QUOTE(Bear @ Apr 11 2009, 09:04 PM)

Posting in more than one forum area, asking the same thing... "someone Make me A MACRO..."
Isn't gonna get you anywhere. There's your 1 min.
I will try do it alone, just need your help a bit.
First thing you need to do is open that screen shot in a Image Editor and find the Starting/Ending Pixils for your Health(Red) and Mana(Blue) bars, Reason i say the start and stop is you wanted 30 & 20%'s. I guess you could guess on were 20 & 30 are on the bar or we can use the
Compute function. The Bars are the Same length, do they stay the same length as your character advances in level? So you just Need to get the Start(Dead_X) / Stop(Full_X) for one Bar, then use something like Red_Y & Blue_Y.
Ok, Once you have the Start (Dead_X) and the End (Full_X) time for some Math. Before we get too deep in makeing the macro, let's make sure ACTool can interact with your game.
Ok so, with a hand calculator, piece of paper or in your head, Figure out this out:
Full_X - Dead_X = Var1, (Make sure Var1 is a Whole Number)
there's a Compute function that can do it on the fly but we get back to that, Var1 / 10 = Var2, Var2 * 2 = Var3, Var3 + Dead_X = Red_X.
Then try this simple Code: lol Be sure to fill in the Red_X and Red_Y from your findings.

CODE
SetActiveWindow Element Client
Delay 10 sec
Constants
Red_X =
Red_Y =
Var1 = 0
Var2 = 0
End
delay 1000
Compute Var1 = $Red_X + 30
Compute Var2 = $Red_X + 120
Procedure MM using X //Move Mouse
MousePos $X,$Red_Y
Delay 500
End
Loop 5
Call MM $Var1
Call MM $Red_X
Call MM $Var2
End
LoadRGB $Red_X,$Red_Y
Timestamp What are my Values? Red ( {RGBRed} ), Green ( {RGBGreen} ), Blue ( {RGBBlue} )
Then look in the Test Log Tab after the macro finishes, the values inside the ()
HAVE to be Greater than Zero(0), If they're Zero, actool isn't loading the Color.