IsLoaded - Cell

From Creation Kit
Jump to: navigation, search

Member of: Cell Script

Returns whether this cell is currently loaded or not. (In the loaded area or preloaded)

Syntax

bool Function IsLoaded() native

Parameters

None.

Return Value

Whether this cell is loadedor not

Examples

; Is the parent cell preloaded?
if (parentCell.IsLoaded() && !parentCell.IsAttached())
  Debug.Trace("The parent cell is pre-loaded")
endIf

See Also