Portid

From Vendetta Lua
Revision as of 11:00, 28 March 2023 by Draugath (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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