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

# Tyrion.AI_Resource

Extends
  Tyrion_ResourceBase
Modifiers
  native editinlinenew abstract

    Core.Object
    |
    +-- Core.RefCount
       |
       +-- Engine.Tyrion_ResourceBase
          |
          +-- Tyrion.AI_Resource

#### Direct Known Subclasses:

> AI_CharacterResource, AI_HeadResource, AI_MountResource, AI_MovementResource, AI_SensorResource, AI_SquadResource, AI_VehicleResource, AI_WeaponResource

Constants Summary
OPTIONAL_RESOURCE_PRIORITY | = | 20
RU_ARMS | = | 2
RU_HEAD | = | 1
RU_LEGS | = | 4
RU_MOUNT | = | 8

Variables Summary
array<AI_RunnableAction> | idleActions
array<AI_RunnableAction> | removedActions
array<AI_RunnableAction> | runningActions
array<AI_SensorAction> | sensorActions
array<AI_Sensor> | sensors
AI_Action | usedByAction

Inherited Variables from Engine.Tyrion_ResourceBase
abilities, bGoalsReset, bMatchGoals, bUnInitialized, goals

Inherited Variables from Core.RefCount
LatentStackLocations, m_RefCount

Enumerations Summary

Inherited Enumerations from Engine.Tyrion_ResourceBase
AI_LOD_Levels, ResourceTypes

Functions Summary
|  | addGoal (AI_Action parent, AI_Goal goal ))
| AI_SensorAction | addSensorActionClass (class sensorActionClass ))
| AI_Action | chooseAction (AI_Goal goal ))
|  | cleanup ()))
|  | deleteRemovedActions ()))
|  | deleteSensors ()))
|  | displayTyrionDebug ()))
| bool | doesParentHaveResource (AI_Action parentAction ))
| AI_Goal | findGoalByName (String gName ))
| class<AI_RunnableAction> | getActionClass ()
|  | init ()))
| Rook | localRook ()))
| bool | multipleActionsCheck (AI_Action action ))
| AI_Resource | myAddRef ()))
| Pawn | Pawn ()))
|  | pawnDied (Pawn pawn ))
|  | removeGoal (AI_Goal goal ))
|  | resetGoals ()))
|  | resourceCheck (AI_Goal goal, optional AI_Action bestAction ))
| bool | setActionParameters (AI_Goal goal, AI_Action action ))
| bool | setActionParametersInternal (Object goal, Object action)

Inherited Functions from Engine.Tyrion_ResourceBase
addAbility, assignAbility, assignGoal, cleanup, deleteRemovedActions, deleteSensors, displayTyrionDebug, init, isActive, pawnDied, requiredResourcesAvailable, resetGoals, setIndex, setResourceOwner, Tick

Inherited Functions from Core.RefCount
AddRef, Release

Constants Detail

#### OPTIONAL_RESOURCE_PRIORITY Source code

const OPTIONAL_RESOURCE_PRIORITY = 20;

#### RU_ARMS Source code

const RU_ARMS = 2;

#### RU_HEAD Source code

const RU_HEAD = 1;

#### RU_LEGS Source code

const RU_LEGS = 4;

#### RU_MOUNT Source code

const RU_MOUNT = 8;

Variables Detail

#### idleActions Source code

var array<AI_RunnableAction> idleActions;

#### removedActions Source code

var array<AI_RunnableAction> removedActions;

#### runningActions Source code

var array<AI_RunnableAction> runningActions;

#### sensorActions Source code

var array<AI_SensorAction> sensorActions;

#### sensors Source code

var array<AI_Sensor> sensors;

#### usedByAction Source code

var AI_Action usedByAction;

Functions Detail

#### addGoal Source code

function addGoal ( AI_Action parent, AI_Goal goal ) )

#### addSensorActionClass Source code

function AI_SensorAction addSensorActionClass ( class<AI_SensorAction> sensorActionClass ) )

#### chooseAction Source code

event AI_Action chooseAction ( AI_Goal goal ) )

#### cleanup Source code

function cleanup ( ) )

#### deleteRemovedActions Source code

event deleteRemovedActions ( ) )

#### deleteSensors Source code

function deleteSensors ( ) )

#### displayTyrionDebug Source code

function displayTyrionDebug ( ) )

#### doesParentHaveResource Source code

function bool doesParentHaveResource ( AI_Action parentAction ) )

#### findGoalByName Source code

function AI_Goal findGoalByName ( String gName ) )

#### getActionClass Source code

function class<AI_RunnableAction> getActionClass ( )

#### init Source code

event init ( ) )

#### localRook Source code

function Rook localRook ( ) )

#### multipleActionsCheck Source code

function bool multipleActionsCheck ( AI_Action action ) )

#### myAddRef Source code

function AI_Resource myAddRef ( ) )

#### Pawn Source code

event Pawn Pawn ( ) )

#### pawnDied Source code

function pawnDied ( Pawn pawn ) )

#### removeGoal Source code

function removeGoal ( AI_Goal goal ) )

#### resetGoals Source code

event resetGoals ( ) )

#### resourceCheck Source code

event resourceCheck ( AI_Goal goal, optional AI_Action bestAction ) )

#### setActionParameters Source code

function bool setActionParameters ( AI_Goal goal, AI_Action action ) )

#### setActionParametersInternal Source code

private native function bool setActionParametersInternal ( Object goal, Object action )

Defaultproperties

    defaultproperties
    {
    	bMatchGoals = 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:27.376 - Created with UnCodeX