IsArrested - Actor

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)

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