I was wondering how you can make your sprite do two things at the same time. For example making my sprite say meow AND make the sound meow at the same time. When i put it below each other, the actions go in the order place. Please help me!
Offline
to make a sprite say meow and play meow:
when gf clicked play sound [meow v] //not play sound until done say [Meow!] for (whatever you want) secsthis play sound block with no "until done" lets the script continue but still play a sound.
Offline
The way iTweak0r said is probably the best way, but if you don't want that you could also do it this way, with to separate scripts:
when gf clicked say [hi] end when gf clicked play sound [hi] endThat way you would be able to change the sound to
when gf clicked play sound [hi] until done endif you wanted to.
Last edited by shivadas (2013-03-29 19:13:47)
Offline