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 / Trigger an explosion

Author
Message
Eggie
14
Years of Service
User Offline
Joined: 10th Oct 2010
Location:
Posted: 23rd Nov 2010 00:14
I want an explosion to occur when when u walk in a trigger zone. I created a trigger zone that spawns an explodable create and changed the strength to 0 but it wont explode. How do I fix this?
zeza
16
Years of Service
User Offline
Joined: 27th Jun 2008
Location:
Posted: 23rd Nov 2010 20:45
An entity with strength 0 is invincible, change it to 1 to have it explode

I'd change the world, but I don't have the source code
R.I.P. heltor, we will miss you
Eggie
14
Years of Service
User Offline
Joined: 10th Oct 2010
Location:
Posted: 24th Nov 2010 03:50
I've tried that but it still doesn't work because the strength needs to reach zero for it to explode.
EGG HEAD OF DOOM
16
Years of Service
User Offline
Joined: 21st Sep 2008
Location: The Hacked Hospital Lobby
Posted: 25th Nov 2010 08:06
make a script where:

when x happens
add -1 damage

i think there are commands to accommodate this.

raymondlee306
15
Years of Service
User Offline
Joined: 24th Oct 2009
Location: Ohio
Posted: 26th Nov 2010 15:55
If I want for example, a car, to explode I trigger a small entity like a coffee cup behind it where I cannot see it. Set the destroy script of the car and the coffee cup to flamable, set the spawn life of the coffee cup to 1 (or any time length) and make it explodable and set the explode damage higher than the strength of the car.

Login to post a reply

Server time is: 2024-11-24 16:41:28
Your offset time is: 2024-11-24 16:41:28