View unanswered posts | View active topics It is currently Fri Apr 26, 2024 2:46 pm



Reply to topic  [ 5 posts ] 
 Help with a bomb script 
Author Message
User avatar

Joined: Sun Nov 11, 2007 1:49 pm
Posts: 785
Reply with quote
Post 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?


Fri May 15, 2009 5:12 pm
Profile

Joined: Thu Aug 16, 2007 10:09 am
Posts: 163
Reply with quote
Post 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
Profile
User avatar

Joined: Sun Nov 11, 2007 1:49 pm
Posts: 785
Reply with quote
Post Re: Help with a bomb script
I don't know anything about lua.


Fri May 15, 2009 7:19 pm
Profile
Forum Moderator
User avatar

Joined: Fri Feb 02, 2007 3:53 pm
Posts: 1896
Location: in my little gay bunker
Reply with quote
Post 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


Fri May 15, 2009 7:22 pm
Profile
User avatar

Joined: Sun Nov 11, 2007 1:49 pm
Posts: 785
Reply with quote
Post Re: Help with a bomb script
Oh.
Ok.
Thanks.
Thread over.


Fri May 15, 2009 7:44 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: No registered users


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

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.784s | 15 Queries | GZIP : Off ]