Background for Starfield
Member of the SpaceshipReference script
intfunctionGetPartPower(intaiShipPartID, intaiShipPartIndex)Native

Description

Documentation Comment

Gets the amount of power allocated to a given part
valid aiShipPartIDs 0 - Weapons, 1 - Engine, 2 - Shields, 3 - Gravdrive, 4 - Generator


Caveats


Parameters

intaiShipPartID

intaiShipPartIndex


Examples

Auto-Generated Example

int myInt__aiShipPartID
int myInt__aiShipPartIndex

int returnedValue = mySpaceshipReference__toCallFunctionOn.GetPartPower(myInt__aiShipPartID, myInt__aiShipPartIndex)
Some data provided by the Fallout 4 Creation Kit Wiki. Licensed under the Creative Commons Attribution-Share Alike 4.0 license.