Background for Fallout 4
Member of the Cell script
boolfunctionIsInterior()Native

Description

Wiki Description

Returns whether this cell is an interior cell or not.

Documentation Comment

Is this cell an interior cell?


Caveats

CK Wiki - Notes

  • Be careful when using myObject.GetParentCell().IsInterior() because if myObject enters an unloaded exterior cell, this will create errors because GetParentCell() returns NONE if in an unloaded exterior. Instead, consider using: myObject.ObjectReference.IsInInterior()

Examples

; Is the water park cell an interior cell?
if (WaterParkProperty.IsInterior())
  Debug.Trace("It's an indoor water park")
endIf

Auto-Generated Example

bool returnedValue = myCell__toCallFunctionOn.IsInterior()

Related Pages


Additional References

View this function’s page on the Fallout 4 Creation Kit Wiki

Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.