Hi,
im trying to edit and improve some CS file, im not experienced at all but heres it
The above code checks if key "1@" is pressed, if yes it jumps to BLAH_127
i want if key_pressed 1@ jump to BLAH_127
else if key_pressed 2@ jump to BLAH_128
here's my attempt that doesnt work :bawww:
im trying to edit and improve some CS file, im not experienced at all but heres it
Code:
:BLAH_104
wait 0
0AB0: key_pressed 1@
else_jump @BLAH_104
jump @BLAH_127
:BLAH_127
The above code checks if key "1@" is pressed, if yes it jumps to BLAH_127
i want if key_pressed 1@ jump to BLAH_127
else if key_pressed 2@ jump to BLAH_128
here's my attempt that doesnt work :bawww:
Code:
:BLAH_104
wait 0
0AB0: key_pressed 1@
else_jump @BLAH_104
jump @BLAH_127
0AB0: key_pressed 2@
else_jump @BLAH_104
jump @BLAH_128
:BLAH_127
etc
:BLAH_128
etc