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 / How to explode a door?

Author
Message
ABR
16
Years of Service
User Offline
Joined: 13th Feb 2008
Location:
Posted: 25th May 2008 08:45
Question, the PLAYER opens a door and the door explodes, I DON'T need to see pieces of the door, I just need to see an explosion when the door opens and then have the door disappear and the PLAYER get hurt, how can this be done?

Please show me an example, as I am a newbie and I really don't understand coding?

Thanks!

-ABR
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 25th May 2008 11:59
Quote: "I am a newbie"


Apparently, as you've been plastering this question everywhere.


The one and only,


Hybrid
17
Years of Service
User Offline
Joined: 21st Nov 2007
Location: In the p-block, group 7.
Posted: 25th May 2008 16:15
Sorry if I come off as harsh, but please only post one post on one board. Do not make double posts with the same question. People will not answer you question mure quickly, instead, they will scream "n00b" at you. So, for futute reference, read the stickies at the top of the boards as well as the board use guidelines.

And, yes, I have been working on a solution for you. While is is possible to make the door be destroyed, it is much harder to make it "explode" It is possible, but it will take some work.

Here is the door destroy FPI:



This above sode just makes the door dissapear and not explode.

What I would think to do, is use this script:



use this to spawn an explodable barrel named "boom" a little off of the ground. Then, its hurtfall would be set to 1. this way, when it spawns, it falls and explodes, making the explodable door explode.

I can even make the barrel invisible for you. use this script as it's start script:



Hope all of this information will help. Now I have to put this on all of your boards sinceI don't know which one you would check.

Airslide
20
Years of Service
User Offline
Joined: 18th Oct 2004
Location: California
Posted: 25th May 2008 17:27
Set the spawn life to 1 on the barrel aswell just incase the physics engine decides to be silly

Login to post a reply

Server time is: 2024-11-24 08:48:46
Your offset time is: 2024-11-24 08:48:46