IsInInterior - ObjectReference

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

Member of: ObjectReference Script

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

Syntax[edit | edit source]

bool Function IsInInterior()

Parameters[edit | edit source]

None

Return Value[edit | edit source]

Returns true if the object is in an interior cell.

Examples[edit | edit source]

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

See Also[edit | edit source]