Kill - Actor
Member of: Actor Script
Kills this actor with the passed-in actor being the culprit.
SyntaxEdit
Function Kill(Actor akKiller = None) native
ParametersEdit
- akKiller: The Actor who is the guilty party in killing this one.
- Default: None
Return ValueEdit
None.
ExamplesEdit
; Have the dragon kill the poor sod
PoorSod.Kill(Dragon)
NotesEdit
- 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.