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

Tyrion.AI_ReactToFire

Extends
AI_CharacterAction
Modifiers
editinlinenew dependsOn ( AI_ReactToFireSensor )

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

Constants Summary
DIRECTDETECT_RADIUS=1000.0f

Variables Summary
boolbFriendly
boolbPotentiallyVisible
boolbVisible
floatdistSquared
Rookenemy
Character.GroundMovementLevelssearchSpeed
floatsightRadius
AI_GoalsubGoal
TriggerCategoriestrigger
Parameters
floatallyShotDistance
floatnearHitDistance
floatpanicChance
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 ()))
functionfloat getSightRadius (Rook enemy ))
functionfloat selectionHeuristic (AI_Goal goal ))
function updateTargetPosition (AI_TargetSensor sensor, Rook enemy ))
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

DIRECTDETECT_RADIUS Source code

const DIRECTDETECT_RADIUS = 1000.0f;


Variables Detail

bFriendly Source code

var bool bFriendly;

bPotentiallyVisible Source code

var bool bPotentiallyVisible;

bVisible Source code

var bool bVisible;

distSquared Source code

var float distSquared;

enemy Source code

var Rook enemy;

searchSpeed Source code

var Character.GroundMovementLevels searchSpeed;

sightRadius Source code

var float sightRadius;

subGoal Source code

var AI_Goal subGoal;

trigger Source code

var TriggerCategories trigger;

Parameters

allyShotDistance Source code

var(Parameters) float allyShotDistance;
Max distance to react to an ally getting shot

nearHitDistance Source code

var(Parameters) float nearHitDistance;
Max distance to react to near hit

panicChance Source code

var(Parameters) float panicChance;
chance of panicking when being shot at by an unseen assailant


Functions Detail

cleanup Source code

function cleanup ( ) )

getSightRadius Source code

private final function float getSightRadius ( Rook enemy ) )

selectionHeuristic Source code

static function float selectionHeuristic ( AI_Goal goal ) )

updateTargetPosition Source code

private final function updateTargetPosition ( AI_TargetSensor sensor, Rook enemy ) )


Defaultproperties

defaultproperties
{
	satisfiesGoal = class'AI_ReactToFireGoal'
}

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