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

# Tyrion.AI_Animate

Extends
  AI_CharacterAction
Modifiers
  editinlinenew

    Core.Object
    |
    +-- Core.RefCount
       |
       +-- Engine.Tyrion_ActionBase
          |
          +-- Tyrion.ActionBase
             |
             +-- Tyrion.AI_RunnableAction
                |
                +-- Tyrion.AI_Action
                   |
                   +-- Tyrion.AI_CharacterAction
                      |
                      +-- Tyrion.AI_Animate

Variables Summary
Character | c
bool | didAnimate
int | i
InternalParameters
Actor | target
Parameters
Name | animName
bool | bFreezeMovement
bool | bNeedsToTurn
Rotator | facing
int | numIterations
Name | targetName

Inherited Variables from Tyrion.AI_CharacterAction
DummyHeadGoal, DummyMovementGoal, DummyWeaponGoal, headResourceStorage, movementResourceStorage, pawn, weaponResourceStorage

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

Functions Summary
|  | cleanup ()))

Inherited Functions from Tyrion.AI_CharacterAction
baseAIcharacter, character, characterResource, classConstruct, cleanup, clearDummyGoals, clearDummyHeadGoal, clearDummyMovementGoal, clearDummyWeaponGoal, findResource, getResourceClass, headResource, initAction, movementResource, rook, useResources, weaponResource

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

#### c Source code

var Character c;

#### didAnimate Source code

var bool didAnimate;

#### i Source code

var int i;

### InternalParameters

#### target Source code

var(InternalParameters) editconst Actor target;

### Parameters

#### animName Source code

var(Parameters) Name animName;

> Name of the animation to play

#### bFreezeMovement Source code

var(Parameters) bool bFreezeMovement;

> If true the target will not move while playing the animation

#### bNeedsToTurn Source code

var(Parameters) bool bNeedsToTurn;

> If true the targetName and facing values will be used

#### facing Source code

var(Parameters) Rotator facing;

> Where the AI turns to before animating if targetName is none

#### numIterations Source code

var(Parameters) int numIterations;

> The number of times the animation should loop, 0 means until the goal is unposted

#### targetName Source code

var(Parameters) Name targetName;

> The pawn to turn towards before animating

Functions Detail

#### cleanup Source code

function cleanup ( ) )

Defaultproperties

    defaultproperties
    {
    	resourceUsage = 0
    	satisfiesGoal = class'AI_AnimateGoal'
    }

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

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