darkness99
Member
In my game I will have terrain tag's and each will have a sound. I tried to set up an common event but when I played game it kept playing the noise even though i wasnt moving.
Please help. If you need more info on the problem then here you go.
The Common Event:
Conditional Branch: Variable [0003: Terrain Tag] = Player's Terrain Tag
>Control Variables: [0003: Terrain Tag]== 1
> Play SE: 'terrain_1.ogg', 80, 100
> Wait: 1 frame(s)
>
: Else
>Control Variables: [0003: Terrain Tag]== 2
> Play SE: 'terrain_2.ogg', 80, 100
> Wait: 1 frame(s)
>
: Else
>Control Variables: [0003: Terrain Tag]== 3
> Play SE: 'terrain_3.ogg',80, 100
> Wait: 1 frame(s)
>
: Else
>Control Variables: [0003: Terrain Tag]== 4
> Play SE: 'terrain_4.ogg',80, 100
> Wait: 1 frame(s)
>
:Else
>Control Variables: [0003: Terrain Tag]== 5
> Play SE: 'terrain_5.ogg',80, 100
> Wait: 1 frame(s)
>
:Else
>Control Variables: [0003: Terrain Tag]== 6
> Play SE: 'terrain_6.ogg',80, 100
> Wait: 1 frame(s)
>
: Branch End
I hope this helps!!!
Please help. If you need more info on the problem then here you go.
The Common Event:
Conditional Branch: Variable [0003: Terrain Tag] = Player's Terrain Tag
>Control Variables: [0003: Terrain Tag]== 1
> Play SE: 'terrain_1.ogg', 80, 100
> Wait: 1 frame(s)
>
: Else
>Control Variables: [0003: Terrain Tag]== 2
> Play SE: 'terrain_2.ogg', 80, 100
> Wait: 1 frame(s)
>
: Else
>Control Variables: [0003: Terrain Tag]== 3
> Play SE: 'terrain_3.ogg',80, 100
> Wait: 1 frame(s)
>
: Else
>Control Variables: [0003: Terrain Tag]== 4
> Play SE: 'terrain_4.ogg',80, 100
> Wait: 1 frame(s)
>
:Else
>Control Variables: [0003: Terrain Tag]== 5
> Play SE: 'terrain_5.ogg',80, 100
> Wait: 1 frame(s)
>
:Else
>Control Variables: [0003: Terrain Tag]== 6
> Play SE: 'terrain_6.ogg',80, 100
> Wait: 1 frame(s)
>
: Branch End
I hope this helps!!!