Jump to content

Recommended Posts

Posted

So I am trying to bind Laser arm to a toggle switch. I made this code but it doesn't work could someone tell me whats wrong with it this is my first time coding

{	down = sms_commands.LaserSw,					up = sms_commands.LaserSw, 				        cockpit_device_id = devices.SMS, 				value_down =  0.0,	value_up = 1.0, name = _('LASER ARM Switch - AMS'), 												category = {_{'Special For Joystick'), _('Instrument Panel')}}, 

Posted (edited)

I finally fixed it here is the correct code

{ down = sms_commands.LaserSw, up = sms_commands.LaserSw, cockpit_device_id = devices.SMS, value_down = 1.0, value_up = 0.0, name = _('LASER ARM Switch - AMS'), category = {_('Special For Joystick'), _('Instrument Panel')}},

Edited by llOPPOTATOll
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...