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 / Delayed Win Zone

Author
Message
Marc Steene
FPSC Master
18
Years of Service
User Offline
Joined: 27th Mar 2006
Location: Bahrain
Posted: 22nd Jan 2008 19:28 Edited at: 22nd Jan 2008 19:32
Sorry for another question - But how do you make a Win Zone wait 90 seconds before activating (Once a player is in the zone) Thanks

Edit: I tried to use this script but it did not work:



Marc
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 23rd Jan 2008 04:37
Sorry, but there is no way to script a delay on counting an objective as complete.

The engine does not depend on a script to count the player walking into the zone as a completed objective, it does this seperately, and as such you cannot script a delay in the end of the level like this.

One work around you could try is to spawn an objective item above the zone and zone delays the spawning of the item.

And no need to apologize for asking a question. We all have questions at some point and usually more than one person would like to know an answer to it.


The one and only,
~PlystirE~

Urlforce:
Dude, I'd rather be declared a dbpro noob than an fpsc legend any day!
Marc Steene
FPSC Master
18
Years of Service
User Offline
Joined: 27th Mar 2006
Location: Bahrain
Posted: 23rd Jan 2008 17:31
Thanks Plystire, I have already tried what you mentioned but I can't get the delay to work

Marc
sps999
17
Years of Service
User Offline
Joined: 23rd Oct 2007
Location: On my Computer
Posted: 26th Jan 2008 22:29 Edited at: 26th Jan 2008 22:32
Acctually, you could use a trigger zone and have it's IfUsed box say "Win Zone" (without quotes) and then have it in the trigger zone after 90 seconds it uses its IfUsed thing (activateifused=1)
and have the Win Zone (it has to be named "Win Zone") use the attached script and your done. All the attached script does is add the "activated=1" command in, you could probably do this yourself if you don't want to download something.

You might want to make the Win Zone big enough so it covers the whole map... or at least the last couple rooms.

----Edit----

Oh... I forgot... you need to add timerstart in the first line and timergreater=90000 to the second line, nothing you can't handle.

Attachments

Login to view attachments
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 27th Jan 2008 09:10
@sps999:

I've said it before but I'll say it again...

The only way to make the "Win Zone" count it's objective off towards finishing the level is to WALK THROUGH IT. The objective is NOT dependant upon the zone's script. Simply giving a zone an objective value and an empty script would still complete the objective by walking through it. :-P


The one and only,
~PlystirE~

Urlforce:
Dude, I'd rather be declared a dbpro noob than an fpsc legend any day!

Login to post a reply

Server time is: 2024-11-24 03:42:10
Your offset time is: 2024-11-24 03:42:10