Background for Skyrim SE

The Cell Script

    The Cell script is a part of Skyrim SE’s Papyrus scripting ecosystem. It is included with the base game, and is extended/modified by modded sources such as Skyrim Script Extender x64 (SKSE).

    For this script, the Papyrus index knows about:

    • 15 functions


    Inheritance Tree

    No indexed scripts extend this script.

    Properties

    No properties found.

      Events

        No events found.

      Functions

      • ActorBasefunctionGetActorOwner()Native

        Gets the ActorBase that owns this cell. Will return None if the cell isn't owned by an actor.

      • FactionfunctionGetFactionOwner()Native

        Gets the Faction that owns this cell. Will return None if the cell isn't owned by a faction.

      • boolfunctionIsAttached()Native

        Returns whether this cell is currently 'attached' or not. (In the loaded area)

      • boolfunctionIsInterior()Native

        Returns whether this cell is an interior cell or not.

      • voidfunctionReset()Native

        Flags this cell for reset on next load.

      • voidfunctionSetActorOwner(ActorBaseakActor)Native

        Sets the actor as the owner of this cell.

      • voidfunctionSetFactionOwner(FactionakFaction)Native

        Sets the faction as the owner of this cell.

      • voidfunctionSetFogColor(intaiNearRed, intaiNearGreen, intaiNearBlue, intaiFarRed, intaiFarGreen, intaiFarBlue)Native

        Sets the near and far fog colors for this cell. Only works in non-sky-lit interiors.

      • voidfunctionSetFogPlanes(floatafNear, floatafFar)Native

        Sets the near and far fog plane distances for this cell. Only works in non-sky-lit interiors.

      • voidfunctionSetFogPower(floatafPower)Native

        Sets the fog power for this cell. Only works in non-sky-lit interiors.

      • voidfunctionSetPublic(boolabPublic=true)Native

        Sets this cell as public or private.

      • intfunctionGetNumRefs(intformTypeFilter=0)Native

        Returns the number of ObjectReferences in the Cell based on the FormType filter. (This function requires SKSE)

      • ObjectReferencefunctionGetNthRef(intn, intformTypeFilter=0)Native

        Returns the ObjectReference at the Nth index in the Cell based on the FormType filter. (This function requires SKSE)

      • floatfunctionGetWaterLevel()Native

        Returns the water level of the cell (-2147483648 if no water)

      • floatfunctionGetActualWaterLevel()Native

        Returns water level of the cell, if default returns water level from worldspace

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