Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames

Tyrion.AI_SquadFollow

Extends
AI_SquadAction
Modifiers
implements IFollowFunction editinlinenew

Core.Object
|   
+-- Core.RefCount
   |   
   +-- Engine.Tyrion_ActionBase
      |   
      +-- Tyrion.ActionBase
         |   
         +-- Tyrion.AI_RunnableAction
            |   
            +-- Tyrion.AI_Action
               |   
               +-- Tyrion.AI_SquadAction
                  |   
                  +-- Tyrion.AI_SquadFollow

Constants Summary
MAX_SQUAD_SIZE=9
MIN_LEADER_SPEED=3

Variables Summary
intaliveFollowers
AI_GoalfollowGoals[MAX_SQUAD_SIZE]
inti
intlastUpdateOffset[MAX_SQUAD_SIZE]
Pawnpawn
intpositionMap[MAX_SQUAD_SIZE]
InternalParameters
Pawntarget
Parameters
floatenergyUsage
floatformationDiameter
Character.GroundMovementLevelspreferredGroundMovement
floatproximity
NametargetName
floatterminalHeight
floatterminalVelocity
Inherited Variables from Tyrion.AI_Action
achievingGoal, childGoals, heuristicValue, nsChild, resourceUsage, satisfiesGoal, waitingForGoalsN

Functions Summary
function assignPawnsToPositions ()))
function classConstruct ()))
function cleanup ()))
functionint nFollowers ()))
functionint nPossibleFollowers ()))
functionVector offset (Pawn leader, int positionIndex ))
functionVector offsetInternal (Pawn leader, int positionIndex ))
function pawnDied (Pawn member ))
functionfloat proximityFunction ()))
functionbool updateOffset (Pawn follower, Pawn leader, int positionIndex ))
functionbool validDestination (Vector point ))
functionbool verifyAliveFollowers ()))
Inherited Functions from Tyrion.AI_SquadAction
classConstruct, findResource, getResourceClass, squad, squadResource
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

MAX_SQUAD_SIZE Source code

const MAX_SQUAD_SIZE = 9;

MIN_LEADER_SPEED Source code

const MIN_LEADER_SPEED = 3;


Variables Detail

aliveFollowers Source code

var int aliveFollowers;

followGoals[MAX_SQUAD_SIZE] Source code

var AI_Goal followGoals[MAX_SQUAD_SIZE];

i Source code

var int i;

lastUpdateOffset[MAX_SQUAD_SIZE] Source code

var int lastUpdateOffset[MAX_SQUAD_SIZE];

pawn Source code

var Pawn pawn;

positionMap[MAX_SQUAD_SIZE] Source code

var int positionMap[MAX_SQUAD_SIZE];

InternalParameters

target Source code

var(InternalParameters) editconst Pawn target;

Parameters

energyUsage Source code

var(Parameters) float energyUsage;

formationDiameter Source code

var(Parameters) float formationDiameter;
What's the approximate diameter of the formation?

preferredGroundMovement Source code

var(Parameters) Character.GroundMovementLevels preferredGroundMovement;

proximity Source code

var(Parameters) float proximity;
How close to get to one's desired position while following

targetName Source code

var(Parameters) editinline Name targetName;
A pawn to follow

terminalHeight Source code

var(Parameters) float terminalHeight;

terminalVelocity Source code

var(Parameters) float terminalVelocity;


Functions Detail

assignPawnsToPositions Source code

function assignPawnsToPositions ( ) )

classConstruct Source code

function classConstruct ( ) )

cleanup Source code

function cleanup ( ) )

nFollowers Source code

function int nFollowers ( ) )

nPossibleFollowers Source code

function int nPossibleFollowers ( ) )

offset Source code

function Vector offset ( Pawn leader, int positionIndex ) )

offsetInternal Source code

function Vector offsetInternal ( Pawn leader, int positionIndex ) )

pawnDied Source code

function pawnDied ( Pawn member ) )

proximityFunction Source code

function float proximityFunction ( ) )

updateOffset Source code

function bool updateOffset ( Pawn follower, Pawn leader, int positionIndex ) )

validDestination Source code

function bool validDestination ( Vector point ) )

verifyAliveFollowers Source code

function bool verifyAliveFollowers ( ) )


Defaultproperties

defaultproperties
{
	satisfiesGoal = class'AI_SquadFollowGoal'
}

Overview Package Class Source Class tree Glossary
previous class      next class frames      no frames
Creation time: st 23.5.2018 00:10:27.551 - Created with UnCodeX