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 / how to activate a trigger zone using another trigger zone

Author
Message
Protokhn
12
Years of Service
User Offline
Joined: 19th May 2012
Location:
Posted: 6th Oct 2012 00:58
How to activate a trigger zone when player pass through another trigger zone?

I made a sample level and took its screen shot .

How to activate 1 after player passes through 2

Khn

Attachments

Login to view attachments
BlackFox
FPSC Master
16
Years of Service
User Offline
Joined: 5th May 2008
Location: Knight to Queens Bishop 3
Posted: 6th Oct 2012 03:59
There are a few ways to do this. The easiest...

Trigger 1-

1. Set the main script to "prinzoneactivateused.fpi"
2. In the IfUsed field of Trigger 1, put the exact name of the second trigger. For example, if you use "trigger2" as the name, put "trigger2" in this field.

Trigger 2-

1. Set the name of the trigger to the exact name you specified in the IfUsed field of trigger 1.
2. Set the start script to "appearifactivate.fpi". If you do not have this script, here it is:



3. Set the main script to whatever you need trigger 2 to do once activated.


Twitter: @NFoxMedia
Protokhn
12
Years of Service
User Offline
Joined: 19th May 2012
Location:
Posted: 6th Oct 2012 08:47
umm I tried that but it did not work

Khn
Protokhn
12
Years of Service
User Offline
Joined: 19th May 2012
Location:
Posted: 6th Oct 2012 08:53
Sorry, by mistake i used some other script in start script of trigger 2.

and thank you black fox for your help

Khn

Login to post a reply

Server time is: 2024-11-23 20:04:02
Your offset time is: 2024-11-23 20:04:02