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 / use a switch to win ?

Author
Message
riccetts
6
Years of Service
User Offline
Joined: 14th Oct 2010
Location:
Posted: 28th Feb 2017 02:28
How do i use a switch with a winzone trigger?
2S!K
4
Years of Service
User Offline
Joined: 21st Jul 2012
Playing: Working on "This Is Home" an FPSc project
Posted: 28th Feb 2017 08:20
Well 2 ways come to mind.

1. Place the winzone in the desired location. Set the name of the winzone in the "ifused" field of the switch. Then change the appear/start script of the winzone to an appear if activate script. This way you can put the winzone wherever you want so the player will have to flip the switch then travel or have it spawn were the switch is for instant win.

2. Copy the switches main script and add the action "win" (dont forget the comma to seperate ,)at the point after the switch is flipped. Then set the switch's "isobjective" field to 1 (any besides 0). This way you win instantly, and its easier to replicate in future levels.
As always, Game on! -2S!K Productions
riccetts
6
Years of Service
User Offline
Joined: 14th Oct 2010
Location:
Posted: 28th Feb 2017 14:14
Thanks 2S!K

Login to post a reply

Server time is: 2017-04-23 14:49:15
Your offset time is: 2017-04-23 14:49:15