This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
dragengine:modules:dragonscript:behavior_interactionelement [2025/05/11 15:11] – [Behavior Factory] dragonlord | dragengine:modules:dragonscript:behavior_interactionelement [2025/05/11 15:20] (current) – dragonlord | ||
---|---|---|---|
Line 37: | Line 37: | ||
^Parameter^Value^Description^ | ^Parameter^Value^Description^ | ||
|interact|string|Interact with stored element. If element is absent action fails. Runs interaction with name value. If interaction with name value is absent fails action. If interaction returns false fails action. Otherwise action succeeds.| | |interact|string|Interact with stored element. If element is absent action fails. Runs interaction with name value. If interaction with name value is absent fails action. If interaction returns false fails action. Otherwise action succeeds.| | ||
- | |interact.parameter|string|Optional | + | |interact.parameters|string|Optional |
|assign|string|Assign stored interaction element to another ECBehaviorInteractionElement with identifier value| | |assign|string|Assign stored interaction element to another ECBehaviorInteractionElement with identifier value| | ||
|clear|string|Clear stored interaction element| | |clear|string|Clear stored interaction element| | ||
Line 57: | Line 57: | ||
|interact.has|'' | |interact.has|'' | ||
|interact.query|'' | |interact.query|'' | ||
- | |interact.parameter|string|Optional | + | |interact.parameters|string|Optional |
|wait| |If present action returns BTResult.running instead of BTResult.failed to wait until the checks are all fulfilled| | |wait| |If present action returns BTResult.running instead of BTResult.failed to wait until the checks are all fulfilled| | ||
Line 84: | Line 84: | ||
|interactionElement.interact.has|'' | |interactionElement.interact.has|'' | ||
|interactionElement.interact.query|'' | |interactionElement.interact.query|'' | ||
- | |interactionElement.interact.parameter|string|Optional | + | |interactionElement.interact.parameters|string|Optional |
This is an example of using this condition: | This is an example of using this condition: |