IsInScene - Actor

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: Actor Script

Is this actor currently in a scene?

Syntax[edit | edit source]

bool Function IsInScene() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

Whether this actor is currently in a scene or not.

Examples[edit | edit source]

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

See Also[edit | edit source]