IsArrested - Actor

From the CreationKit Wiki
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]