Determines if timer is running and has not elapsed yet. Optionally as parameter use ''timer'' to select the timer matching an identifier used in a previous action ''timer.start''. The action immediately returns with the result. This can be used as first action in a sequence as entrance guard.
+
+
This is an example of using this action:
+
<code xml>
+
<action name='timer.running' id='waiting'>
+
<parameter name='timer'>myTimer</parameter>
+
</action>
+
</code>
+
+
===== timer.finished =====
+
+
Determines if a timer has finished. Optionally as parameter use ''timer'' to select the timer matching an identifier used in a previous action ''timer.start''. The action immediately returns with the result. This can be used as first action in a sequence as entrance guard.
+
+
This is an example of using this action:
+
<code xml>
+
<action name='timer.finished' id='waiting'>
<parameter name='timer'>myTimer</parameter>
<parameter name='timer'>myTimer</parameter>
</action>
</action>
dragengine/modules/dragonscript/behavior_behaviortreetimer.1741890733.txt.gz · Last modified: by dragonlord