Background for Fallout 4

The EncounterZone Script

    The EncounterZone script is a part of Fallout 4’s Papyrus scripting ecosystem. It is included with the base game, and is extended/modified by modded sources such as Fallout 4 Script Extender (F4SE).

    For this script, the Papyrus index knows about:

    • 15 functions


    Inheritance Tree

    No indexed scripts extend this script.

    Structs

    The Papyrus Index is still under construction. Structs have not been implemented yet.

      Properties

      No properties found.

        Events

          No events found.

        Functions

        • intfunctionCountActors(KeywordapRequiredLinkedRefKeyword=NONE, KeywordapExcludeLinkedRefKeyword=NONE)Native

          Gets the number of instantiated Actors (across all process levels) who belong to this encounter zone. Skips over dead, disabled, or deleted actors. Can optionally specify keywords for a linkedref that they MUST have, and/or a linkedref they must NOT have.

        • Actor[]functionGetActors(KeywordapRequiredLinkedRefKeyword=NONE, KeywordapExcludeLinkedRefKeyword=NONE)Native

          Gets an array of instantiated Actors (across all process levels) who belong to this encounter zone. Skips over dead, disabled, or deleted actors. Can optionally specify a keyword they MUST have, and/or a keyword they must NOT have.

        • voidfunctionReset()Native

          Flags this encounter zone for reset on next load.

        • LocationfunctionGetLocation()Native

          Gets the location for this encounter zone.

        • voidfunctionSetLocation(LocationakLoc)Native

          Sets the location for this encounter zone.

        • intfunctionGetRank()Native

          Gets the rank for this encounter zone.

        • voidfunctionSetRank(intrank)Native

          Sets the rank for this encounter zone.

        • intfunctionGetMinLevel()Native

          Gets the minimum level for this encounter zone.

        • voidfunctionSetMinLevel(intlevel)Native

          Sets the minimum level for this encounter zone.

        • intfunctionGetMaxLevel()Native

          Gets the maximum level for this encounter zone.

        • voidfunctionSetMaxLevel(intlevel)Native

          Sets the maximum level for this encounter zone.

        • boolfunctionIsNeverResetable()Native

          Gets whether this encounter zone can be reset or not.

        • voidfunctionSetNeverResetable(boolresetable)Native

          Sets whether this encounter zone can be reset or not.

        • boolfunctionIsWorkshop()Native

          Gets whether this encounter zone has workshop enabled or not.

        • voidfunctionSetWorkshop(boolws)Native

          Sets whether this encounter zone has workshop enabled or not.

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