Question: script line for actor defeat(not death)

Post » Tue Jun 19, 2012 1:45 am

I am making a quest where an objective is to DEFEAT an NPC, not to kill them. Upon defeating the NPC, the quest would update and you go do whatever.


Question: What's the script line used when an actor "goes down"?


I know the other script lines needed to update the quest itself.

Thanks.
User avatar
CYCO JO-NATE
 
Posts: 3431
Joined: Fri Sep 21, 2007 12:41 pm

Post » Tue Jun 19, 2012 4:45 pm

When an http://www.creationkit.com/Actor enters "bleedout mode", the game calls the native event http://www.creationkit.com/OnEnterBleedout_-_Actor on that actor.

Cipscis
User avatar
Paul Rice
 
Posts: 3430
Joined: Thu Jun 14, 2007 11:51 am

Post » Tue Jun 19, 2012 8:45 am

[censored], forgot it was called "bleedout".

Thanks Cipscis
User avatar
Elina
 
Posts: 3411
Joined: Wed Jun 21, 2006 10:09 pm

Post » Tue Jun 19, 2012 3:28 am

You might want to set that actor to be 'Protected' during that Quest. Or else, the player can still kill him
User avatar
Kate Norris
 
Posts: 3373
Joined: Mon Nov 27, 2006 6:12 pm

Post » Tue Jun 19, 2012 9:29 am

You might want to set that actor to be 'Protected' during that Quest. Or else, the player can still kill him

Actually I think you mean essential. I'm pretty sure 'protected' just makes it so only the player can kill that actor.
User avatar
Scott
 
Posts: 3385
Joined: Fri Nov 30, 2007 2:59 am

Post » Tue Jun 19, 2012 4:00 am

Oh yeah, essential :P My bad.
You are right, protected actors can only be killed by player :)
User avatar
Nims
 
Posts: 3352
Joined: Thu Jun 07, 2007 3:29 pm


Return to V - Skyrim