IsArrestingTarget - Actor

From Creation Kit
Jump to: navigation, search

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.

Syntax

bool Function IsArrestingTarget() native

Parameters

None.

Return Value

Whether the actor is currently arresting his target.

Examples

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

See Also