User Tools

Site Tools


dragengine:modules:dragonscript:behavior_outline

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
dragengine:modules:dragonscript:behavior_outline [2025/05/02 21:37] – [Behavior Factory] dragonlorddragengine:modules:dragonscript:behavior_outline [2026/11/07 18:19] (current) – dragonlord
Line 105: Line 105:
   * Restrictions: At least 0   * Restrictions: At least 0
   * Example (*.deeclass) <code xml><float name='outline.thickness'>0.005</float></code>   * Example (*.deeclass) <code xml><float name='outline.thickness'>0.005</float></code>
 +
 +===== layerMaskSet =====
 +Set layer mask bits to set in addition to the component layer mask. Clearing bits is done before setting bits.
 +  * Full name: ''outline.layerMaskSet''
 +  * Type: string list
 +  * Default Value: empty list
 +  * Example (*.deeclass) <code xml><string name='outline.layerMaskSet'>default envmap</string></code>
 +
 +===== layerMaskClear =====
 +Set layer mask bits to clear in addition to the component layer mask. Clearing bits is done before setting bits.
 +  * Full name: ''outline.layerMaskClear''
 +  * Type: string list
 +  * Default Value: empty list
 +  * Example (*.deeclass) <code xml><string name='outline.layerMaskClear'>default envmap</string></code>
  
 ====== Behavior Tree Actions ====== ====== Behavior Tree Actions ======
Line 133: Line 147:
 ^Parameter^Value^Description^ ^Parameter^Value^Description^
 |visible|true,false|Outline is visible or not| |visible|true,false|Outline is visible or not|
 +|wait| |If present action returns BTResult.running instead of BTResult.failed to wait until the checks are all fulfilled|
  
 This is an example of using this action: This is an example of using this action:
Line 162: Line 177:
 </action> </action>
 </code> </code>
 +
 +====== State Machine Actions ======
 +
 +Same as [[#behavior_tree_actions|Behavior Tree Actions]].
 +
 +====== State Machine Conditions ======
 +
 +Same as [[#behavior_tree_conditions|Behavior Tree Conditions]].
 +
 +====== State Machine Events ======
 +
 +This behavior sends these state machine events. If behavior has non-empty identifier replace ''outline'' with ''outline(id)''.
 +
 +===== outline.visible =====
 +
 +Outline is now visible.
 +
 +===== outline.invisible =====
 +
 +Outline is now invisible.
  
 ====== Required Behaviors ====== ====== Required Behaviors ======
Line 171: Line 206:
  
   * [[behavior_behaviortree|ECBehaviorBehaviorTree]]: Add actions and conditions for behavior trees to use.   * [[behavior_behaviortree|ECBehaviorBehaviorTree]]: Add actions and conditions for behavior trees to use.
 +  * [[behavior_statemachine|ECBehaviorStateMachine]]: Add actions and conditions for state machine to use and events to send to the state machine.
 ====== Persistency ====== ====== Persistency ======
  
dragengine/modules/dragonscript/behavior_outline.1746221831.txt.gz · Last modified: by dragonlord