Global variable

Post » Mon Jun 18, 2012 11:57 pm

Hi all, how can I recognize in a quest if an npc is died or not (to make various conditions)? Thanks.
User avatar
Jennifer May
 
Posts: 3376
Joined: Thu Aug 16, 2007 3:51 pm

Post » Mon Jun 18, 2012 11:06 am

YourActorACHR.http://www.creationkit.com/IsDead_-_Actor
User avatar
Portions
 
Posts: 3499
Joined: Thu Jun 14, 2007 1:47 am

Post » Mon Jun 18, 2012 1:30 pm

YourActorACHR.http://www.creationkit.com/IsDead_-_Actor

Doesn't work in quest stages fragments and I can't fin it in the list of conditions of conversations.
User avatar
Amber Hubbard
 
Posts: 3537
Joined: Tue Dec 05, 2006 6:59 pm

Post » Mon Jun 18, 2012 5:31 pm

Try writing a script, attaching it to the quest (not a fragment) and create a quest stage to use when the actor is dead. When IsDead returns true (or, better, use an http://www.creationkit.com/OnDeath_-_Actor event) to trigger a SetStage to the new quest stage that happens only when the NPC has died. Hopefully that will work. (My papyrus-fu is not strong yet)
User avatar
Angus Poole
 
Posts: 3594
Joined: Fri Aug 03, 2007 9:04 pm


Return to V - Skyrim