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 / start game with lights off

Author
Message
Killj0y17
12
Years of Service
User Offline
Joined: 15th Sep 2012
Location: In a pineapple, under the sea
Posted: 7th Nov 2012 11:17 Edited at: 7th Nov 2012 11:23
I want to know how to start the game with lights off and the player have to find a switch to turn it on and an extra question,how do i give the light a time limit, for example, after 10 seconds, the light turns off by itself and the player have to find the switch again and turn it on, thanks for the help, in advance.

kingofmk98
13
Years of Service
User Offline
Joined: 30th Jul 2011
Location: Everywhere
Posted: 8th Nov 2012 02:38
Killj0y17
12
Years of Service
User Offline
Joined: 15th Sep 2012
Location: In a pineapple, under the sea
Posted: 8th Nov 2012 13:09
ok the start lights off thing worked, but how do I give a light a time limit? like 10 seconds? thanks btw

Corno_1
14
Years of Service
User Offline
Joined: 3rd Nov 2010
Location:
Posted: 8th Nov 2012 19:14
i think you mean: How the light switch on after 10 sec! This will do it:


you need a script? I need useful requests at the moment!
http://forum.thegamecreators.com/?m=forum_view&t=200918&b=23
Killj0y17
12
Years of Service
User Offline
Joined: 15th Sep 2012
Location: In a pineapple, under the sea
Posted: 9th Nov 2012 12:58
actually Corno_1, what I actually meant is how to give a light a time limit, like after 10 seconds, it turns off and has to be activated again, but no worries, I got some idea in your script, and got this, it works great

You just need a switch to turn it on, and after 10 seconds, boom, it turns off..
**fact: this is my first script that actually worked..

Login to post a reply

Server time is: 2024-11-23 19:29:56
Your offset time is: 2024-11-23 19:29:56