Drag[en]gine Script Module DragonScript  1.21
Dragengine.Scenery.ECBehaviorActorMover.ConvoCondition Class Reference

Conversation condition. More...

Inheritance diagram for Dragengine.Scenery.ECBehaviorActorMover.ConvoCondition:

Public Member Functions

bool evaluateCondition (ECBehaviorConversationActor.Instance instance, Array arguments)
 
ConvoCondition new (Instance instance)
 

Public Attributes

Instance pInstance
 

Protected Member Functions

bool evaluateCloserThan (ECBehaviorConversationActor.Instance instance, Array arguments)
 
bool evaluateHasGoal (ECBehaviorConversationActor.Instance instance, Array arguments)
 
bool evaluateHasNoGoal (ECBehaviorConversationActor.Instance instance, Array arguments)
 
bool evaluatePaused (ECBehaviorConversationActor.Instance instance, Array arguments)
 

Detailed Description

Conversation condition.

Syntax: actorMover hasGoal|hasNoGoal|paused Calls hasGoal(), hasNoGoal(), getPause(). Typically used to check if the actor is moving to a goal or not.

actorMover closerThan goal|direct [distance] Checks if the distance to the goal is less than or equal to "distance". If no goal is set true is returned. If "goal" is specified uses remaining goal distance. If "direct" is specified uses distance between actor and goal position. The remaining goal distance is not necessarily the same as the direct line distance between the actor and the goal.

Member Function Documentation

◆ evaluateCloserThan()

bool Dragengine.Scenery.ECBehaviorActorMover.ConvoCondition.evaluateCloserThan ( ECBehaviorConversationActor.Instance  instance,
Array  arguments 
)
protected

◆ evaluateCondition()

bool Dragengine.Scenery.ECBehaviorActorMover.ConvoCondition.evaluateCondition ( ECBehaviorConversationActor.Instance  instance,
Array  arguments 
)

◆ evaluateHasGoal()

bool Dragengine.Scenery.ECBehaviorActorMover.ConvoCondition.evaluateHasGoal ( ECBehaviorConversationActor.Instance  instance,
Array  arguments 
)
protected

◆ evaluateHasNoGoal()

bool Dragengine.Scenery.ECBehaviorActorMover.ConvoCondition.evaluateHasNoGoal ( ECBehaviorConversationActor.Instance  instance,
Array  arguments 
)
protected

◆ evaluatePaused()

bool Dragengine.Scenery.ECBehaviorActorMover.ConvoCondition.evaluatePaused ( ECBehaviorConversationActor.Instance  instance,
Array  arguments 
)
protected

◆ new()

ConvoCondition Dragengine.Scenery.ECBehaviorActorMover.ConvoCondition.new ( Instance  instance)

Member Data Documentation

◆ pInstance

Instance Dragengine.Scenery.ECBehaviorActorMover.ConvoCondition.pInstance

The documentation for this class was generated from the following file: