Functions Documentation |
|
Name |
itmGetInstallPos |
Syntax |
(itmGetInstallPos item) -> installPos |
Argument List |
item: the itemStruct of the item you want to get the installed position of |
Returns |
number: a number that indicates the installed position |
Category |
1.06, item
|
Description |
Used in conjunction with objSetDevicePos to get the position on the ship the item has been installed on |
Example |
|
Comment |
If a device has been placed at a certain position on the ship (using objSetDevicePos, which can only be used in the items OnInstall event), this function can be used to get that position after the fact |