Kill - Actor
Jump to navigation
Jump to search
Member of: Actor Script
Kills this actor with the passed-in actor being the culprit.
Syntax[edit | edit source]
Function Kill(Actor akKiller = None) native
Parameters[edit | edit source]
- akKiller: The Actor who is the guilty party in killing this one.
- Default: None
Return Value[edit | edit source]
None.
Examples[edit | edit source]
; Have the dragon kill the poor sod
PoorSod.Kill(Dragon)
Notes[edit | edit source]
- 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.