Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation
previous class next class | frames no frames

# Tyrion.AI_CombatMovement

Extends
  AI_MovementAction
Modifiers
  implements IBooleanGoalCondition editinlinenew

    Core.Object
    |
    +-- Core.RefCount
       |
       +-- Engine.Tyrion_ActionBase
          |
          +-- Tyrion.ActionBase
             |
             +-- Tyrion.AI_RunnableAction
                |
                +-- Tyrion.AI_Action
                   |
                   +-- Tyrion.AI_MovementAction
                      |
                      +-- Tyrion.AI_CombatMovement

Constants Summary
COVER_UPDATE_PERIOD | = | 4.0f
DRAW_OUT_DISTANCE | = | 2000.0f
FLANKING_UPDATE_PERIOD | = | 2.0f
PROXIMITY_HYSTERESIS_DRAW_OUT | = | 0.9f
PROXIMITY_HYSTERESIS_STAY_AT_RANGE | = | 0.5f
SIDESTEP_RADIUS | = | 800.0f

Variables Summary
BaseAICharacter | ai
bool | bCover
CombatMovementCategories | combatMovement
CombatRangeCategories | combatRange
ACT_Errorcodes | errorCode
AI_Goal | followGoal
float | lastCoverUpdateTime
float | lastFlankingUpdateTime
float | lastMovementTime
AI_Goal | moveGoal
Vector | movePoint
Character.GroundMovementLevels | moveSpeed
float | proximityHysteresis
AI_TargetMemorySensor | targetMemorySensor
InternalParameters
IFollowFunction | followFunction
Pawn | target
Parameters
float | energyUsage
float | proximity
float | sideStepInterval

Inherited Variables from Tyrion.AI_Action
achievingGoal, childGoals, heuristicValue, nsChild, resourceUsage, satisfiesGoal, waitingForGoalsN

Functions Summary
| bool | bValidLocation (Vector loc ))
|  | cleanup ()))
| Vector | getBackupPoint ()))
| Vector | getCoverPoint ()))
| Vector | getFlankPoint ()))
| Vector | getSidestepPoint ()))
|  | goalNotAchievedCB (AI_Goal goal, AI_Action child, ACT_ErrorCodes anErrorCode ))
| bool | goalTest (AI_Goal goal ))
| float | proximityFunction ()))

Inherited Functions from Tyrion.AI_MovementAction
baseAIcharacter, character, characterResource, classConstruct, findResource, getResourceClass, movementResource, rook, runAction

Inherited Functions from Tyrion.AI_Action
fail, getChildReference, getResource, goalAchievedCB, goalNotAchievedCB, initAction, instantFail, instantSucceed, interruptAction, interruptGoalIf, myAddRef, OnSensorMessage, removeAction, removeChildReference, resourceStolenCB, runAction, selectionHeuristic, setChildReference, succeed, waitForAllGoals, waitForAllGoalsConsidered, waitForAllGoalsInList, waitForAnyGoal, waitForGoal, waitForResourcesAvailable

States Summary

Running Source code
state Running

Constants Detail

#### COVER_UPDATE_PERIOD Source code

const COVER_UPDATE_PERIOD = 4.0f;

#### DRAW_OUT_DISTANCE Source code

const DRAW_OUT_DISTANCE = 2000.0f;

#### FLANKING_UPDATE_PERIOD Source code

const FLANKING_UPDATE_PERIOD = 2.0f;

#### PROXIMITY_HYSTERESIS_DRAW_OUT Source code

const PROXIMITY_HYSTERESIS_DRAW_OUT = 0.9f;

#### PROXIMITY_HYSTERESIS_STAY_AT_RANGE Source code

const PROXIMITY_HYSTERESIS_STAY_AT_RANGE = 0.5f;

#### SIDESTEP_RADIUS Source code

const SIDESTEP_RADIUS = 800.0f;

Variables Detail

#### ai Source code

var BaseAICharacter ai;

#### bCover Source code

var bool bCover;

#### combatMovement Source code

var CombatMovementCategories combatMovement;

#### combatRange Source code

var CombatRangeCategories combatRange;

#### errorCode Source code

var ACT_Errorcodes errorCode;

#### followGoal Source code

var AI_Goal followGoal;

#### lastCoverUpdateTime Source code

var float lastCoverUpdateTime;

#### lastFlankingUpdateTime Source code

var float lastFlankingUpdateTime;

#### lastMovementTime Source code

var float lastMovementTime;

#### moveGoal Source code

var AI_Goal moveGoal;

#### movePoint Source code

var Vector movePoint;

#### moveSpeed Source code

var Character.GroundMovementLevels moveSpeed;

#### proximityHysteresis Source code

var float proximityHysteresis;

#### targetMemorySensor Source code

var AI_TargetMemorySensor targetMemorySensor;

### InternalParameters

#### followFunction Source code

var(InternalParameters) editconst IFollowFunction followFunction;

#### target Source code

var(InternalParameters) editconst Pawn target;

### Parameters

#### energyUsage Source code

var(Parameters) float energyUsage;

#### proximity Source code

var(Parameters) float proximity;

#### sideStepInterval Source code

var(Parameters) float sideStepInterval;

> how frequently AI's side steps when in CM_SIDE_STEP

Functions Detail

#### bValidLocation Source code

private final function bool bValidLocation ( Vector loc ) )

#### cleanup Source code

function cleanup ( ) )

#### getBackupPoint Source code

private final function Vector getBackupPoint ( ) )

#### getCoverPoint Source code

private final function Vector getCoverPoint ( ) )

#### getFlankPoint Source code

private final function Vector getFlankPoint ( ) )

#### getSidestepPoint Source code

private final function Vector getSidestepPoint ( ) )

#### goalNotAchievedCB Source code

function goalNotAchievedCB ( AI_Goal goal, AI_Action child, ACT_ErrorCodes anErrorCode ) )

#### goalTest Source code

static function bool goalTest ( AI_Goal goal ) )

#### proximityFunction Source code

private final function float proximityFunction ( ) )

Defaultproperties

    defaultproperties
    {
    	satisfiesGoal = class'AI_CombatMovementGoal'
    }

Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation
previous class next class | frames no frames

Creation time: st 23.5.2018 00:10:26.607 - Created with UnCodeX