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

Tyrion.AI_CivilianReactToFire

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_CivilianReactToFire

Variables Summary
Pawnenemy
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
functionfloat selectionHeuristic (AI_Goal goal ))
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

enemy Source code

var Pawn enemy;

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


Functions Detail

selectionHeuristic Source code

static function float selectionHeuristic ( AI_Goal goal ) )


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:26.597 - Created with UnCodeX