This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| dragengine:modules:dragonscript:behavior_interactionelement [2026/10/12 21:44] – dragonlord | dragengine:modules:dragonscript:behavior_interactionelement [2026/11/20 16:24] (current) – [interactionElement.check] dragonlord | ||
|---|---|---|---|
| Line 44: | Line 44: | ||
| |assign|string|Assign stored interaction element to another ECBehaviorInteractionElement with identifier value| | |assign|string|Assign stored interaction element to another ECBehaviorInteractionElement with identifier value| | ||
| |runEvent|string|Run named event on all [[behavior_statemachine|ECBehaviorStateMachine]] instances of the stored interaction element with the element of this behavior as event parameter. Action fails if no element is stored.| | |runEvent|string|Run named event on all [[behavior_statemachine|ECBehaviorStateMachine]] instances of the stored interaction element with the element of this behavior as event parameter. Action fails if no element is stored.| | ||
| - | |clear|string|Clear stored interaction element| | + | |clear|-|Clear stored interaction element| |
| This is an example of using this action: | This is an example of using this action: | ||
| Line 65: | Line 65: | ||
| |interact.query|'' | |interact.query|'' | ||
| |interact.parameters|string|Optional parameters to use with '' | |interact.parameters|string|Optional parameters to use with '' | ||
| + | |matches|< | ||
| + | * '' | ||
| + | </ | ||
| + | |matches.not|< | ||
| + | * '' | ||
| + | </ | ||
| |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 94: | Line 100: | ||
| |interactionElement.interact.query|'' | |interactionElement.interact.query|'' | ||
| |interactionElement.interact.parameters|string|Optional parameters to use with '' | |interactionElement.interact.parameters|string|Optional parameters to use with '' | ||
| + | |interactionElement.matches|< | ||
| + | * '' | ||
| + | </ | ||
| + | |interactionElement.matches.not|< | ||
| + | * '' | ||
| + | </ | ||
| This is an example of using this condition: | This is an example of using this condition: | ||