Posted June 30, 201213 yr I want a sound to play that is approx. 4 sec long (80 ticks i think) and then something happens, like the world time changing, any ideas on how to achieve this?
June 30, 201213 yr either do a tick count function or Boolean is song done function. http://i577.photobucket.com/albums/ss215/bobstrong/ModBannerMed.png[/img]
July 1, 201213 yr Author either do a tick count function or Boolean is song done function. Been looking and can't figure ether out...
July 1, 201213 yr onUpdate() { ticks ++; if(ticks > 80) { //DO HUGE EXPlOSION AND END WORLD } } Something like that... http://calclavia.com/uploads/banner.png[/img]
July 1, 201213 yr onUpdate() { ticks ++; if(ticks > 80) { //DO HUGE EXPlOSION AND END WORLD } } You also want to reset the tick count to zero if you want it too restart btw. Something like that... http://i577.photobucket.com/albums/ss215/bobstrong/ModBannerMed.png[/img]
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.