Function; GetShipId - HWRM/KarosGraveyard GitHub Wiki
GetShipId(<sShipType>)
Returns the identifying number of <sShipType>.
Note: Returns the number, 3437363409
, if the given ship type does not exist. -Grey_Ghost
if (Stats_ShipsCreated(g_playerID, GetShipId("Hgn_Interceptor")) >= 5) then
...code...
end
Note: this is it being used in Mission 1 to determine if you've built at least 1 Squadron interceptors. -Grey_Ghost
<sShipType>: the type of ship.
SCAR (SCripting at Relic) Reference
Updated Formatting? Initial
Updated for HWRM? Initial