05-02-2009, 01:01 AM
rep
,rep 2
,,rep 25 ;; Main loop
,,,key+ w
,,,key+ c
,,,key r
,,,2
,,,key 1
,,,rep 15
,,,,lef
,,,,2
,,,1
,,,key- w
,,,key+ s
,,,0.1
,,,key- s
,,,key- c
,,,1
,,,key r
,,,2
,,,key 5
,,,2
,,,lef
,,,100
,,,key w
,,,3
,,key 7 ;; Key pressed to change to 2nd weapon
,,1
,key 8 ;; Key pressed to change to 3rd weapon
,1I would like to setup an array.
Where if I had 2 weapons it would run the main loop twice or if I had 4 weapons then it would run the main loop 4 times instead of having to stack these unsophisticated loops. I would like the array to allow me to change the amount of times the main loop reps per weapon.
For instance:
key 7; 25
key 8; 20
key 9; 15
key 0; 30
I'm not sure if this is something easily done in QM. Thanks for your help.
