#Multiple Commands on one push button

1 messages · Page 1 of 1 (latest)

spring galleon
#

Hello, I am trying to write two commands for one Push button. For example i would like to put both th FWD and Aft fuel pumps for the MD82 on the same push button. I have the event codes and the work individually. How do i write both of them in the Show Preset window to work at the same time?

visual gust
#

are you currently usign the lvars?

spring galleon
#

No

#

536870912 8 + (>L:overhead_event,number)
536870912 11 + (>L:overhead_event,number)

#

maybe

visual gust
#

yeah thats the event lvars which cannot process multiple inputs at once. you need to use the custom events from the maddog sdk

spring galleon
#

ok thanks, i will research the Custom Events I'm not a programmer but learning fast. Thanks for the help.

visual gust
#

to get you started the left pumps would be this
on 1 '69842' (>F:KeyEvent) 1 '69848' (>F:KeyEvent) off 0 '69842' (>F:KeyEvent) 0 '69848' (>F:KeyEvent)

spring galleon
#

great thanks

mint aurora
#

or do two input configs for the same switch

spring galleon
#

Were did you find the the event number (69842) i cant find anything that has only 5 digits