ORK Framework  2.25.2
API Documentation
ORKFramework.AI.MoveAICaution Class Reference
Inheritance diagram for ORKFramework.AI.MoveAICaution:
ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

bool IsCautious (Combatant combatant, Combatant target)
 
bool IsInRange (Vector3 startPosition, Combatant combatant)
 
bool IsOutOfRange (Vector3 startPosition, Combatant combatant)
 
void Use (MoveAIComponent moveAI)
 
bool CheckCritical (MoveAIComponent moveAI)
 
Vector3 GetTargetPosition (MoveAIComponent moveAI)
 
bool ReachedTarget (MoveAIComponent moveAI)
 
- Public Member Functions inherited from ORKFramework.BaseData
virtual DataObject GetData ()
 Gets a ORKFramework.DataObject representing the class. More...
 
virtual void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
virtual void EditorAutoSetup (string fieldName)
 Called for all fields using the autoSetup option of the ORKFramework.ORKEditorLayoutAttribute. More...
 

Public Attributes

bool enabled = false
 
bool useTargetChange = false
 
bool useRange = false
 
Range range
 
Range criticalRange = new Range(3)
 
bool criticalCancelCasting = false
 
bool preventCornered = false
 
bool criticalAlwaysCheck = false
 
bool criticalUseAllDetected = false
 
bool criticalIgnoreConditions = false
 
Range stopRange = new Range(5)
 
bool useActionStopRange = false
 
bool useStopAngle = false
 
bool stopAngleLocal = false
 
float stopAngle = 0
 
Needed needed = Needed.One
 
MoveCondition [] condition = new MoveCondition[0]