I wasn't sure if this should be in the discussion section or the requests section, so here we go. Is it possible to make a script that halts any actions until an SFX has finished playing? Unless there's a way to stop action for a certain amount of frames and I don't know about it.. I could never get that to work. Or would I have to do some sort of counter or something that halts action until it reaches however many frames? Sorry I'm blabbing.. Any help would be wonderful! ![]()
No action until an SFX has finished playing?
#1
Posted 08 June 2013 - 07:55 AM
#2
Posted 08 June 2013 - 08:07 AM
Use Waitframes(x);
with x being the amount of frames during which nothing happens.
#3
Posted 08 June 2013 - 08:32 AM
I was wondering this too, but I think my "problem" is a bit more complicated... Basically you hit a switch and warp(that works), but the "puzzle solved" sound don't finish playing ![]()
#4
Posted 08 June 2013 - 10:01 AM
What Jamian said is correct. Unfortunately there's no way to know when a SFX stops playing, so you have to just time it out yourself. 60 frames = 1 second unless the computer they're using is slow.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users

