Background for Fallout 4

WSFWIdentifier


Inheritance Tree

No indexed scripts extend this script.

Structs
Properties
Events
Functions
stringfunctionGetReferenceName(ObjectReferenceref)NativeGlobal
boolfunctionResetPowerGrid(ObjectReferenceworkshop_ref)NativeGlobal

Completely deletes all power grids of a settlement. Recommended to use for settlements that are to be scrapped entirely.

WSFWIdentifier:PowerGridStatisticsfunctionCheckAndFixPowerGridWithFilter(ObjectReferenceworkshop_ref, intfixerrors, int[]gridFilter)NativeGlobal

[DEV SERVER] Loading description...

WSFWIdentifier:PowerGridStatisticsfunctionCheckAndFixPowerGrid(ObjectReferenceworkshop_ref, intfixerrors)Global

[DEV SERVER] Loading description...

boolfunctionScanPowerGridWithFilter(ObjectReferenceworkshop_ref, int[]gridFilter)NativeGlobal

Checks errors of settlement power grids. Takes an array of power grid indices as a filter parameter. Logs results.

boolfunctionScanPowerGrid(ObjectReferenceworkshop_ref)Global

Checks errors of settlement power grids. Logs results.

intfunctionGetPowerGridCount(ObjectReferenceworkshop_ref)NativeGlobal

Gets the number of power grids of a settlement.

int[]functionGetGoodPowerGridIndices(ObjectReferenceworkshop_ref)NativeGlobal

Gets the indices of good power grids of a settlement.

int[]functionGetBadPowerGridIndices(ObjectReferenceworkshop_ref)NativeGlobal

Gets the indices of bad power grids of a settlement.

int[]functionGetInvalidNodeFormIDs(ObjectReferenceworkshop_ref)NativeGlobal

Gets the FormIDs of all invalid power nodes.

int[]functionRemoveNodesFromPowerGrid(ObjectReferenceworkshop_ref, int[]iFormIDs)NativeGlobal

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.

boolfunctionRemoveExistingObjectFromPowerGrid(ObjectReferenceworkshop_ref, ObjectReferenceakRefToRemove)Global

Removes the power node of an existing Object Reference from all power grids. This is mostly for testing purposes.

intfunctionGetPowerGridIndexForObject(ObjectReferenceworkshop_ref, ObjectReferencerefObject)NativeGlobal

Gets the index of the power grid of an existing settlement object. Returns a negative number on errors.

voidfunctionTestPowerGridFunctions(ObjectReferenceworkshop_ref, ObjectReferenceakRefToRemove)Global
stringfunctionGetFormIDHex(intthisFormID, boollightMaster=false)Global

convenience functions for the test function

intfunctionGetModIndex(intaiFormID, boollightMaster=false)Global
stringfunctionDecToHex(intn, intlngth=8)Global
intfunctionMod(inta, intb)Global
Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.