Caveats
CK Wiki - Notes
- Calling this function on an alias, who has the protected flag set, will cause the alias to enter an infinite bleedout state when "killed". A workaround is to pass the player as akKiller.
- A game crash is possible if Kill() is called a significant amount of times in a short period on eg spawned actors. Around 15-25 times usually triggers it. If you find this is happening, a workaround is to cause damage to the actor in excess of their health with eg...
self.DamageAV("Health", 5000.0)
Parameters
Examples
No human-generated examples found for this function.
Auto-Generated Example
Actor myActor__akKiller
myActor__toCallFunctionOn.Kill(myActor__akKiller)Related Pages
- Actor
- Actor.KillEssential(...)
- Actor.KillSilent(...)
- Actor.OnDeath(...)
