User Tools

Site Tools


dragengine:modules:dragonscript:behavior_actormover

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
dragengine:modules:dragonscript:behavior_actormover [2025/03/11 23:13] – created dragonlorddragengine:modules:dragonscript:behavior_actormover [2025/03/13 17:08] (current) dragonlord
Line 1: Line 1:
 {{tag>dragonscript behavior}} {{tag>dragonscript behavior}}
 <WRAP youarehere> <WRAP youarehere>
-[[:start|Start Page]] >> [[main|DragonScript Scripting Language]] >> [[abstractions#behavior_elementsquick_and_easy_development|Behavior Elements: Quick and Easy Development]] >> **ECBehaviorActorMover**+[[:start|Start Page]] >> [[main|DragonScript Scripting Language]] >> [[dragengine:modules:dragonscript:abstractions|Abstraction Layers: How you want to build your Game]] >> [[dragengine:modules:dragonscript:behavior_elements|Behavior Elements]] >> **ECBehaviorActorMover**
 </WRAP> </WRAP>
  
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]]: Add conversation commands and conditions.   * [[behavior_conversationactor|ECBehaviorConversationActor]]: Add conversation commands and conditions.
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, colliderAI)     projectToGround = ECBehaviorProjectToGround.new(this, colliderAI)
     rideOn = ECBehaviorRideOn.new(this, locomotion, projectToGround)     rideOn = ECBehaviorRideOn.new(this, locomotion, projectToGround)
 +    conversationActor = ECBehaviorConversationActor.new(this)
     actorMover = ECBehaviorActorMover.new(this, locomotion, navigator, rideOn)     actorMover = ECBehaviorActorMover.new(this, locomotion, navigator, rideOn)
     actorMover.setConversationActor(conversationActor)     actorMover.setConversationActor(conversationActor)
Line 203: Line 203:
   <behavior type='ECBehaviorProjectToGround'/>   <behavior type='ECBehaviorProjectToGround'/>
   <behavior type='ECBehaviorRideOn'/>   <behavior type='ECBehaviorRideOn'/>
 +  <behavior type='ECBehaviorConversationActor'/>
      
   <behavior type='ECBehaviorActorMover'>   <behavior type='ECBehaviorActorMover'>
dragengine/modules/dragonscript/behavior_actormover.1741734824.txt.gz · Last modified: 2025/03/11 23:13 by dragonlord