| Data Realms Fan Forums http://45.55.195.193/ |
|
| Help with a bomb script http://45.55.195.193/viewtopic.php?f=73&t=14656 |
Page 1 of 1 |
| Author: | war_man333 [ Fri May 15, 2009 5:12 pm ] |
| Post subject: | Help with a bomb script |
I'm making THE HOLY HANDGRENADE OF ANTIOCH, and I want to make some sort of script that plays a sound x seconds before the bomb explodes. How the jelly do I do this? |
|
| Author: | robowurmz [ Fri May 15, 2009 5:57 pm ] |
| Post subject: | Re: Help with a bomb script |
I suppose you'd make a timer that is as long as the sound lasts. Play the sound and activate the timer, and then when the timer runs out, BANG. |
|
| Author: | war_man333 [ Fri May 15, 2009 7:19 pm ] |
| Post subject: | Re: Help with a bomb script |
I don't know anything about lua. |
|
| Author: | p3lb0x [ Fri May 15, 2009 7:22 pm ] |
| Post subject: | Re: Help with a bomb script |
This can be accomplished with simple modding, no need to use lua here. Just make a nade that explodes into a AEmitter with the sound playing as the emitter sound and a self destruct emitter after the sound has ended |
|
| Author: | war_man333 [ Fri May 15, 2009 7:44 pm ] |
| Post subject: | Re: Help with a bomb script |
Oh. Ok. Thanks. Thread over. |
|
| Page 1 of 1 | All times are UTC [ DST ] |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|