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

Tyrion.AI_Search

Extends
AI_MovementAction
Modifiers
editinlinenew

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

Constants Summary
SEARCH_DISTANCE1=1.0f
SEARCH_DISTANCE2=0.75f
SEARCH_ROTATION1=+1.1780972f
SEARCH_ROTATION2=-1.1780972f

Variables Summary
BaseAICharacterai
ACT_ErrorCodeserrorCode
Actornode
VectororgLocation
RotatororgRotation
InternalParameters
Character.GroundMovementLevelssearchSpeed
Pawntarget
Parameters
floatsearchDistance
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 ))
function cleanup ()))
functionVector getDestination (float searchDistance, float searchRotation ))
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

SEARCH_DISTANCE1 Source code

const SEARCH_DISTANCE1 = 1.0f;

SEARCH_DISTANCE2 Source code

const SEARCH_DISTANCE2 = 0.75f;

SEARCH_ROTATION1 Source code

const SEARCH_ROTATION1 = +1.1780972f;

SEARCH_ROTATION2 Source code

const SEARCH_ROTATION2 = -1.1780972f;


Variables Detail

ai Source code

var BaseAICharacter ai;

errorCode Source code

var ACT_ErrorCodes errorCode;

node Source code

var Actor node;

orgLocation Source code

var Vector orgLocation;

orgRotation Source code

var Rotator orgRotation;

InternalParameters

searchSpeed Source code

var(InternalParameters) editconst Character.GroundMovementLevels searchSpeed;
how fast the AI moves while searching

target Source code

var(InternalParameters) editconst Pawn target;

Parameters

searchDistance Source code

var(Parameters) float searchDistance;
how far the AI moves when searching for something


Functions Detail

actionFailedCB Source code

function actionFailedCB ( NS_Action child, ACT_ErrorCodes anErrorCode ) )

actionSucceededCB Source code

function actionSucceededCB ( NS_Action child ) )

cleanup Source code

function cleanup ( ) )

getDestination Source code

private final function Vector getDestination ( float searchDistance, float searchRotation ) )


Defaultproperties

defaultproperties
{
	satisfiesGoal = class'AI_SearchGoal'


	searchDistance = 600
}

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