User Tools

Site Tools


dragengine:modules:dragonscript:behavior_flags

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_flags [2026/10/12 11:59] – ↷ Page name changed from dragengine:modules:dragonscript:behavior_btsmflags to dragengine:modules:dragonscript:behavior_flags dragonlorddragengine:modules:dragonscript:behavior_flags [2026/10/12 12:04] (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]] >> **ECBehaviorBTSMFlags**+[[: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]] >> **ECBehaviorFlags**
 </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]]
  
-====== ECBehaviorBTSMFlags ======+====== ECBehaviorFlags ======
  
 Behavior element behavior adding flags support to behavior trees and state machines. Behavior element behavior adding flags support to behavior trees and state machines.
Line 165: Line 165:
 ====== API Documentation ====== ====== API Documentation ======
  
-#@LinkApiDocDEDS2_HTML~classDragengine_1_1Scenery_1_1ECBehaviorBTSMFlags.html,ECBehaviorBTSMFlags~@#.+#@LinkApiDocDEDS2_HTML~classDragengine_1_1Scenery_1_1ECBehaviorFlags.html,ECBehaviorFlags~@#.
  
 Since DragonScript Module Version ''1.35'' Since DragonScript Module Version ''1.35''
Line 181: Line 181:
 <code> <code>
 class MyElement extends BehaviorElementClass class MyElement extends BehaviorElementClass
-  public var ECBehaviorBTSMFlags flags+  public var ECBehaviorFlags flags
   func new()   func new()
-    flags = ECBehaviorBTSMFlags.new(this)+    flags = ECBehaviorFlags.new(this)
   end   end
 end end
Line 194: Line 194:
 <?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='ECBehaviorBTSMFlags'>+  <behavior type='ECBehaviorFlags'>
     <!-- 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_flags.1791806345.txt.gz · Last modified: by dragonlord