• Hey! Guest! The 39th GMC Jam will take place between November 26th, 12:00 UTC and November 30th, 12:00 UTC. Why not join in! Click here to find out more!

Windows RPG text sound typewriter typing problem[SOLVED]

F

Falconsoft-Industries

Guest
Ok I'm using game maker studio 1 and the text types fine but I'm using timelines to check when it has stopped to stop the sound and mugshot, and players have complained that the sound is beeping when the text has stopped typing, so I came here to ask if the following code will fix this and replace the need of timelines so here's my suggested code in step event of Obj_message_box1:
If written.string_length <str.string_length
{
sound_play(sfx_beep)
}
Else
{
sound_stop_all()
}
 
Last edited by a moderator:
F

Falconsoft-Industries

Guest
I suppose I could call the following code in the create event:
Repeat(str.string_length)
{
sound_play(sfx_beep)
}
My question however is whether or not this will work without throwing a error.
If however should it not work I have a alternative solution
Repeat(string_length(string(str)))
{
sound_play(sfx_beep)
}
In alarm event 0
Hmmm... alternative solution solved my problem
 
Last edited by a moderator:
Top