Monday, April 16, 2012

Game Timer

Pretty simple, im just looking for a simple little window that shows the game time.|||hmm.. You want the whole time to be shown? Or just the General Time?|||Say the game has been played for 5mins i want a small window in the top right corner showing 5mins|||A Countdown Timer that will expire when 5 minuts?

Make a "Timer" variable:

1. Press the "Yellow X" in the toolbar.

2. Press the "Green X".

3. Variable Name: "Your Text"

4. Variable Type: From the Drop Down list, click on the "Timer"

5. Array: Unchecked

And Tiggers:

Trigger 1


Code:
Timer
Events
Time - Elapsed game time is 0.00 seconds
Conditions
Actions
Countdown Timer - Create a timer window for Timer with title TITLE
Countdown Timer - Start Timer as a One-shot timer that will expire in 300.00 seconds

Trigger 2


Code:
Show
Events
Time - Timer expires
Conditions
Actions
Game - Display to (All players) for 5.00 seconds the text: 5 min
|||I don't think you can use a countdown timer to count "up" the elapsed time - but you could probably make it easily enough with a leaderboard or multiboard. Elapsed game time should be a real value you can access.

No comments:

Post a Comment