Logic_timer

Logic_timer

Table of contents
1 Entity Description
2 Keyvalues
3 Flags
4 Inputs
5 Outputs

Entity Description

An entity that fires a timer event at regular, or random, intervals. It can also be set to oscillate between a high and low end, in which case it will fire alternating high/low outputs each time it fires.

Keyvalues

<target_source> The name that other entities refer to this entity by.
<boolean>
<boolean> If set, fires randomly at an interval from the last trigger.
<float> If UseRandomTime is set, this is the minimum time between timer fires. The time will be a random number between this and the UpperRandomBound.
<float> If UseRandomTime is set, this is the maximum time between timer fires. The time will be a random number between the LowerRandomBound and this.
<float> If UseRandomTime isn't set, this is the interval between timer fires, in seconds.

Flags


Inputs

Removes this entity from the world.
Removes this entity and all its children from the world.
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)>
Causes this entity's OnUser1-4 outputs to be fired. See User Inputs and Outputs.
Enable the timer.
Disable the timer.
Toggle the timer on/off.
Set a new Refire Interval.
Force the timer to fire immediately.
Set a new Minimum Random Interval.
Set a new Maximum Random Interval.

Outputs

Fired in response to FireUser1-4 inputs. See User Inputs and Outputs. !activator = activator
Fired when the timer expires.
Fired every other time for an oscillating timer.
Fired every other time for an oscillating timer.

К оглавлению справочника

© Valve Developer Community
CMT (CS Mapping Tutorials) - © 2006-2011+. Created by VM
[ Script Execution time: 0.0042 ]