IsArrested - Actor

From Creation Kit
Jump to: navigation, search

Member of: Actor Script

Returns whether this actor is currently arrested or not.

Syntax

bool Function IsArrested() native

Parameters

None.

Return Value

Whether the actor is currently arrested or not.

Examples

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

See Also