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 / after 80sec, the level is win

Author
Message
Styloo
18
Years of Service
User Offline
Joined: 18th Feb 2006
Location: France
Posted: 10th Nov 2007 11:55
Hello,
Do you know a script, when I lauch the level, 80sec(time) after, the level is win ?
Thanks you per advance,
Best Regards,
Styloo

Styloo
18
Years of Service
User Offline
Joined: 18th Feb 2006
Location: France
Posted: 10th Nov 2007 15:27
No idea ?

xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 10th Nov 2007 15:41 Edited at: 10th Nov 2007 15:42
If you mean the level is 80 seconds long and then over, attach this to any dynamic entity. (light, item, etc)

:state=0:timerstart,state=1
:state=1,timergreater=80000:state=2
:state=2:plrmoveto=Win Zone
If you mean something else then nevermind.

Best.

I'm sorry, my answers are limited. You must ask the right question.

Styloo
18
Years of Service
User Offline
Joined: 18th Feb 2006
Location: France
Posted: 10th Nov 2007 16:04 Edited at: 10th Nov 2007 16:11
I test it immediatly,
Thanks you for your help


EDITED : The script doesn't work, I put in entity Dynamic, I wait 80 secondes, but the level is not win.
Do you have the reason ?

Styloo
18
Years of Service
User Offline
Joined: 18th Feb 2006
Location: France
Posted: 10th Nov 2007 16:15
I change the script per this script, but It don't work



Thanks you to help me,
Styloo

5dollar Love You Loooong Time
17
Years of Service
User Offline
Joined: 14th Oct 2007
Location:
Posted: 10th Nov 2007 16:18 Edited at: 10th Nov 2007 16:20
Remember, with his script, you need to have a win zone placed on the map? It should work, but it whould be obvious that you teleported to the win zone, as the win zone takes a second to fade out, if I remember correctly!? Lol.. its been sooo long since I actually finished building a level and got the previlage to step into my own win zone!!
Styloo
18
Years of Service
User Offline
Joined: 18th Feb 2006
Location: France
Posted: 10th Nov 2007 16:24
I put a Winzone in the level, but the script don't work...

Whyyyy It don't workkk ????

5dollar Love You Loooong Time
17
Years of Service
User Offline
Joined: 14th Oct 2007
Location:
Posted: 10th Nov 2007 16:39
No! I just tried it! it does work!
I attatched the script (I named it "moveto.fpi") to a normal box..as its default script..
I put in a win zone, put in a player start point, and ran the game.. it worked like it should have..

Be shure that you do not rename the win zone..
Make shure youre script is an fpi file..
Be shure to attatch it to the entity in the "default" feild..
Also, be shure you waited the full 80 secons..
To save time in testing, i made it 5 seconds.. But that wont change if it works or not..

Good luck!
I really cant see this script going that wrong..
It must be something silly you dont notice! I dont know..
Well.. hope you get it working!
5$ love you loong time!
Styloo
18
Years of Service
User Offline
Joined: 18th Feb 2006
Location: France
Posted: 10th Nov 2007 18:31 Edited at: 10th Nov 2007 18:32
AaAaAaH ! I find ! My fpsc is in french ( because i'm french ), and the "WinZone" is called : "Zone de Victoire" !
I renamed the "Zone de Victoire" with "WinZone", and the script Work !!!!!!!

Thanks you for your help !

xplosys
18
Years of Service
User Offline
Joined: 5th Jan 2006
Playing: FPSC Multiplayer Games
Posted: 10th Nov 2007 19:13 Edited at: 10th Nov 2007 19:46
Your welcome.

Best.

EDIT: If you place the Win Zone in a dark area, it shouldn't be too noticeable.

I'm sorry, my answers are limited. You must ask the right question.

5dollar Love You Loooong Time
17
Years of Service
User Offline
Joined: 14th Oct 2007
Location:
Posted: 10th Nov 2007 21:19
Zone de Victoire

Hope I helped just a little aswell!

5$ love you loong time!
olliday
18
Years of Service
User Offline
Joined: 27th Oct 2006
Location:
Posted: 11th Nov 2007 00:04
Couldn't you just do this so it doesnt need a winzone?
5dollar Love You Loooong Time
17
Years of Service
User Offline
Joined: 14th Oct 2007
Location:
Posted: 11th Nov 2007 00:11
Yes.. I thought about doing rather that.. but couldnt remember thet comamand.. wingame.. I even looked in the win zone scripts.. it uses isiobjective=2 instead.. so I couldnt find the command.. i was looking for something like levelend or something!!

Login to post a reply

Server time is: 2024-11-24 01:21:40
Your offset time is: 2024-11-24 01:21:40