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 / Trigger zone and lights

Author
Message
Sound studios
16
Years of Service
User Offline
Joined: 8th Sep 2008
Location: UK
Posted: 4th Nov 2008 20:23
I was just wondering is there anyway to add a timer to a trigger zone so that the lights will turn on after x amount of time
Sound studios
16
Years of Service
User Offline
Joined: 8th Sep 2008
Location: UK
Posted: 4th Nov 2008 22:07
It,s ok now I have worked out how to do this. I used the following script in the main of the trigger zone



And set the ifused to the name of the lights
then I set the lights main to lightoff.fpi
fps somewhat new user
User Banned
Posted: 4th Nov 2008 23:42
Sound Studios, where do you put that code?

Tom
Sound studios
16
Years of Service
User Offline
Joined: 8th Sep 2008
Location: UK
Posted: 5th Nov 2008 14:39
I used a program called FPI Editpad. I created a new FPI file then copy and paste the script in there. Make sure the script is the same as I placed in the code snippet. Then save the script in the scriptbank where you installed the FPS Creator software save as Timer lights or whatever you want to call it. Then place some lights in the room. Make sure all the lights you place have the same name. Then place a trigger zone. Then right click on the trigger zone Change the main AI Script to plrinzoneactivateused.fpi and in the ifused the name of the lights. Then place some more lights in the same place as the ohter lights and change the name to say lights 2. Then change the main AI Script to lightoff.fpi. Now place another trigger zone and right click on it and change the name of the trigger zone to trigger zone 2 then change the Main AI Script Timer lights.fpi and the ifused to lights 2 and there you have it! The lights will come back after 6 seconds! I know this is abit long winded but seams to work

Login to post a reply

Server time is: 2024-11-24 14:04:03
Your offset time is: 2024-11-24 14:04:03