Background for Skyrim SE
Member of the ObjectReference script
boolfunctionIsInInterior()

Description

Wiki Description

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

Documentation String

Returns !IsInExterior()

Documentation Comment

jduvall


Caveats

CK Wiki - Notes

  • This function will return false for the various interior cells in certain worldspaces due to those being classified by the game engine as being exteriors. See talk page for workaround.

Examples

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

Auto-Generated Example

bool returnedValue = myObjectReference__toCallFunctionOn.IsInInterior()

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.