The WSFWIdentifier script is a part of Fallout 4’s Papyrus scripting ecosystem. This script is not present in the vanilla game, but can be found in modded sources like Workshop Framework (Workshop Framework).
For this script, the Papyrus index knows about:
- 19 functions
- 1 struct
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
- Found in:
- Workshop Framework
- Found in:
- Workshop Framework
- Found in:
- Workshop Framework
Completely deletes all power grids of a settlement. Recommended to use for settlements that are to be scrapped entirely.
- Found in:
- Workshop Framework
WSFWIdentifier:PowerGridStatisticsfunctionCheckAndFixPowerGridWithFilter(ObjectReferenceworkshop_ref, intfixerrors, int[]gridFilter)NativeGlobalChecks and optionally fixes errors of settlement power grids. Takes an array of power grid indices as a filter parameter. Returns statistics data in PowerGridStatistics struct. Logs results.
fixerrors = 0 - check settlement for power grid errors, but don't fix anything
fixerrors = 1 - check settlement for power grid errors, and fix errors by removing bad power grids entirely (not recommended legacy feature)
fixerrors = 2 - check settlement for power grid errors, and fix errors by cleaning bad power grids by removing invalid power nodes only (recommended)- Found in:
- Workshop Framework
WSFWIdentifier:PowerGridStatisticsfunctionCheckAndFixPowerGrid(ObjectReferenceworkshop_ref, intfixerrors)GlobalChecks and optionally fixes errors of settlement power grids. Returns statistics data in PowerGridStatistics struct. Logs results.
fixerrors = 0 - check settlement for power grid errors, but don't fix anything
fixerrors = 1 - check settlement for power grid errors, and fix errors by removing bad power grids entirely (not recommended legacy feature)
fixerrors = 2 - check settlement for power grid errors, and fix errors by cleaning bad power grids by removing invalid power nodes only (recommended)- Found in:
- Workshop Framework
Checks errors of settlement power grids. Takes an array of power grid indices as a filter parameter. Logs results.
- Found in:
- Workshop Framework
Checks errors of settlement power grids. Logs results.
- Found in:
- Workshop Framework
Gets the number of power grids of a settlement.
- Found in:
- Workshop Framework
Gets the indices of good power grids of a settlement.
- Found in:
- Workshop Framework
Gets the indices of bad power grids of a settlement.
- Found in:
- Workshop Framework
Gets the FormIDs of all invalid power nodes.
- Found in:
- Workshop Framework
Removes power nodes from all power grids by a list of FormIDs. Note that the reason it takes FormIDs instead of Object References is because most of the times these objects don't exist in the game anymore.
- Found in:
- Workshop Framework
boolfunctionRemoveExistingObjectFromPowerGrid(ObjectReferenceworkshop_ref, ObjectReferenceakRefToRemove)GlobalRemoves the power node of an existing Object Reference from all power grids. This is mostly for testing purposes.
- Found in:
- Workshop Framework
intfunctionGetPowerGridIndexForObject(ObjectReferenceworkshop_ref, ObjectReferencerefObject)NativeGlobalGets the index of the power grid of an existing settlement object. Returns a negative number on errors.
- Found in:
- Workshop Framework
- Found in:
- Workshop Framework
convenience functions for the test function
- Found in:
- Workshop Framework
- Found in:
- Workshop Framework
- Found in:
- Workshop Framework
