EncounterZone Script

From the Fallout4 CreationKit Wiki
Revision as of 22:32, 21 October 2017 by imported>Qazaaq (see also)
Jump to navigation Jump to search

Extends: Form Script

Editor: Encounter Zone

Script for the manipulation of encounter zones.

Definition

ScriptName EncounterZone extends Form Native Hidden

Properties

None

Global Functions

None

Member Functions

  • int Function CountActors(Keyword apRequiredLinkedRefKeyword, Keyword apExcludeLinkedRefKeyword)
    • Counts the number of promoted/persistent actors associated with this encounter zone.
  • Actor[] Function GetActors(Keyword apRequiredLinkedRefKeyword, Keyword apExcludeLinkedRefKeyword)
    • Gets an array of the promoted/persistent actors associated with this encounter zone.
  • Function Reset()
    • Flags this encounter zone for reset on next load.

F4SE Functions

  • Location Function GetLocation()
    • Gets the location for this encounter zone.
  • Function SetLocation(Location akLoc)
    • Sets the location for this encounter zone.
  • int Function GetRank()
    • Gets the rank for this encounter zone.
  • Function SetRank(int rank)
    • Sets the rank for this encounter zone.
  • int Function GetMinLevel()
    • Gets the minimum level for this encounter zone.
  • Function SetMinLevel(int level)
    • Sets the minimum level for this encounter zone.
  • int Function GetMaxLevel()
    • Gets the maximum level for this encounter zone.
  • Function SetMaxLevel(int level)
    • Sets the maximum level for this encounter zone.
  • bool Function IsNeverResetable()
    • Gets whether this encounter zone can be reset or not.
  • Function SetNeverResetable(bool resetable)
    • Sets whether this encounter zone can be reset or not.
  • bool Function IsWorkshop()
    • Gets whether this encounter zone has workshop enabled or not.
  • Function SetWorkshop(bool ws)
    • Sets whether this encounter zone has workshop enabled or not.

Events

None

See Also