Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation
previous class next class | frames no frames

# Tyrion.AI_Wander

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_Wander

Variables Summary
ACT_ErrorCodes | errorCode
Vector | nextDest
Actor | node
int | randomIndex
Vector | wanderCenter
Parameters
Character.GroundMovementLevels | groundMovement
Range | pauseRange
array<Name> | wanderPointNames
float | wanderRadius

Inherited Variables from Tyrion.AI_Action
achievingGoal, childGoals, heuristicValue, nsChild, resourceUsage, satisfiesGoal, waitingForGoalsN

Functions Summary
|  | actionFailedCB (NS_Action child, ACT_ErrorCodes anErrorCode ))
|  | actionSucceededCB (NS_Action child ))
|  | cleanup ()))

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

Variables Detail

#### errorCode Source code

var ACT_ErrorCodes errorCode;

#### nextDest Source code

var Vector nextDest;

#### node Source code

var Actor node;

#### randomIndex Source code

var int randomIndex;

#### wanderCenter Source code

var Vector wanderCenter;

### Parameters

#### groundMovement Source code

var(Parameters) Character.GroundMovementLevels groundMovement;

> Desired ground movement speed

#### pauseRange Source code

var(Parameters) Range pauseRange;

> min and max wait times between moves

#### wanderPointNames Source code

var(Parameters) editconst array<Name> wanderPointNames;

#### wanderRadius Source code

var(Parameters) float wanderRadius;

> when no path nodes are specified, wander inside this radius

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 ( ) )

Defaultproperties

    defaultproperties
    {
    	satisfiesGoal = class'AI_WanderGoal'
    }

Overview | Package | Class | Source | Class tree | Glossary | UnrealScript Documentation
previous class next class | frames no frames

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