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 / My Scripting Questions???

Author
Message
Troy Chambers
17
Years of Service
User Offline
Joined: 6th Aug 2007
Location: the PHOENIX space station
Posted: 8th Dec 2007 05:50 Edited at: 8th Dec 2007 05:52
I have some questions about scripts.

Say if I wanted a character or entity or something fly in and crash through a near-by window if you step into a trigger zone.

Also, I know I can make enemies spawn behind you, but how could I make them appear in front of you for a few seconds, then fades.

Or have them appear, then follow a waypoint while still facing you, moving backward, and when it reaches the end of the waypoint it fades away.

Also, say you step into a trigger zone, and all the lights in the room flicker off (for good, can't turn them back on)

Or say there is a bridge in front of me, I get right in front of it, about to step on the bridge, when BAM, some if not all of the bridge is destroyed. How can I make entities like, explode right in front of you.

How do I do any of these things???

I know that's a lot of questions and I'm sorry, but I would really like to know. And if the answer to any of these is in the "search" please don't start tiffing off at me.

PHOENIX, an up-coming game by Troy Chambers & DOOMED STUDIOS
Les Horribres
19
Years of Service
User Offline
Joined: 20th Nov 2005
Location: My Name is... Merry
Posted: 8th Dec 2007 08:14
Quote: "Also, say you step into a trigger zone, and all the lights in the room flicker off (for good, can't turn them back on)"

associate to switch :activated=1:state=100

Quote: "Or say there is a bridge in front of me, I get right in front of it, about to step on the bridge, when BAM, some if not all of the bridge is destroyed. How can I make entities like, explode right in front of you."

I'm not certain about it... but have something heavy spawn over them (it'll cause "physics damage" and thus destroy the barells and trigger the explosion)


Quote: "Say if I wanted a character or entity or something fly in and crash through a near-by window if you step into a trigger zone."

Waypoints
:Activated=1:waypointsomethingoranother


Quote: "Also, I know I can make enemies spawn behind you, but how could I make them appear in front of you for a few seconds, then fades."


:state=0:state=1,timerstart
:state=1,hudtimer=1000:setalphafade=0,destroy

maybe

Its not who you are or what you've done... its WHY you did it and how far you are willing to go.
If you fear speaking for yourself, make use the words of others while discovering your own voice.
Troy Chambers
17
Years of Service
User Offline
Joined: 6th Aug 2007
Location: the PHOENIX space station
Posted: 10th Dec 2007 19:47
cool, thanks

PHOENIX, an up-coming game by Troy Chambers & DOOMED STUDIOS

Login to post a reply

Server time is: 2024-11-24 01:26:50
Your offset time is: 2024-11-24 01:26:50