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

Public Member Functions

override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
bool IsHunting (Combatant combatant, Combatant target)
bool IsInRange (Vector3 startPosition, Combatant combatant)
bool IsOutOfRange (Vector3 startPosition, Combatant combatant)
void Use (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 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 stoppedLookAtTarget = false
AssetSource< ORKGameEventdetectionGameEvent = new AssetSource<ORKGameEvent>()
bool detectionWaitForEvent = false
bool useRange = false
Range range
bool useStopRange = false
Range stopRange
bool useActionStopRange = false
bool useStopAngle = false
bool stopAngleLocal = false
float stopAngle = 0
Needed needed = Needed.One
MoveCondition [] condition = new MoveCondition[0]

Member Function Documentation

◆ SetData()

override void ORKFramework.AI.MoveAIHunting.SetData ( DataObject  data)

Sets the variables of the class using a ORKFramework.DataObject.

dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.