User Tools

Site Tools


dragengine:modules:dragonscript:behavior_attachslot

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_attachslot [2025/05/02 21:50] – [Optional Behaviors] dragonlorddragengine:modules:dragonscript:behavior_attachslot [2025/05/04 13:46] (current) – [attachSlot.check] dragonlord
Line 79: Line 79:
 ^Parameter^Value^Description^ ^Parameter^Value^Description^
 |empty|''true'', ''false''|Attach slot is empty or not| |empty|''true'', ''false''|Attach slot is empty 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 108: Line 109:
 </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 ''attachSlot'' with ''attachSlot(id)''.
 +
 +===== attachSlot.attached =====
 +
 +Attachable has been attached to slot
 +
 +===== attachSlot.detached =====
 +
 +Attachable has been removed from slot.
  
 ====== Required Behaviors ====== ====== Required Behaviors ======
dragengine/modules/dragonscript/behavior_attachslot.1746222658.txt.gz · Last modified: 2025/05/02 21:50 by dragonlord