Background for Fallout 4
Member of the WSFWIdentifier script
intfunctionGetPowerGridIndexForObject(ObjectReferenceworkshop_ref, ObjectReferencerefObject)NativeGlobal

Description

Documentation Comment

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


Caveats


Parameters

ObjectReferenceworkshop_ref

ObjectReferencerefObject


Examples

Auto-Generated Example

ObjectReference myObjectReference__workshop_ref
ObjectReference myObjectReference__refObject

int returnedValue = WSFWIdentifier.GetPowerGridIndexForObject(myObjectReference__workshop_ref, myObjectReference__refObject)
Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.