This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
dragengine:modules:dragonscript:behavior_conversation [2025/03/12 17:29] – created dragonlord | dragengine:modules:dragonscript:behavior_conversation [2025/05/01 10:38] (current) – dragonlord | ||
---|---|---|---|
Line 1: | Line 1: | ||
{{tag> | {{tag> | ||
<WRAP youarehere> | <WRAP youarehere> | ||
- | [[: | + | [[: |
</ | </ | ||
Line 43: | Line 43: | ||
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. | ||
+ | |||
+ | See also: | ||
+ | * [[gamedev: | ||
====== Instance Counts ====== | ====== Instance Counts ====== | ||
Line 106: | Line 109: | ||
This behavior has no events. | This behavior has no events. | ||
+ | |||
+ | ====== Behavior Tree Actions ====== | ||
+ | |||
+ | This behavior adds these behavior tree actions if behavior tree is present. If behavior has non-empty identifier replace '' | ||
+ | |||
+ | ===== conversation.start ===== | ||
+ | |||
+ | Start conversation. Behavior tree will not run while the actor owning this behavior is part of the conversation. After the actor left the conversation the behavior tree continues with the next action. | ||
+ | |||
+ | This is an example of using this action: | ||
+ | <code xml> | ||
+ | <action name=' | ||
+ | </ | ||
====== Required Behaviors ====== | ====== Required Behaviors ====== | ||
- | This behavior requires these other behaviors: | ||
* [[behavior_conversationactor|ECBehaviorConversationActor]] | * [[behavior_conversationactor|ECBehaviorConversationActor]] | ||
Line 157: | Line 172: | ||
| | ||
<string name=' | <string name=' | ||
+ | | ||
+ | <!-- optional: identifier of ECBehaviorTriggered to synchronize with or empty | ||
+ | | ||
+ | <string name=' | ||
| | ||
<!-- optional: use BaseGameApp player controllable actor. | <!-- optional: use BaseGameApp player controllable actor. |