This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
dragengine:modules:dragonscript:behavior_grabber [2025/05/11 11:09] – dragonlord | dragengine:modules:dragonscript:behavior_grabber [2025/05/11 13:27] (current) – [grabber.set] dragonlord | ||
---|---|---|---|
Line 88: | Line 88: | ||
^Parameter^Value^Description^ | ^Parameter^Value^Description^ | ||
|enabled|'' | |enabled|'' | ||
- | |release| |Release grab spot if grabbing one.| | ||
- | |interactElement.assign|string|Assign grab spot element to [[behavior_interactelement|ECBehaviorInteractElement]] with identifier matching value string. Action fails if no element is grabbed or interact element behavior is absent| | ||
This is an example of using this action: | This is an example of using this action: | ||
Line 95: | Line 93: | ||
<action name=' | <action name=' | ||
< | < | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | ===== grabber.update ===== | ||
+ | |||
+ | Update grabber. | ||
+ | |||
+ | ^Parameter^Value^Description^ | ||
+ | |release| |Release grab spot if grabbing one.| | ||
+ | |interactElement.assign|string|Assign grab spot element to [[behavior_interactelement|ECBehaviorInteractElement]] with identifier matching value string. Action fails if no element is grabbed or interact element behavior is absent| | ||
+ | |||
+ | This is an example of using this action: | ||
+ | <code xml> | ||
+ | <action name=' | ||
+ | < | ||
</ | </ | ||
</ | </ |