User Tools

Site Tools


dragengine:modules:dragonscript:behavior_toggle

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_toggle [2025/05/04 13:50] – [toggle.check] dragonlorddragengine:modules:dragonscript:behavior_toggle [2025/05/11 13:32] (current) – [toggle.set] dragonlord
Line 58: Line 58:
 This behavior adds these behavior tree actions if behavior tree is present. If behavior has non-empty identifier replace ''toggle'' with ''toggle(id)''. This behavior adds these behavior tree actions if behavior tree is present. If behavior has non-empty identifier replace ''toggle'' with ''toggle(id)''.
  
-===== toggle.set =====+===== toggle.update =====
  
-Set one or more toggle trigger parameters.+Update toggle trigger.
  
 ^Parameter^Value^Description^ ^Parameter^Value^Description^
Line 67: Line 67:
 This is an example of using this action: This is an example of using this action:
 <code xml> <code xml>
-<action name='toggle.set'>+<action name='toggle.update'>
   <parameter name='target'>toggle</parameter>   <parameter name='target'>toggle</parameter>
 </action> </action>
dragengine/modules/dragonscript/behavior_toggle.1746366613.txt.gz · Last modified: 2025/05/04 13:50 by dragonlord