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 Product Chat / Timer for FPSC

Author
Message
sadsack
22
Years of Service
User Offline
Joined: 27th Nov 2003
Location: here
Posted: 9th Jul 2010 20:01
Can one program a timer that counts down and have it show on the screen? If it can be done , what is the best way of doing it..
thank you
renny

Life is not fair, so deal with it.
http://www.gusroundtable.com/
Marc Steene
FPSC Master
20
Years of Service
User Offline
Joined: 27th Mar 2006
Location: Bahrain
Posted: 9th Jul 2010 20:30
Project Blue would be the easiest way. The simple script below would show a timer slowly counting down:

:state=0:dimvar=timer,setvar=timer 120,etimerstart,state=1
:state=1,vargreater=timer 0,etimergreater=1000:subvar=timer 1,etimerstart
:state=1,varless=timer 1:plraddhealth=-1000

:always:printval=%timer

It will kill the player when reaching 0.


[b]FPSC MIGRATION: http://forum.thegamecreators.com/?m=forum_view&t=142497&b=21
sadsack
22
Years of Service
User Offline
Joined: 27th Nov 2003
Location: here
Posted: 10th Jul 2010 02:18
Hi MARC,

The script that you posted, do I need project blue?
I am not sure what project blue is.
Thank you
renny

Life is not fair, so deal with it.
http://www.gusroundtable.com/
Nbt
16
Years of Service
User Offline
Joined: 11th Oct 2009
Location: Behind you!!
Posted: 10th Jul 2010 03:31 Edited at: 10th Jul 2010 03:32
Project Blue is the best FPSC Mod money can buy (it's cheap too )
and has tons of useful stuff created by Plystire and s4real.

It expands the capabilities of FPSC to new horizons and lets you do
stuff you could never do before.

Your signature has been erased by a mod. The sig needs to be 600 width maximum (x 120 height) for all of it.
Monkey Mja
16
Years of Service
User Offline
Joined: 8th Apr 2010
Location:
Posted: 10th Jul 2010 04:38
Just wondering, does Project Green work for that script instead of Project Blue? I heard they were very alike.

- Monkey
Marc Steene
FPSC Master
20
Years of Service
User Offline
Joined: 27th Mar 2006
Location: Bahrain
Posted: 10th Jul 2010 15:17
My script is Project Green compatible


[b]FPSC MIGRATION: http://forum.thegamecreators.com/?m=forum_view&t=142497&b=21

Login to post a reply

Server time is: 2026-07-05 11:53:29
Your offset time is: 2026-07-05 11:53:29