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

Tyrion.NS_Follow

Extends
NS_Action
Modifiers
implements IBooleanActionCondition threaded dependson ( NS_MoveToLocation )

Core.Object
|   
+-- Core.RefCount
   |   
   +-- Engine.Tyrion_ActionBase
      |   
      +-- Tyrion.ActionBase
         |   
         +-- Tyrion.NS_Action
            |   
            +-- Tyrion.NS_Follow

Constants Summary
DEFAULT_HEIGHT_ABOVE_GROUND=1000.0f
LOOKAHEAD_DISTANCE=250
MAX_UPDATE_TICKS=200
MIN_PREDICTION_SPEED=5.0f
MIN_UPDATE_TICKS=20
PROXIMITY_HYSTERESIS_FACTOR=1.2f
PROXIMITY_HYSTERESIS_MAX=500.0f
Inherited Contants from Tyrion.ActionBase
DONT_CARE

Variables Summary
boolbDoLOSCheck
boolbPredictedLocation
floatdesiredSpeed
Vectordestination
floatdistance
floatenergyUsage
IFollowFunctionfollowFunction
Character.GroundMovementLevelsgroundMovement
floatheight
array<Actor>ignore
Vectoroffset
intpositionIndex
floatproximity
Actortarget
RooktargetRook
NS_MoveToLocation.TerminalConditionsterminalConditions
floatterminalHeight
floatterminalVelocity
inttickCounter
Inherited Variables from Tyrion.NS_Action
bWakeUpParent, childAction, controller, errorCode, parentAction, tickTime, tickTimeOrg
Inherited Variables from Tyrion.ActionBase
bCompleted, bDeleted, bIdle, bSensorAction, bWasTicked

Enumerations Summary
Inherited Enumerations from Tyrion.ActionBase
ACT_ErrorCodes

Functions Summary
functionstring actionDebuggingString ()))
functionbool actionTest (ActionBase parent, NS_Action child ))
functionbool bLOSCheck ()))
function cleanup ()))
function computeDestinationAndDistance ()))
functionfloat maxWaitingDistance ()))
functionVector predictedLocation (Vector destination ))
functionfloat proximityFunction ()))
functionNS_Follow startAction (AI_Controller c, ActionBase parent, Actor target, float proximity, optional IFollowFunction followFunction, optional int positionIndex, optional float energyUsage, optional float terminalVelocity, optional float terminalHeight, optional float desiredSpeed ))
Inherited Functions from Tyrion.NS_Action
actionFailedCB, actionSucceededCB, checkForUniqueness, construct, fail, getChildReference, instantFail, interruptAction, myAddRef, pauseAction, removeAction, removeChildReference, runAction, setChildReference, succeed
Inherited Functions from Tyrion.ActionBase
actionFailedCB, actionSucceededCB, cleanup, closestPointOnALine, getChildReference, hasCompleted, instantFail, interruptActionIf, isIdle, isRunning, minDistBetweenTrajectories, pause, pauseAction, pawnDied, removeAction, removeChildReference, removeGoal, rotateZ, runAction, setChildReference, sleepForever, waitForAction, wasTicked, yield

States Summary
Running Source code
state Running


Constants Detail

DEFAULT_HEIGHT_ABOVE_GROUND Source code

const DEFAULT_HEIGHT_ABOVE_GROUND = 1000.0f;

LOOKAHEAD_DISTANCE Source code

const LOOKAHEAD_DISTANCE = 250;

MAX_UPDATE_TICKS Source code

const MAX_UPDATE_TICKS = 200;

MIN_PREDICTION_SPEED Source code

const MIN_PREDICTION_SPEED = 5.0f;

MIN_UPDATE_TICKS Source code

const MIN_UPDATE_TICKS = 20;

PROXIMITY_HYSTERESIS_FACTOR Source code

const PROXIMITY_HYSTERESIS_FACTOR = 1.2f;

PROXIMITY_HYSTERESIS_MAX Source code

const PROXIMITY_HYSTERESIS_MAX = 500.0f;


Variables Detail

bDoLOSCheck Source code

var bool bDoLOSCheck;

bPredictedLocation Source code

var bool bPredictedLocation;

desiredSpeed Source code

var float desiredSpeed;

destination Source code

var Vector destination;

distance Source code

var float distance;

energyUsage Source code

var float energyUsage;

followFunction Source code

var IFollowFunction followFunction;

groundMovement Source code

var Character.GroundMovementLevels groundMovement;

height Source code

var float height;

ignore Source code

var array<Actor> ignore;

offset Source code

var Vector offset;

positionIndex Source code

var int positionIndex;

proximity Source code

var float proximity;

target Source code

var Actor target;

targetRook Source code

var Rook targetRook;

terminalConditions Source code

var NS_MoveToLocation.TerminalConditions terminalConditions;

terminalHeight Source code

var float terminalHeight;

terminalVelocity Source code

var float terminalVelocity;

tickCounter Source code

var int tickCounter;


Functions Detail

actionDebuggingString Source code

function string actionDebuggingString ( ) )

actionTest Source code

static function bool actionTest ( ActionBase parent, NS_Action child ) )

bLOSCheck Source code

private final function bool bLOSCheck ( ) )

cleanup Source code

function cleanup ( ) )

computeDestinationAndDistance Source code

function computeDestinationAndDistance ( ) )

maxWaitingDistance Source code

private final function float maxWaitingDistance ( ) )

predictedLocation Source code

private final function Vector predictedLocation ( Vector destination ) )

proximityFunction Source code

private final function float proximityFunction ( ) )

startAction Source code

static function NS_Follow startAction ( AI_Controller c, ActionBase parent, Actor target, float proximity, optional IFollowFunction followFunction, optional int positionIndex, optional float energyUsage, optional float terminalVelocity, optional float terminalHeight, optional float desiredSpeed ) )


Defaultproperties

defaultproperties
{
	bPredictedLocation = true
}

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