IsInInterior - ObjectReference

From Creation Kit
Jump to: navigation, search

Member of: ObjectReference Script

Checks to see if this object is in an interior cell.

Syntax

bool Function IsInInterior()

Parameters

None

Return Value

Returns true if the object is in an interior cell.

Examples

; Is the box in an interior?
if Box.IsInInterior()
  Debug.Trace("Box is inside!")
endIf

See Also