Kill - Actor

Revision as of 11:31, 15 April 2020 by imported>Rasikko (→‎Notes: typos)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.

See AlsoEdit