User Tools

Site Tools


modding:function:objchangeequipmentstatus

This is an old revision of the document!


Discuss this page on this pages TalkPage

objChangeEquipmentStatus

Syntax (objChangeEquipmentStatus obj equipment command [duration] [options])
Arguments obj: The space object to change equipment status on
equipment: the equipment to alter status on
command: what to set the equipment status to
[duration]: Duration, in ticks, that the status is changed for
[options]: Currently limited to 'noMessage, which does not message the player about the status change.
Returns True if succesful, Nil otherwise
Category spaceObject functions
Description
Equipment Command
'Autopilot 'install
'remove
'GalacticMap 'install
'remove
FriendlyFireLock 'install
'remove
LRS none
SRS 'damage
'repair
SRSEnhancer 'install
'remove
'remove
'remove
'remove
'Autopilot
'GalacticMap
'FriendlyFireLock
'LRS
'SRS
'SRSEnhancer
'SystemMap
'TargetingComputer
		

command

		
		"   'damage\n"
		"   'install\n"
		"   'remove\n"
		"   'repair\n\n"
		

options

		
'noMessage

Example

 

Return to Space Object functions list

Return to functions list

modding/function/objchangeequipmentstatus.1486155359.txt.gz · Last modified: 2017/02/03 20:55 by xephyr