Function; getShipNum - HWRM/KarosGraveyard GitHub Wiki
Retrieves a numeric value for a ship from its associated file in the props folder. Used to assign different values for a ship's properties for the play environment it's loaded in (singleplayer vs multiplayer).
getShipNum(NewShipType, "maxhealth", 280000)
-
<rShipTable>: Reference to the ship; probably
NewShipType
. - <sString>: The name of the property on the ship to override, if an override exists.
- <fFloat>: Default value to use if there's no override present.
Updated Formatting? Yes
Updated for HWRM? Initial