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

# Tyrion.AI_SquadPatrol

Extends
  AI_SquadAction
Modifiers
  editinlinenew

    Core.Object
    |
    +-- Core.RefCount
       |
       +-- Engine.Tyrion_ActionBase
          |
          +-- Tyrion.ActionBase
             |
             +-- Tyrion.AI_RunnableAction
                |
                +-- Tyrion.AI_Action
                   |
                   +-- Tyrion.AI_SquadAction
                      |
                      +-- Tyrion.AI_SquadPatrol

Variables Summary
float | closestDistSquared
int | closestIndex
float | distSquared
AI_Goal | moveGoal
Actor | node
int | patrolIndex
array<Vector> | patrolPoints
Parameters
bool | bExecuteOnce
Character.GroundMovementLevels | groundMovement
array<Name> | patrolPointNames

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

Functions Summary
|  | cleanup ()))

Inherited Functions from Tyrion.AI_SquadAction
classConstruct, findResource, getResourceClass, squad, squadResource

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

#### closestDistSquared Source code

var float closestDistSquared;

#### closestIndex Source code

var int closestIndex;

#### distSquared Source code

var float distSquared;

#### moveGoal Source code

var AI_Goal moveGoal;

#### node Source code

var Actor node;

#### patrolIndex Source code

var int patrolIndex;

#### patrolPoints Source code

var array<Vector> patrolPoints;

### Parameters

#### bExecuteOnce Source code

var(Parameters) bool bExecuteOnce;

> Go through the patrol nodes just once

#### groundMovement Source code

var(Parameters) Character.GroundMovementLevels groundMovement;

> Desired ground movement speed

#### patrolPointNames Source code

var(Parameters) editconst array<Name> patrolPointNames;

Functions Detail

#### cleanup Source code

function cleanup ( ) )

Defaultproperties

    defaultproperties
    {
    	satisfiesGoal = class'AI_SquadPatrolGoal'

    	closestDistSquared = 99999999999999.9f
    }

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

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