Jump to content

Dead vs. Gone


Alastair

Recommended Posts

I have two dependent NPCs which must always be together. If one dies, the other leaves the party. The problem is, I only want that to happen when one of the two NPCs cannot be raised by normal means; ie: they're gone.

 

I tried the logical thing:

 

IF Dead("SoS_Illiana")
  !InParty("SoS_Illiana")
THEN
//...

 

And that didn't work. Whether she was dead or gone, the result was the same. I've tried a few other combinations, including StateCheck(STATE_DEAD), HPLT(0), and Exists(), and so far nothing works. Is there a way to determine whether or not an NPC is dead or gone, or is it all the same to the IE?

 

Thanks!

Link to post

Couple of things to check if a person is really really dead, generally by complete chunking as a result of the excessive damage from the damage types.

 

STATE_STONE_DEATH

STATE_FROZEN_DEATH

STATE_EXPLODING_DEATH

STATE_FLAME_DEATH

STATE_ACID_DEATH

Link to post
Couple of things to check if a person is really really dead, generally by complete chunking as a result of the excessive damage from the damage types. 

 

STATE_STONE_DEATH

STATE_FROZEN_DEATH

STATE_EXPLODING_DEATH

STATE_FLAME_DEATH

STATE_ACID_DEATH

 

This almost works, except when the character dies, and later is removed from the party. She's gone, but didn't die from any of the horrible deaths.

Link to post

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...