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 / Help please

Author
Message
Jormes93
17
Years of Service
User Offline
Joined: 5th Nov 2007
Location:
Posted: 8th Nov 2007 17:26
How do I make barrels explode when stepped on the trigger zone?


I´ve seen the answer but I don´t actually know where I should change the script.
Storm 6000
20
Years of Service
User Offline
Joined: 10th Oct 2004
Location:
Posted: 9th Nov 2007 15:03 Edited at: 9th Nov 2007 15:17
Make your thread names more descriptive so other can find your answers in future. I have just developed what you want, its not that simple but download these scripts and put them in your script bank then follow these instructions.

Ok for this to work you need 3 componants:
*A trigger zone.
*The barrel you want to explode.
*Another small Fpsc object to use as a detonator.

*Now place your trigger zone, and then change its main script to appearifactivate (attached)
*Set the if used propertie to the name of the small object you are using as a detonator

*Now place your barrel to be exploded and your detonator object next to each other.

*Right click on your detonator to access its properties:
*attach detonator as the start/appear script (attached)
*make sure its set to dynamic
*set spawn at start to "NO"
*set its strength to "1"
*set its physics force damage to "9999"
apply the settings

*Right click on your barrel to access its properties:
*attach barreldestroy script as the the destroy script (attached)
*make sure its set to dynamic
*make sure explodable is "yes"
set its strength to "1"

*Place your barrel where you want it
*place your detonator inside the barrel out of site

Your set run your game and watch the fun

Thanks
Adam

Attachments

Login to view attachments
Jormes93
17
Years of Service
User Offline
Joined: 5th Nov 2007
Location:
Posted: 9th Nov 2007 17:16
Thank you very much!

Login to post a reply

Server time is: 2024-11-27 19:25:18
Your offset time is: 2024-11-27 19:25:18