Difference between revisions of "Portid"
From Vendetta Lua
(New page: 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 t...) |
|||
Line 21: | Line 21: | ||
[[Function_Index#GetShipPortIDOfItem]] | [[Function_Index#GetShipPortIDOfItem]] | ||
+ | |||
+ | [[Category:Functions/Values]] |
Latest revision as of 11:00, 28 March 2023
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#DisconnectAddon
Function_Index#GetActiveShipItemIDAtPort
Function_Index#GetActiveShipPortIDOfItem