IsArrestingTarget - Actor

From the Fallout4 CreationKit Wiki
Revision as of 14:37, 10 May 2010 by imported>Plplecuyer (Created page with 'Category:Scripting Category:Papyrus '''Member of:''' Actor Script Returns whether this actor is currently arresting his target. Will always return false if called on…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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]