Background for Skyrim SE
Member of the Actor script
voidfunctionKillEssential(ActorakKiller=NONE)

Description

Wiki Description

Kills this actor with the passed-in actor being the culprit, even if he is essential.

Documentation Comment

Kills this actor even if essential


Caveats

CK Wiki - Notes

  • KillEssential() does not work for essential actors whose actor base is not flagged as Unique.
  • This function does not work if the NPC has been made essential by virtue of being in an alias with the Essential flag.

Parameters

ActorakKiller=NONE

CK Wiki Description

The Actor who is the guilty party in killing this one.


Examples

; Have the dragon kill the important person, even if essential
ImportantPerson.KillEssential(Dragon)

Auto-Generated Example

Actor myActor__akKiller

myActor__toCallFunctionOn.KillEssential(myActor__akKiller)

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.