IsArrestingTarget - Actor

Member of: Actor Script

Returns whether this actor is currently arresting his target. Will always return false if called on a non-guard, or called on a non-alerted guard.

SyntaxEdit

bool Function IsArrestingTarget() native

ParametersEdit

None.

Return ValueEdit

Whether the actor is currently arresting his target.

ExamplesEdit

; Has this guard arrested someone?
if Guard.IsArrestingTarget()
  Debug.Trace("We caught him!")
endIf

See AlsoEdit