IsArrested - Actor

From the CreationKit Wiki
Revision as of 13:36, 10 May 2010 by imported>Jlundin (Created page with 'Category:Scripting Category:Papyrus '''Member of:''' Actor Script Returns whether this actor is currently arrested or not. == Syntax == <source lang="papyrus"> bool…')
(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 arrested or not.

Syntax[edit | edit source]

bool Function IsArrested() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

Whether the actor is currently arrested or not.

Examples[edit | edit source]

; Is the criminal currently arrested?
if Criminal.IsArrested()
  Debug.Trace("We caught him!")
else
  Debug.Trace("He went free!")
endIf

See Also[edit | edit source]