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

Tyrion.AI_DirectAttack

Extends
AI_CharacterAction
Modifiers
implements IFollowFunction editinlinenew

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

Constants Summary
DEFAULT_PROXIMITY=1000

Variables Summary
ACT_ErrorcodeserrorCode
AI_GoalfireAtGoal
AI_GoalmovementGoal
InternalParameters
IFollowFunctionfollowFunction
Pawntarget
IWeaponSelectionFunctionweaponSelection
Parameters
class<Weapon>preferredWeaponClass
intrank
NametargetName
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
function cleanup ()))
function goalAchievedCB (AI_Goal goal, AI_Action child ))
function goalNotAchievedCB (AI_Goal goal, AI_Action child, ACT_ErrorCodes anErrorCode ))
functionVector offset (Pawn leader, int positionIndex ))
functionfloat proximityFunction ()))
functionfloat selectionHeuristic (AI_Goal goal ))
functionbool updateOffset (Pawn follower, Pawn leader, int positionIndex ))
functionbool validDestination (Vector point ))
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


Constants Detail

DEFAULT_PROXIMITY Source code

const DEFAULT_PROXIMITY = 1000;


Variables Detail

errorCode Source code

var ACT_Errorcodes errorCode;

fireAtGoal Source code

var AI_Goal fireAtGoal;

movementGoal Source code

var AI_Goal movementGoal;

InternalParameters

followFunction Source code

var(InternalParameters) editconst IFollowFunction followFunction;

target Source code

var(InternalParameters) editconst Pawn target;

weaponSelection Source code

var(InternalParameters) editconst IWeaponSelectionFunction weaponSelection;

Parameters

preferredWeaponClass Source code

var(Parameters) class<Weapon> preferredWeaponClass;
AI will use this weapon if at all possible

rank Source code

var(Parameters) editconst int rank;
Rank of the AI; set by the ability in the class DB

targetName Source code

var(Parameters) editinline Name targetName;
Label of target (any Pawn)


Functions Detail

cleanup Source code

function cleanup ( ) )

goalAchievedCB Source code

function goalAchievedCB ( AI_Goal goal, AI_Action child ) )

goalNotAchievedCB Source code

function goalNotAchievedCB ( AI_Goal goal, AI_Action child, ACT_ErrorCodes anErrorCode ) )

offset Source code

function Vector offset ( Pawn leader, int positionIndex ) )

proximityFunction Source code

function float proximityFunction ( ) )

selectionHeuristic Source code

static function float selectionHeuristic ( AI_Goal goal ) )

updateOffset Source code

function bool updateOffset ( Pawn follower, Pawn leader, int positionIndex ) )

validDestination Source code

function bool validDestination ( Vector point ) )


Defaultproperties

defaultproperties
{
	satisfiesGoal = class'AI_DirectAttackGoal'
}

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