Discuss this page on this pages [[objChangeEquipmentStatus Talk Page|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 | Use for changing various equipment statuses, such as installing/removing targeting program, blinding SRS, etc. ^ Equipment ^ Command ^ | 'Autopilot | 'install | | ::: | 'remove | | 'GalacticMap | 'install | | ::: | 'remove | | FriendlyFireLock | 'install | | ::: | 'remove | | LRS | none | | SRS | 'damage | | ::: | 'repair | | SRSEnhancer | 'install | | ::: | 'remove | | SystemMap | none | | TargetingComputer | 'install | | ::: | 'remove | === Example === (objChangeEquipmentStatus gPlayerShip 'TargetingComputer 'install) Installs a targeting program on the playership. Return to [[modding:function:spaceObject_functions|Space Object functions]] list Return to [[modding:functions:]] list