API GetActiveShipNumAddonPorts
From Vendetta Lua
Jump to navigationJump to search
GetActiveShipNumAddonPorts
Definition:
GetActiveShipNumAddonPorts() -> int ports
Description:
returns number of ports in active ship
Returns:
ports number of ports, including engine and battery
Example:
<source lang="lua">GetActiveShipNumAddonPorts() -> 4</source>
this ship has 3 ports