ORK Framework  2.27.1
API Documentation
ORKFramework.GridMoveSettings Class Reference
Inheritance diagram for ORKFramework.GridMoveSettings:
ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
bool GetMoveAction (Combatant user, List< Combatant > targets, List< Combatant > allies, List< Combatant > enemies, out GridMoveAction action, GridMoveShortcut gridMoveShortcut)
 
override string ToString ()
 
- 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

AIGridMove moveType = AIGridMove.MoveTowardTarget
 
AIGridMoveTargetType targetType = AIGridMoveTargetType.Nearest
 
bool ignoreBlockingCombatants = false
 
bool gridCellTypeNearest = true
 
bool gridCellTypeFromTarget = false
 
bool gridCellTypeUseDistance = false
 
int gridCellTypeMinDistance = 1
 
int gridCellTypeMaxDistance = 1
 
int [] gridCellTypeID = new int[1]
 
bool considerGridFormation = false
 
ConsiderFormationCombatants considerGridFormationCombatants = ConsiderFormationCombatants.None
 
bool considerGridFormationReachable = true
 
bool considerGridFormationCellType = false
 
bool formationRotateToTarget = true
 
bool formationToNearest = true
 
bool blockTargetDiagonalDistance1 = false
 
bool inMoveRange = false
 
bool directMoveOnly = false
 
bool markTargetCell = false
 
bool noMoveOver = false
 
bool avoidEnemies = false
 
bool avoidAllies = false
 
bool ignoreAvoidedCells = false
 
GridCellAreaSettings enemyAvoidRange
 
GridCellAreaSettings allyAvoidRange
 
GridCellAreaSettings targetCells = new GridCellAreaSettings()
 
bool useEnemyDistance = false
 
bool enemyDistanceCheckPath = false
 
bool enemyDistanceIgnoreSizeCells = false
 
int enemyDistanceMin = 1
 
bool useEnemyDistanceMax = false
 
int enemyDistanceMax = 1
 
bool useLineOfSight = false
 
GridLineOfSight lineOfSight = new GridLineOfSight()
 

Member Function Documentation

◆ SetData()

override void ORKFramework.GridMoveSettings.SetData ( DataObject  data)
virtual

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

Parameters
dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.BaseData.