Background for Starfield
Member of the SpaceshipReference script
intfunctionGetPartCount(intaiShipPartID)Native

Description

Documentation Comment

Gets the number of parts of a specific type
valid aiShipPartIDs 0 - Weapons, 1 - Engine, 2 - Shields, 3 - Gravdrive, 4 - Generator


Caveats


Parameters

intaiShipPartID


Examples

Auto-Generated Example

int myInt__aiShipPartID

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