Drag[en]gine Script Module DragonScript
1.21
|
Conversation condition. More...
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) |
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.
|
protected |
bool Dragengine.Scenery.ECBehaviorActorMover.ConvoCondition.evaluateCondition | ( | ECBehaviorConversationActor.Instance | instance, |
Array | arguments | ||
) |
|
protected |
|
protected |
|
protected |
ConvoCondition Dragengine.Scenery.ECBehaviorActorMover.ConvoCondition.new | ( | Instance | instance | ) |
Instance Dragengine.Scenery.ECBehaviorActorMover.ConvoCondition.pInstance |