Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / bomb script

Author
Message
Aaagreen
17
Years of Service
User Offline
Joined: 4th Sep 2007
Location: City 17
Posted: 3rd Feb 2008 17:19
is there anyway to make it so that when i press a switch, something explodes?

he's arnold, arnold, arnold rimmer, without him life would be much grimmer, he's handsom and trim and no-ones slimmer, he'll never need a zimmer...
CoffeeGrunt
17
Years of Service
User Offline
Joined: 5th Oct 2007
Location: England
Posted: 3rd Feb 2008 18:02
well, put the name of the bomb in the switches IfUsed box, Place an explodable entity of choice where you want the explosion to come from, set spawn at start to no, and its spawn life to 1.....

Hey presto, push switch, and the bomb goes off...

Aaagreen
17
Years of Service
User Offline
Joined: 4th Sep 2007
Location: City 17
Posted: 4th Feb 2008 17:18
thanks

he's arnold, arnold, arnold rimmer, without him life would be much grimmer, he's handsom and trim and no-ones slimmer, he'll never need a zimmer...
Seth Black
FPSC Reloaded TGC Backer
19
Years of Service
User Offline
Joined: 22nd Feb 2005
Location: Pittsburgh, PA
Posted: 4th Feb 2008 22:31
...or, if you want to explode something already visible, you could just assign this script:



As its MAIN SCRIPT, and use coffee grunt's switch instruction. When player uses the switch, the entity will go boom.


Widow 13 - ©2008 Harsh Games, Inc
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 5th Feb 2008 08:42
@Seth Black and coffee grunt:

You forgot to mention that he can have anything explode (except characters) by setting the "explodable" setting in the entity's properties.




The one and only,
~PlystirE~

Seth Black
FPSC Reloaded TGC Backer
19
Years of Service
User Offline
Joined: 22nd Feb 2005
Location: Pittsburgh, PA
Posted: 5th Feb 2008 22:55
Quote: "...You forgot to mention that he can have anything explode (except characters) by setting the "explodable" setting in the entity's properties. "



...yep.


Widow 13 - ©2008 Harsh Games, Inc
CoffeeGrunt
17
Years of Service
User Offline
Joined: 5th Oct 2007
Location: England
Posted: 8th Feb 2008 21:39
uh-huh, but i thought he'd know that...

Aaagreen
17
Years of Service
User Offline
Joined: 4th Sep 2007
Location: City 17
Posted: 10th Feb 2008 18:15
i did know that

Intel Pentium D Cpu 3.00GHz, NVIDIA GeForce 7300 GT, 1GB RAM, Windows Xp...

Login to post a reply

Server time is: 2024-11-24 04:11:15
Your offset time is: 2024-11-24 04:11:15