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 Product Chat / Turn light on then off.

Author
Message
TheCoolGuy
16
Years of Service
User Offline
Joined: 9th Apr 2010
Location: Australia
Posted: 19th Apr 2010 13:43
How would you do it, I have tried doing plrinzoneactivateused, twice in a row, that didn't work. I have tried using plrinzonedeactivate used, then Wiseman's plrinzonedeactivate used, but no luck, it always stays on once I go through the first trigger zone... Any suggestions?
Bejasc3D
17
Years of Service
User Offline
Joined: 17th Aug 2008
Location: Down Under
Posted: 19th Apr 2010 15:47
the same with me, plrinzoneactivateused.fpi doesnt seem to work. i have it to play a sound when teh player walks through it that is custom, that works every time
but the light appears to be on at the start.
the names are corect and everything but i cant seem to work it out.

~TiTanIum

Your signature has been erased by a mod - Please reduce it to 600x120 maximum size
ctm
21
Years of Service
User Offline
Joined: 25th Feb 2005
Location:
Posted: 19th Apr 2010 19:27 Edited at: 19th Apr 2010 19:31
What's your FPSC version?
Do you use mods?
Which scripts did you use for the zones and the light?

I tried it this way (FPSC 1.16/ no mods):

The light:
lightoff.fpi as main script
the light must be set as dynamic
the light should have a unique name..ie: mylight

first triggerzone:
plrwithinzoneifused.fpi as main script
name of the light (mylight) in the IF USED field of the zone.

second triggerzone:
name of the light (mylight) in the IF USED field of the zone.
and a altered plrwithinzoneifused.fpi which sets activated to 0 to switch the light off:



Works fine.
The first triggerzone turns the light on and the second triggerzone turns the light off.
Hope this helps
TheCoolGuy
16
Years of Service
User Offline
Joined: 9th Apr 2010
Location: Australia
Posted: 20th Apr 2010 11:20
Thank you ctm, your script worked and now I can get on with my game

Login to post a reply

Server time is: 2026-07-17 13:59:18
Your offset time is: 2026-07-17 13:59:18