User Tools

Site Tools


modding:function:objgetequipmentstatus

Discuss this page on this pages TalkPage

objGetEquipmentStatus

Syntax (objGetEquipmentStatus obj equipment)
Arguments obj: The space object to check equipment status on
equipment: The equipment status to check
Returns Status
Category spaceObject functions
Description Used to check the status of ship's internal equipment.

equipment

'Autopilot
'GalacticMap
'FriendlyFireLock
'LRS
'SRS
'SRSEnhancer
'SystemMap
'TargetingComputer
		

status

	
'damaged
'notInstalled
'ready (if installed)

Example

(objGetEquipmentStatus gPlayership 'Autopilot)

Returns 'ready if autopilot is installed on the playership.

Return to Space Object functions list

Return to functions list

modding/function/objgetequipmentstatus.txt · Last modified: 2017/02/04 07:13 by xephyr