Editors Note: To install an item on a ship you must first add it using ObjAddItem and then use shpInstallItem.
Functions Documentation
View Function Edit Function
Name shpInstallDevice
Syntax (shpInstallDevice ship expression)
Argument List ship: The ship that you want install the device on.
expression: Can take a item struct or an item list pointer. The device to install.
Returns condition: True is successful, Nil otherwise.
Category install, ship
Description Attempts to install the device indicated by the expression. The expression can be an item struct or an item list pointer.
Comment Very important function to allow you to change what is equipped from in code.