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 / Motion Light: My First Script

Author
Message
Igglepud
14
Years of Service
User Offline
Joined: 14th Aug 2010
Location:
Posted: 15th Aug 2010 21:07
This turns on a flickering light via player proximity. Delete the "random=10" to get rid of the flicker, or change the number to adjust it.

- Dustin McMurry



;Artificial Intelligence Script

;Header

desc = Light Flicker Motion Sensor Light

;Triggers

:state=0:state=1
:state=1,plrdistwithin=300,random=10:lighton,state=0
:state=1,activated=0:state=2
:state=2:lightoff,state=0

;End of Script

www.dustinmcmurry.com
Nbt
15
Years of Service
User Offline
Joined: 11th Oct 2009
Location: Behind you!!
Posted: 15th Aug 2010 22:40
Your getting stuck right in I see good man

defiler
16
Years of Service
User Offline
Joined: 4th Apr 2009
Location: Canada
Posted: 16th Aug 2010 03:02
wow cool script, will i need any particular mod for this?

Limitless Box studios current project: Lost Contact
Igglepud
14
Years of Service
User Offline
Joined: 14th Aug 2010
Location:
Posted: 16th Aug 2010 06:17
@ defiler: No, I just have FPS Free installed. Waiting for the rest of my order to process.

@Nbt: Only way to do it. Hopefully I'll be around a while for more. Kind of a big endeavor to take on right at the start of a new school year, but if I do this right it'll be huge (for me at least.)

www.dustinmcmurry.com

Login to post a reply

Server time is: 2025-06-01 11:05:10
Your offset time is: 2025-06-01 11:05:10