hey guys is it possible in some way to make a
play sound[sound1 v] until<something happens>so the sound is long and starts playing, but without repeating itself??
Offline
It's not possible because the program can never know in which amount of time the boolean will become true.
Offline
You can stop all sounds when something happens, change a variable and resume sounds that correspond to the new variable value
Offline
Gravitation wrote:
It's not possible because the program can never know in which amount of time the boolean will become true.
![]()
i mean it starts playing the sound and stops it when something happens
Offline
prokohtu wrote:
Gravitation wrote:
It's not possible because the program can never know in which amount of time the boolean will become true.
![]()
i mean it starts playing the sound and stops it when something happens
Then do what Prestige said. Here, in script form:
when gf clicked play sound [sound v] wait until <> stop all sounds
Offline