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 / Open a door at a certain time

Years of Service
User Offline
Joined: 22nd Oct 2002
Posted: 19th Feb 2005 00:14
My first script and very simple. Opens a door after a certain time. Commented it well so that people new to this like me can get to grips with the scripting language.

;Artificial Intelligence Script


desc = Door opens after certain time


;if in original state and timer greater then 3 seconds, it sets the state to 1, animtion 0 to to beginning and plays open door sound


;if state=1 it increasse the frame of animation 0


When animation 0 has finished it sets the state to 2 and turns collisions off so the player can walk through the door.


;End of Script

Login to post a reply

Server time is: 2020-02-21 03:57:40
Your offset time is: 2020-02-21 03:57:40