J
JDSTIGER
Guest
So on this code it plays a sound once the object reaches an area, but it won't play. I also have one that it plays a sound on death but it also didnt play.
Code:
if (state = 1) {
var fallplus = 0.25;
fallspeed += fallplus;
if (rotation > 270) {
rotation -= fallspeed;
sound_play (snd_point)
} else {
rotation = 270;
state = 2;
}
}