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?
Fri May 15, 2009 5:12 pm
robowurmz
Joined: Thu Aug 16, 2007 10:09 am Posts: 163
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.
Fri May 15, 2009 5:57 pm
war_man333
Joined: Sun Nov 11, 2007 1:49 pm Posts: 785
Re: Help with a bomb script
I don't know anything about lua.
Fri May 15, 2009 7:19 pm
p3lb0x
Forum Moderator
Joined: Fri Feb 02, 2007 3:53 pm Posts: 1896 Location: in my little gay bunker
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
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum