KillEssential - Actor
From Creation Kit
Member of: Actor Script
Kills this actor with the passed-in actor being the culprit, even if he is essential.
Function KillEssential(Actor akKiller = None) ActorBase akActorBase = GetBaseObject() as ActorBase if akActorBase.IsUnique() akActorBase.SetEssential(0) endif Kill(akKiller) endFunction
- akKiller: The Actor who is the guilty party in killing this one.
- Default: None
; Have the dragon kill the important person, even if essential ImportantPerson.KillEssential(Dragon)
- KillEssential() does not work for essential actors whose actor base is not flagged as Unique.