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 / help with light!

Author
Message
kloen
18
Years of Service
User Offline
Joined: 9th Jun 2006
Location:
Posted: 24th Oct 2006 12:17
how do you make a light which will activate after you will enter a zone?
or how do you make a sirene effect? a flikkering light or something like that?

pleez help
(i looked al around the forums but i cant find anyting useful)

kloen
FredP
Retired Moderator
18
Years of Service
User Offline
Joined: 27th Feb 2006
Location: Indiana
Posted: 24th Oct 2006 12:36
Moving to the scripts forum.

rabid rabbit
19
Years of Service
User Offline
Joined: 28th Aug 2005
Location:
Posted: 25th Oct 2006 05:44
There is a script for this somewhere, I saw it. I would give it to you, but I don't want to offend the creator. I can't remember who it was!

Watch out, this bunny bites...
Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 25th Oct 2006 07:00
1) Save this
as alarm.fpi or something like that, and put it in your scriptbank.

2) Place a Light marker in your map.

3) Right click the Light and set its STATIC MODE to NO.

4) Set the Light's AI MAIN to the alarm.fpi

5) Place a Trigger in your map, like a blood-splat or something.

6) Right click the Trigger and set its IFUSED to Light or whatever the light's name is if you changed it.

7) If it is an entity for the trigger make sure its STATIC MODE is set to NO

8) Set the Trigger's AI MAIN to plrinzoneactivateused.fpi


Don't forget to visit Conjured Entertainment
rabid rabbit
19
Years of Service
User Offline
Joined: 28th Aug 2005
Location:
Posted: 26th Oct 2006 04:36
To switch static/dynamic just press "y"

Watch out, this bunny bites...
Conjured Entertainment
AGK Developer
19
Years of Service
User Offline
Joined: 12th Sep 2005
Location: Nirvana
Posted: 26th Oct 2006 07:55
You have to right click it to change the AI MAIN anyway.


Don't forget to visit Conjured Entertainment

Login to post a reply

Server time is: 2024-11-23 01:11:12
Your offset time is: 2024-11-23 01:11:12