SphereCommunity
NPC corpse, how to define whose? - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: General Help (/Forum-General-Help)
+--- Thread: NPC corpse, how to define whose? (/Thread-NPC-corpse-how-to-define-whose)



NPC corpse, how to define whose? - WRWR - 07-25-2012 08:24 AM

Hi, just want to know if it possible
How to define whose corpse

[TYPEDEF t_corpse]
ON=@DCLICK
IF <it's corpse of c_troll> <--------------how to check it?


RE: NPC corpse, how to define whose? - Khaos - 07-25-2012 08:27 AM

Though wiki doesnt say it, I thought ARGO was the corpse ID. Might be a tiledata value as well.


RE: NPC corpse, how to define whose? - Terrikate - 07-25-2012 09:07 AM

The ID is stored on the property MOREX and AMOUNT in hexadecimal. Try there.


RE: NPC corpse, how to define whose? - Khaos - 07-25-2012 09:14 AM

Thanks Terrikate.


RE: NPC corpse, how to define whose? - Shaklaban - 07-25-2012 09:44 AM

(07-25-2012 08:24 AM)WRWR Wrote:  Hi, just want to know if it possible
How to define whose corpse

[TYPEDEF t_corpse]
ON=@DCLICK
IF <it's corpse of c_troll> <--------------how to check it?

[events e_npc]
on=@DeathCorpse
argo.tag.baseid=<baseid>

here is my solution


RE: NPC corpse, how to define whose? - WRWR - 07-25-2012 12:48 PM

(07-25-2012 09:44 AM)Shaklaban Wrote:  [events e_npc]
on=@DeathCorpse
argo.tag.baseid=<baseid>

here is my solution

Yeah, thanks
im using same way...