- Found in:
- Vanilla
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)