Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation
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
bool | bDoLOSCheck
bool | bPredictedLocation
float | desiredSpeed
Vector | destination
float | distance
float | energyUsage
IFollowFunction | followFunction
Character.GroundMovementLevels | groundMovement
float | height
array<Actor> | ignore
Vector | offset
int | positionIndex
float | proximity
Actor | target
Rook | targetRook
NS_MoveToLocation.TerminalConditions | terminalConditions
float | terminalHeight
float | terminalVelocity
int | tickCounter

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
| string | actionDebuggingString ()))
| bool | actionTest (ActionBase parent, NS_Action child ))
| bool | bLOSCheck ()))
|  | cleanup ()))
|  | computeDestinationAndDistance ()))
| float | maxWaitingDistance ()))
| Vector | predictedLocation (Vector destination ))
| float | proximityFunction ()))
| 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 ))

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 | UnrealScript Documentation
previous class next class | frames no frames

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