IsArrestingTarget - Actor

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to 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[edit | edit source]

bool Function IsArrestingTarget() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

Whether the actor is currently arresting his target.

Examples[edit | edit source]

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

See Also[edit | edit source]