User Tools

Site Tools


dragengine:modules:dragonscript:behavior_timers

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
dragengine:modules:dragonscript:behavior_timers [2026/10/12 12:02] – ↷ Page name changed from dragengine:modules:dragonscript:behavior_btsmtimers to dragengine:modules:dragonscript:behavior_timers dragonlorddragengine:modules:dragonscript:behavior_timers [2026/10/12 12:03] (current) – dragonlord
Line 1: Line 1:
 {{tag>dragonscript behavior}} {{tag>dragonscript behavior}}
 <WRAP youarehere> <WRAP youarehere>
-[[:start|Start Page]] >> [[main|DragonScript Scripting Language]] >> [[dragengine:modules:dragonscript:abstractions|Abstraction Layers: How you want to build your Game]] >> [[dragengine:modules:dragonscript:behavior_elements|Behavior Elements]] >> **ECBehaviorBTSMTimers**+[[:start|Start Page]] >> [[main|DragonScript Scripting Language]] >> [[dragengine:modules:dragonscript:abstractions|Abstraction Layers: How you want to build your Game]] >> [[dragengine:modules:dragonscript:behavior_elements|Behavior Elements]] >> **ECBehaviorTimers**
 </WRAP> </WRAP>
  
Line 7: Line 7:
   * [[behaviors_a_to_z|Behaviors Explained: From A to Z]]   * [[behaviors_a_to_z|Behaviors Explained: From A to Z]]
  
-====== ECBehaviorBTSMTimers ======+====== ECBehaviorTimers ======
  
 Behavior element behavior adding timer support to behavior trees and state machines. Behavior element behavior adding timer support to behavior trees and state machines.
Line 148: Line 148:
 ====== API Documentation ====== ====== API Documentation ======
  
-#@LinkApiDocDEDS2_HTML~classDragengine_1_1Scenery_1_1ECBehaviorBTSMTimers.html,ECBehaviorBTSMTimers~@#.+#@LinkApiDocDEDS2_HTML~classDragengine_1_1Scenery_1_1ECBehaviorTimers.html,ECBehaviorTimers~@#.
  
 Since DragonScript Module Version ''1.35'' Since DragonScript Module Version ''1.35''
Line 164: Line 164:
 <code> <code>
 class MyElement extends BehaviorElementClass class MyElement extends BehaviorElementClass
-  public var ECBehaviorBTSMTimers timers+  public var ECBehaviorTimers timers
   func new()   func new()
-    timers = ECBehaviorBTSMTimers.new(this)+    timers = ECBehaviorTimers.new(this)
   end   end
 end end
Line 177: Line 177:
 <?xml version='1.0' encoding='UTF-8'?> <?xml version='1.0' encoding='UTF-8'?>
 <elementClass name='MyClass' class='GenericBehaviorElement'> <elementClass name='MyClass' class='GenericBehaviorElement'>
-  <behavior type='ECBehaviorBTSMTimers'>+  <behavior type='ECBehaviorTimers'>
     <!-- optional: add behavior trees. default adds all behavior trees. -->     <!-- optional: add behavior trees. default adds all behavior trees. -->
     <list name='behaviorTrees'>     <list name='behaviorTrees'>
dragengine/modules/dragonscript/behavior_timers.1791806560.txt.gz · Last modified: by dragonlord