Roflme
2012-11-21 15:05:37
function AdrenalineFull:Boolean; // Returns true if the Adrenaline Bar is full
begin
Result := CountColorTolerance(7333363, 464, 282, 468, 286, 11) > 5;
end; SUPER DUPER SIMPLE AND BASIC! But it's been working for the past few hours of script testing. I'll swap it out with something better once I have time
Basically it finds the brighter yellow color that appears when the adrenaline bar is full.
If you have problems try lowering the tolerance. I'm going to try to play around with the box. At the moment (according to SMART_DrawBox) it takes a small area inside the bar so no other colors on the screen SHOULD interfere.