Background for Skyrim SE
Member of the ObjectReference script
boolfunctionIsOffLimits()Native

[DEV SERVER] Loading description...


Caveats

CK Wiki - Notes

  • This function will always return false for any furniture that is not a bed.
  • This function runs special-case checks for doors. As of this writing, these checks have not been reverse-engineered in detail, but may include things like ownership checks for the cell that the door leads to.
  • In all other cases, this function runs typical ownership checks, which include things like "is this object owned by a Faction that the player is a member of, with the player's faction rank high enough to grant ownership?"
  • This function is coded to run special-case checks when called on an actor while the player is sneaking. However, these checks are exactly identical to the normal checks run for most objects.

Examples

ObjectReference ErikursBooze boozeRef  Auto  

Function takeButDontSteal()
    If !boozeRef.IsOffLimits()
        boozeRef.Activate(playerRef) ; takes it
    EndIf
EndFunction

Auto-Generated Example

bool returnedValue = myObjectReference__toCallFunctionOn.IsOffLimits()

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.