OnInput
Revision as of 00:17, 9 May 2015 by Horikawa otane (talk | contribs) (Created page with "Category: LunaDLL Category: Autocode Commands ==Prototype== OnInput,-,BUTTON,TAPPED?,EVENT,Active time,- ==Description== Activates EVENT when BUTTON is pressed. If TA...")
Prototype
OnInput,-,BUTTON,TAPPED?,EVENT,Active time,-
Description
Activates EVENT when BUTTON is pressed. If TAPPED is set, it only activates the first frame that the player pressed the button and won't again until they let go and press again.
Notes
BUTTON can be one through 6
1 = UP 2 = DOWN 3 = LEFT 4 = RIGHT 5 = RUN 6 = JUMP
TAPPED = 0 = Activate when holding the button TAPPED = 1 = Activate ONLY when first pressing the button
Examples
// Activate event #1000 when you tap jump
OnINput,0,6,1,1000,0,0