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 / off light script

Author
Message
djmaster
User Banned
Posted: 5th Aug 2007 11:04
i learned to script a little so i did a light off script but how to do it to turn it on again with a switch? and please check if the script is all right

;Artificial Intelligence Script

;Header

desc = trigger off and switch on

;Triggers

:state=0,activated=0:lightoff
:state=1:lightoff
:state=2:????

Soldier of Fortune Episode 1
Marine10 beta corp
17
Years of Service
User Offline
Joined: 14th Jan 2007
Location: First Man Studios
Posted: 6th Aug 2007 19:47 Edited at: 6th Aug 2007 19:48
first off... the first line of the script should end with ":state=1", so that the script can continue to the next line, same with the second line. One state=2, put:

:state=2,runfpi= files/scriptbank/remotedoor(or something like that... i forgot).fpi

Then put a switch on the lvl and make it activate "THE ZONES NAME HERE"

see if that works for you

FIRST MAN STUDIOS
djmaster
User Banned
Posted: 8th Aug 2007 11:40
thx it works

Soldier of Fortune Episode 1

Login to post a reply

Server time is: 2024-11-23 20:54:05
Your offset time is: 2024-11-23 20:54:05