This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
dragengine:modules:dragonscript:behavior_conversation [2025/05/01 10:38] – dragonlord | dragengine:modules:dragonscript:behavior_conversation [2025/09/15 10:24] (current) – [Behavior Tree Actions] dragonlord | ||
---|---|---|---|
Line 40: | Line 40: | ||
It checks if a behavior element has the ECBehaviorConversation behavior present. If this is the case it checks if the conversation can be started and starts it. | It checks if a behavior element has the ECBehaviorConversation behavior present. If this is the case it checks if the conversation can be started and starts it. | ||
- | Another way to start a conversation is using the triggerConversation. If this trigger | + | Another way to start a conversation is using the triggerConversation. If this trigger |
This method is typically used to trigger conversation if the player enters a TriggerTouch or he finished a sequence of actions ending in firing a trigger. | This method is typically used to trigger conversation if the player enters a TriggerTouch or he finished a sequence of actions ending in firing a trigger. | ||
Line 86: | Line 86: | ||
===== topic ===== | ===== topic ===== | ||
- | Set topic. | + | Set topic. Using simple conversation this is the snippet identifier. |
* Full name: '' | * Full name: '' | ||
* Type: string | * Type: string | ||
Line 112: | Line 112: | ||
====== Behavior Tree Actions ====== | ====== Behavior Tree Actions ====== | ||
- | This behavior adds these behavior tree actions if behavior tree is present. If behavior has non-empty identifier replace '' | + | This behavior adds these behavior tree actions if behavior tree is present. |
===== conversation.start ===== | ===== conversation.start ===== |