This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
dragengine:modules:dragonscript:behavior_actormover [2025/03/11 23:13] – created dragonlord | dragengine:modules:dragonscript:behavior_actormover [2025/03/13 17:08] (current) – dragonlord | ||
---|---|---|---|
Line 1: | Line 1: | ||
{{tag> | {{tag> | ||
<WRAP youarehere> | <WRAP youarehere> | ||
- | [[: | + | [[: |
</ | </ | ||
Line 138: | Line 138: | ||
====== Required Behaviors ====== | ====== Required Behaviors ====== | ||
- | This behavior requires these other behaviors: | ||
* [[behavior_locomotion|ECBehaviorLocomotion]] | * [[behavior_locomotion|ECBehaviorLocomotion]] | ||
* [[behavior_navigator|ECBehaviorNavigator]] | * [[behavior_navigator|ECBehaviorNavigator]] | ||
Line 144: | Line 143: | ||
====== Optional Behaviors ====== | ====== Optional Behaviors ====== | ||
- | This behavior does support these optional behaviors: | ||
* [[behavior_rideon|ECBehaviorRideOn]] | * [[behavior_rideon|ECBehaviorRideOn]] | ||
* [[behavior_conversationactor|ECBehaviorConversationActor]]: | * [[behavior_conversationactor|ECBehaviorConversationActor]]: | ||
Line 175: | Line 173: | ||
public var ECBehaviorProjectToGround projectToGround | public var ECBehaviorProjectToGround projectToGround | ||
public var ECBehaviorRideOn rideOn | public var ECBehaviorRideOn rideOn | ||
+ | public var ECBehaviorConversationActor conversationActor | ||
public var ECBehaviorActorMover actorMover | public var ECBehaviorActorMover actorMover | ||
func new() | func new() | ||
Line 184: | Line 183: | ||
projectToGround = ECBehaviorProjectToGround.new(this, | projectToGround = ECBehaviorProjectToGround.new(this, | ||
rideOn = ECBehaviorRideOn.new(this, | rideOn = ECBehaviorRideOn.new(this, | ||
+ | conversationActor = ECBehaviorConversationActor.new(this) | ||
actorMover = ECBehaviorActorMover.new(this, | actorMover = ECBehaviorActorMover.new(this, | ||
actorMover.setConversationActor(conversationActor) | actorMover.setConversationActor(conversationActor) | ||
Line 203: | Line 203: | ||
< | < | ||
< | < | ||
+ | < | ||
| | ||
< | < |