How would I write a function that would check to see if an npc is currently in combat or not? Please help because for the life of me can not seem to figure it out.
![]()
How would I write a function that would check to see if an npc is currently in combat or not? Please help because for the life of me can not seem to figure it out.
![]()
When you found the coordinates of the npc, check if the colors of a health bar can be found above it.
Working on: Tithe Farmer
I really do not understand that.
![]()
This function returns the location of all the HP bars on screen, you could use it to find an NPC without one...
Simba Code:Function ReturnHPBars : array of TPoint;
Var
P1, P2 : array of TPoint;
RedOnRight, AllGreen : integer;
begin
RedOnRight := DTMFromString('m6wAAAHic42ZgYDgHxJux4FdYcA0QVwFxNZRdC8R1OMSs2ZkYGDQYMDBIHB3/ZyAeMJKAkQAATQ0RqQ==');
AllGreen := DTMFromString('m6wAAAHic42ZgYDgHxJux4FdYcA0QVwFxNZRdC8R1OMSs2ZkYGDQYiML/GYgHjCRgJAAAD8gRHQ==');
FindDTMs(RedOnRight, P1, MSX1, MSY1, MSX2, MSY2);
FindDTMs(AllGreen, P2, MSX1, MSY1, MSX2, MSY2);
CombineTPAWrap(P1, P2, Result);
FreeDTM(RedOnRight);
FreeDTM(AllGreen);
end;
Thank you so much, do I have permission to add this to my script?
Ok, thank you very much.
![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)