IsInScene - Actor

Member of: Actor Script

Is this actor currently in a scene?

SyntaxEdit

bool Function IsInScene() native

ParametersEdit

None.

Return ValueEdit

Whether this actor is currently in a scene or not.

ExamplesEdit

; Is Bandit currently in a scene?
if Bandit.IsInScene()
  Debug.Trace("The bandit is in a scene")
endIf

See AlsoEdit