How do I kill an Actor?

Post » Tue Nov 20, 2012 4:15 am

I just looked up the CK Wiki and apparently this is the way to do it Kill(HazelKill akKiller = None)
HazelKill is the Actor property I set up in Papyrus Fragments. The Kill command is part of this...

SetObjectiveCompleted(20)
SetObjectiveDisplayed(30)
Kill(HazelKill akKiller = None)

Should I kill the actor in a seperate stage? Where should I put the script? Is the script correct?

Oops. BTW script doesn't compile with the Kill line added.

Thanks to all.
User avatar
sara OMAR
 
Posts: 3451
Joined: Wed Jul 05, 2006 11:18 pm

Post » Tue Nov 20, 2012 8:07 am

SetObjectiveCompleted(20)SetObjectiveDisplayed(30)HazelKill.Kill()

- Hypno
User avatar
Arrogant SId
 
Posts: 3366
Joined: Sat May 19, 2007 11:39 am

Post » Tue Nov 20, 2012 2:21 pm

Awesome Hypno. Why can't the Wiki just put it like that?
User avatar
Susan Elizabeth
 
Posts: 3420
Joined: Sat Oct 21, 2006 4:35 pm

Post » Tue Nov 20, 2012 2:36 am

Ummm....it does :P

; Have the dragon kill the poor sod
PoorSod.Kill(Dragon)

No probs, good luck with the rest of the mod

- Hypno
User avatar
Andrew Lang
 
Posts: 3489
Joined: Thu Oct 11, 2007 8:50 pm

Post » Tue Nov 20, 2012 3:56 am

Curiousity got me. I noticed the death of the actor and thought "Hang on there's a good plot developing here. What if I had a quest thst required a NPC to eat something which rendered them unconcious for a short time then later they'd be as good as new with no knowledge of what happened." Using the Kill command I can do this but how can I revive them?
User avatar
Teghan Harris
 
Posts: 3370
Joined: Mon Mar 05, 2007 1:31 pm

Post » Tue Nov 20, 2012 4:16 pm

i believe it's:

actor.Resurrect()

Found it from the wiki. :)

http://www.creationkit.com/Resurrect_-_Actor

Good luck with the mod.
User avatar
Alexander Lee
 
Posts: 3481
Joined: Sun Nov 04, 2007 9:30 pm


Return to V - Skyrim