UltimateSonic Posted October 14, 2006 Report Share Posted October 14, 2006 Okay. At the end of my level when it starts calculating the end score, it constantly subtracts 50 from the bonus amount and adds 50 to the score. Now, I wanted a sound to be looped while this was happening so I told it to play a sample every 00"-15. This works, but it waits 15 1/100 of seconds until it starts the looping process. Is there a way to work around this? Thanks =) Link to comment Share on other sites More sharing options...
LarkSS Posted October 14, 2006 Report Share Posted October 14, 2006 Simple. When the sound is to start, have it 'only one action when event loops' play the sample. That'll cause it to play it once right away and then play it for the looped amount. Link to comment Share on other sites More sharing options...
UltimateSonic Posted October 14, 2006 Author Report Share Posted October 14, 2006 Ah that didn't work... Maybe you are misunderstanding what I am describing? Here is a screenshot: Since it executes every 00"-15, it pauses for 15 1/100 of seconds until it starts the looping process. I hope I described it better now =) Link to comment Share on other sites More sharing options...
LarkSS Posted October 14, 2006 Report Share Posted October 14, 2006 ...That's exactly how I thought you were doing it. This is what I meant to do. = "0" > 0+ "Sign" : Internal flag 2 is on+ Only One Action When Event Loops ~ Play sample StatPoints (4)[/CODE]Add that in addition to the one that loops the sound. This way, the event I shown will make it play once at the beginning before the 00"-15 loop starts and then after that your sound loop will take effect. This should definately work. It does for me anyway. 1 Link to comment Share on other sites More sharing options...
Xoram Posted October 14, 2006 Report Share Posted October 14, 2006 Long time since I did anything in MMF. This should work however. - [internal flag 2 is on] + [Only one action when event loops] [Timer] : Set Counter to 15- [Timer = 15] [Timer] : Set Counter to 0 [Play sample StatPoints (4)]- [internal flag 2 is on] +[Counter > 0] [Counter] : Subtract 50 from Counter [Player] : Add 50 to score [Timer] : Add 1 to Counter[/CODE]The 'every' events in MMF are not reliable, since they are based on a modulation of the built in timer; meaning that the wait before an [Every 01"-00] event varies between 0 to 1 second. Link to comment Share on other sites More sharing options...
UltimateSonic Posted October 14, 2006 Author Report Share Posted October 14, 2006 Got it. Thanks a lot! =D Link to comment Share on other sites More sharing options...
Recommended Posts