Orcs Must Die! Wiki
Advertisement
Orcs Must Die! Wiki

<Timer>[]

This begins a timer for a particular duration, and when the timer finishes, it activates a tag to set other effects into motion.

Examples[]

<Timer>
    <Duration>2.0</Duration>
    <CallTag>DealDamage</CallTag>
    <EndTag>DealDamage</EndTag>
</Timer>
<Timer>
    <StartTag>GoBreakCallTag</StartTag>
    <Optional>true</Optional>
    <Duration>0.01</Duration>
    <CallTag>RestartGrinder</CallTag>
    <EndTag>RestartGrinder</EndTag>
</Timer>
<Timer name="ResetTimer">
    <Duration>20.0</Duration>
    <CallTag>RestartGrinder</CallTag>
    <EndTag>RestartGrinder</EndTag>
</Timer>


XML Attributes[]

  • name - The name given to the timer effect


Nested XML Tags[]

The following tags can be found within the <Timer>:


<StartTag>[]

Causes the effect to not occur until this tag is activated/called.


<Optional>[]

Unsure what this does.


<Duration>[]

This tag specifies a duration in seconds.


<CallTag>[]

This specifies the name of the Tag to "activate" once the timer completes. Other effects which then have <StartTag>TAGNAME</StartTag> will take place, assuming they have been placed somewhere.


<EndTag>[]

This specifies the name of a tag that can be called that will immediately cause the timer to end, effectively short-circuiting its completion.

Advertisement