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 / Light turns on in trigger zone

Author
Message
sps999
17
Years of Service
User Offline
Joined: 23rd Oct 2007
Location: On my Computer
Posted: 30th Dec 2007 19:04 Edited at: 30th Dec 2007 19:31
I'm making a game and a need a 2 scripts.

One that will turn off a green light.

And another that will turn on a red light that replaces the green light.

Note:There are two different entitys to carry out the job.

All my attempts of doing this did not work.

Thanks in advance.

CoffeeGrunt
17
Years of Service
User Offline
Joined: 5th Oct 2007
Location: England
Posted: 30th Dec 2007 19:32
KK.

give both lights the same name,(X).

Place a triggerzone and set it's main AI,(right click after placing it),to Plrinzoneactivateused.fpi.

Give green light this script:





And the red one this:



Any Problems, just post back.

Zero #43
20
Years of Service
User Offline
Joined: 5th May 2004
Location: ** in your head **
Posted: 31st Dec 2007 03:05
i tried out the scripts, and they didnt work for me . i think its something on my part. im trying to do basically the same thing he was, except im trying to get a light (off by default) to turn on when in a trigger zone. its real simple because i've done it before, i just cant remember to save my life

AMD Athlon64 X2 3800+ w/ HT Technology 1000MHz FSB w/ 512KB Cache, 2GB DDR PC-3200 - 2x1024, ATI RADEON™ X1900XTX 512MB

Login to post a reply

Server time is: 2024-11-24 01:41:09
Your offset time is: 2024-11-24 01:41:09