Functions Documentation
View Function Edit Function
Name objIsDeviceSlotAvailable
Syntax (objIsDeviceSlotAvailable spaceObject)
Argument List spaceObject: The space object you want to see if it has a device slot available.
Returns condition: True if the space object has a device slot available. Nil otherwise.
Category spaceobject, condition query
Description Returns if the space object has a device slot available.
Example
(objIsDeviceSlotAvailable gplayership)

Returns if the player ship have a device slot available.
Comment Basic conditional query for space objects. Device slots are only used for the player ship currently.