what about a pattern?
for example, vary the gun sound after 3 times:
gun1.ogg, gun1.ogg, gun1.ogg, gun2.ogg
I guess I can make an array and put "1" in the first 3 and "2" in the last one and cycle through them.. but not sure if that's the best way..
is there way to do:
on Start set counter to 1
if Keyboard = spacebar spawn bullet
if counter < 3
play sound "gun1.ogg"
add 1 to counter
else
play sound "gun2.ogg"
set counter to 1
I've tried to do this, but it won't let me build the syntax like this...