Portid

From Vendetta Lua
Jump to: navigation, search

An integer identifying a port on a ship.

Usually the numbering is made up the following way. 1: power cell port 2 .. n: small port weapon ports. n+1 .. m: large weapon ports

To get the type of port and other information Function_Index#GetActiveShipPortInfo function can be used.

See:

Function_Index#ConnectAddon

Function_Index#DisconnectAddon

Function_Index#GetActiveShipItemIDAtPort

Function_Index#GetActiveShipPortIDOfItem

Function_Index#GetActiveShipPortInfo

Function_Index#GetShipPortIDOfItem