Difference between revisions of "Game countdown timer"
m (→Inputs) |
|||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
== Entity Description == | == Entity Description == | ||
− | An entity that displays the | + | An entity that displays a timer at the top of the player's hud. It can be configured through inputs and can have repeated use over the course of a map. |
== Keyvalues == | == Keyvalues == | ||
Line 30: | Line 30: | ||
* '''FireUser1-4''' | * '''FireUser1-4''' | ||
− | Causes this entity's OnUser1-4 outputs to be fired. See User Inputs and Outputs. | + | Causes this entity's OnUser1-4 outputs to be fired. See User Inputs and Outputs. |
+ | |||
+ | * '''StartTimer <float>''' | ||
+ | |||
+ | Starts the countdown. Requires an argument which is the number of seconds for the countdown. | ||
+ | |||
+ | * '''StopTimer''' | ||
+ | |||
+ | Stops the countdown permanently. | ||
+ | |||
+ | * '''PauseTimer''' | ||
+ | |||
+ | Stops the countdown temporarily. | ||
+ | |||
+ | * '''ResumeTimer''' | ||
+ | |||
+ | Resumes the countdown after '''PauseTimer''' is called. | ||
+ | |||
+ | * '''SetTimerLabel <string>''' | ||
+ | |||
+ | Sets a label for the timer that appears above the countdown. | ||
==Outputs== | ==Outputs== |
Latest revision as of 09:17, 29 November 2008
This Page contains informations about an Obsidian Conflict Entity, which means it is only availible for Obsidian Conflict or rather in that form it is explained. |
Contents
Entity Description
An entity that displays a timer at the top of the player's hud. It can be configured through inputs and can have repeated use over the course of a map.
Keyvalues
- targetname <target_source>
Defines the name that other entities refer to this entity by.
Inputs
- Kill
Removes this entity from the world.
- KillHierarchy
Removes this entity and all its children from the world.
- AddOutput <string>
Evaluates a keyvalue/output on this entity. It can be potentially very dangerous, use with care.
Format: <key> <value>
Format: <output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire (-1 == infinite)>
- FireUser1-4
Causes this entity's OnUser1-4 outputs to be fired. See User Inputs and Outputs.
- StartTimer <float>
Starts the countdown. Requires an argument which is the number of seconds for the countdown.
- StopTimer
Stops the countdown permanently.
- PauseTimer
Stops the countdown temporarily.
- ResumeTimer
Resumes the countdown after PauseTimer is called.
- SetTimerLabel <string>
Sets a label for the timer that appears above the countdown.
Outputs
- OnUser1-4
Fired in response to FireUser1-4 inputs. See User Inputs and Outputs.
!activator = activator