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

# Tyrion.AI_ReactToFireGoal

Extends
  AI_CharacterGoal
Modifiers
  editinlinenew

    Core.Object
    |
    +-- Core.RefCount
       |
       +-- Engine.Tyrion_GoalBase
          |
          +-- Tyrion.AI_Goal
             |
             +-- Tyrion.AI_CharacterGoal
                |
                +-- Tyrion.AI_ReactToFireGoal

Variables Summary
Parameters
float | allyShotDistance
float | nearHitDistance
float | panicChance

Inherited Variables from Tyrion.AI_Goal
achievingAction, activationSentinel, bDeleted, bGoalAchieved, bGoalConsidered, bGoalFailed, bInactive, bPermanent, bRemoveGoalOfSameType, bTerminateIfStolen, bTryOnlyOnce, bWakeUpPoster, deactivationSentinel, goalName, ignoreCounter, matchedN, notificationRecipients, parentAction, Priority, resource

Functions Summary
|  | construct (AI_Resource r, int pri, float _panicChance, float _nearHitDistance, float _allyShotDistance ))
|  | init (AI_Resource r ))

Inherited Functions from Tyrion.AI_CharacterGoal
findResource, getResourceClass

Inherited Functions from Tyrion.AI_Goal
activate, addNotificationRecipient, beingAchieved, changePriority, cleanup, construct, deactivate, findGoalByName, findGoalInCharacterByName, findGoalInSquadByName, findGoalInTurretByName, findGoalInVehicleByName, getResource, handleGoalFailure, handleGoalSuccess, hasCompleted, init, markGoalAsAchieved, markGoalAsFailed, myAddRef, notifyCompletion, onSensorMessage, postGoal, priorityFn, setUpDeactivationSentinel, unPostGoal, wasAchieved, wasConsidered, wasNotAchieved

Variables Detail

### 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

#### construct Source code

overloaded function construct ( AI_Resource r, int pri, float _panicChance, float _nearHitDistance, float _allyShotDistance ) )

#### init Source code

function init ( AI_Resource r ) )

Defaultproperties

    defaultproperties
    {
    	priority = 35
    	bInactive = true
    	bPermanent = true

    	panicChance = 0.0f
    	nearHitDistance = 1000
    	allyShotDistance = 2000
    }

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.328 - Created with UnCodeX