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

Author
Message
Gears of War
15
Years of Service
User Offline
Joined: 14th Jan 2009
Location: Anywhere, anytime.
Posted: 18th Jan 2009 16:56
I am working on a game that needs the player to fall through a floor when he is on top of it. Here is th stuff I need it to do.

1. Destroy floor entity when player is in contact with it.

2. Spawn 3 plank entities when part 1 is activated.

3. Play a sound file once.

I am Caboose, The Vehicle Destroyer!
mgarand
16
Years of Service
User Offline
Joined: 22nd Dec 2007
Location: The Netherlands
Posted: 18th Jan 2009 18:05
ask this in the script area

Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 18th Jan 2009 21:45
Script the floor to "destroy" when the player is within breaking distance from it.

Place the board entity's on top of the floor entity and set them to "Spawn At Start? No" and tell it to have 3 entities spawned. When the floor destroys itsef, hav it activate this entity.

Also in the floor script, have it play your sound when it gets destroyed.


The one and only,


Login to post a reply

Server time is: 2024-11-24 18:34:24
Your offset time is: 2024-11-24 18:34:24