IsArrested - Actor

Member of: Actor Script

Returns whether this actor is currently arrested or not.

SyntaxEdit

bool Function IsArrested() native

ParametersEdit

None.

Return ValueEdit

Whether the actor is currently arrested or not.

ExamplesEdit

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

See AlsoEdit