death.src

Get Help on scripting in POL with configurations, config setups, script trouble shooting, etc.
Post Reply
GEEK
New User
Posts: 29
Joined: Sat Jul 22, 2006 8:25 am

death.src

Post by GEEK »

On NPC death pol execute death.src
death.src report the corpse in "program death(corpse)".
In corpse I have all cprops was on npc before die.
But if npc had member npc.master, corpse also ha corpse.master?
User avatar
CWO
POL Expert
Posts: 1160
Joined: Sat Feb 04, 2006 5:49 pm

Post by CWO »

depending on the way POL handles it.

I wouldnt think it would only because in the POL Class Hierarchy NPC has a .master property that it specifically can get as a POLCLASS_NPC. Since that class isnt a parent class of POLCLASS_CORPSE, corpse doesnt inherit this prop.

Answer in English: Most likely no.
Post Reply