laakerules
2012-01-02 10:54:53
Anyone have any ideas on how to make it notice if the npc you are attacking has died??
2012-01-02 10:54:53
2012-01-02 11:14:20
2012-01-02 13:07:39
2012-01-02 13:16:29
2012-01-02 16:48:48
2012-01-02 16:57:15
From: laakerulesThis is how I do this in HLR: HLR uses a combination of XP calculation (very accurate, but 26.5 for a goblin) and checking for a Full HP Bar Bitmap (one row bitmap, full red) in vincinity of us. It also checks the minimap for legits. If not, then the full hp bar bitmap is my kill.
Anyone have any ideas on how to make it notice if the npc you are attacking has died??
FullHitBar := BitmapFromString(56, 1, 'meJxjYrdmYMhhYGgCIkaGLgw0iZl' + // bitmap of full red status indicating dead npc // upd. 03-11
'hFjJiYVgIR6wMq+CIg2EjDO3EhTgZDgARhIFHGQZazcRuDQB2WiWA'); // tried assigning lcally, but Simba kept it in mem :(
SetBitmapName(FullHitBar,'FullHitBar');