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

Tyrion.AI_TakeCover

Extends
AI_MovementAction
Modifiers
dependsOn ( NS_MoveToLocation ) editinlinenew

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

Constants Summary
BASE_NODE_GAP=125.0f
MAX_REACHABLE_NODES_CONSIDERED=10
MAX_SEARCH_TICKS=5
SEARCH_DURATION=10
SEARCH_RADIUS=2000.0f

Variables Summary
BaseAICharacterai
Vectordestination
ACT_ErrorCodeserrorCode
inti
NS_MoveToLocation.TerminalConditionsterminalCOnditions
InternalParameters
Pawntarget
Parameters
boolbSearch
floatenergyUsage
Inherited Variables from Tyrion.AI_Action
achievingGoal, childGoals, heuristicValue, nsChild, resourceUsage, satisfiesGoal, waitingForGoalsN

Functions Summary
function actionFailedCB (NS_Action child, ACT_ErrorCodes anErrorCode ))
function actionSucceededCB (NS_Action child ))
functionbool findCover (out Vector result, Pawn pawn, Pawn enemy, optional bool bDontUsePathNodes ))
function search (BaseAICharacter ai, float time ))
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

BASE_NODE_GAP Source code

const BASE_NODE_GAP = 125.0f;

MAX_REACHABLE_NODES_CONSIDERED Source code

const MAX_REACHABLE_NODES_CONSIDERED = 10;

MAX_SEARCH_TICKS Source code

const MAX_SEARCH_TICKS = 5;

SEARCH_DURATION Source code

const SEARCH_DURATION = 10;

SEARCH_RADIUS Source code

const SEARCH_RADIUS = 2000.0f;


Variables Detail

ai Source code

var BaseAICharacter ai;

destination Source code

var Vector destination;

errorCode Source code

var ACT_ErrorCodes errorCode;

i Source code

var int i;

terminalCOnditions Source code

var NS_MoveToLocation.TerminalConditions terminalCOnditions;

InternalParameters

target Source code

var(InternalParameters) editconst Pawn target;

Parameters

bSearch Source code

var(Parameters) bool bSearch;
look around if no cover is found?

energyUsage Source code

var(Parameters) float energyUsage;


Functions Detail

actionFailedCB Source code

function actionFailedCB ( NS_Action child, ACT_ErrorCodes anErrorCode ) )

actionSucceededCB Source code

function actionSucceededCB ( NS_Action child ) )

findCover Source code

static final function bool findCover ( out Vector result, Pawn pawn, Pawn enemy, optional bool bDontUsePathNodes ) )

search Source code

latent function search ( BaseAICharacter ai, float time ) )


Defaultproperties

defaultproperties
{
	satisfiesGoal = class'AI_TakeCoverGoal'
}

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