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 / Is it possible to activate and deactivate light?

Author
Message
Jonez Games
16
Years of Service
User Offline
Joined: 19th Feb 2010
Location: Finland
Posted: 27th Apr 2011 15:04
So what im trying to make is a light with some nice thunderstorm effects and sounds. But I want to activate it only in certain rooms.

I would want the light to be activated only when you are inside a zone, and again deactivated when outside it. and so forth.

But is it possible to do this since you cant set spawn options for lights?

thanks

Jonez

Dark Evenger
16
Years of Service
User Offline
Joined: 27th Apr 2010
Location:
Posted: 27th Apr 2011 22:16
light work like remote door , just rename the light to something like light12 and write this name in to if used . you can use switch or trigger zone

Greatly dark evenger



My Personal website: http://darkevenger.tk
Delusional Games
15
Years of Service
User Offline
Joined: 2nd Oct 2010
Location: Serbia, Sometimes Finland
Posted: 27th Apr 2011 22:22
Acctualy thats the same thing I use in Death Takes a Holiday (its even the same genre as Phobia) Basically you add a trigger zone with
plrinzoneactivateifused script and add lights name in the ifused field.
and add this script to a light, something like:


When you enter the zone the thunder goes on.
Worked so good I was like WTFOMGHELLYEA!!!

My paragon is not on the poster, its in the mirror.
Jonez Games
16
Years of Service
User Offline
Joined: 19th Feb 2010
Location: Finland
Posted: 28th Apr 2011 00:17
Thanks, but the script for the thunder was a bit complicated for just zones to work. (it wasn't just simple light. It affect to ambient light, ect)

But it doesn't matter now. I got things fixed by editing a light file and using loop zone for the sound.

But thanks anyway

Jonez

Login to post a reply

Server time is: 2026-07-21 19:06:02
Your offset time is: 2026-07-21 19:06:02