ORK Framework  2.29.3
API Documentation
ORKFramework.AI.MoveAIProtection Class Reference
Inheritance diagram for ORKFramework.AI.MoveAIProtection:
ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

bool CheckProtectFrom (Combatant combatant, Combatant target)
 
Combatant GetProtectedMember (MoveAIComponent moveAI)
 
bool CheckProtectMember (Combatant combatant, Combatant member)
 
bool IsInRange (Vector3 startPosition, Combatant combatant)
 
bool IsOutOfRange (Vector3 startPosition, Combatant combatant)
 
void Use (MoveAIComponent moveAI)
 
Vector3 GetTargetPosition (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 stoppedLookAtTarget = false
 
AssetSource< ORKGameEventdetectionGameEvent = new AssetSource<ORKGameEvent>()
 
bool detectionWaitForEvent = false
 
bool useRange = false
 
Range range
 
Range stopRange = new Range(3, true, true, 0)
 
bool stopRangeFromProtected = false
 
bool useActionStopRange = false
 
Needed neededTarget = Needed.One
 
MoveCondition [] conditionTarget = new MoveCondition[0]
 
Needed neededMember = Needed.One
 
MoveCondition [] conditionMember = new MoveCondition[0]