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

# Tyrion.AI_SquadAttack

Extends
  AI_SquadAction
Modifiers
  editinlinenew

    Core.Object
    |
    +-- Core.RefCount
       |
       +-- Engine.Tyrion_ActionBase
          |
          +-- Tyrion.ActionBase
             |
             +-- Tyrion.AI_RunnableAction
                |
                +-- Tyrion.AI_Action
                   |
                   +-- Tyrion.AI_SquadAction
                      |
                      +-- Tyrion.AI_SquadAttack

Constants Summary
DEFAULT_PROXIMITY | = | 1000

Variables Summary
Pawn | attacker
bool | bAttackGoalPosted
int | i
Actor | targetActor
InternalParameters
Pawn | target
SquadInfo | targetSquad
Parameters
Name | targetName

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

Functions Summary
| Pawn | assignNewTarget (Pawn attacker ))
| Pawn | bestTarget (Pawn attacker ))
|  | goalAchievedCB (AI_Goal goal, AI_Action child ))
|  | goalNotAchievedCB (AI_Goal goal, AI_Action child, ACT_ErrorCodes errorCode ))

Inherited Functions from Tyrion.AI_SquadAction
classConstruct, findResource, getResourceClass, squad, squadResource

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

#### attacker Source code

var Pawn attacker;

#### bAttackGoalPosted Source code

var bool bAttackGoalPosted;

#### i Source code

var int i;

#### targetActor Source code

var Actor targetActor;

### InternalParameters

#### target Source code

var(InternalParameters) editconst Pawn target;

#### targetSquad Source code

var(InternalParameters) editconst SquadInfo targetSquad;

### Parameters

#### targetName Source code

var(Parameters) editinline Name targetName;

> Label of target pawn or squad

Functions Detail

#### assignNewTarget Source code

private function Pawn assignNewTarget ( Pawn attacker ) )

#### bestTarget Source code

private function Pawn bestTarget ( Pawn attacker ) )

#### goalAchievedCB Source code

function goalAchievedCB ( AI_Goal goal, AI_Action child ) )

#### goalNotAchievedCB Source code

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

Defaultproperties

    defaultproperties
    {
    	satisfiesGoal = class'AI_SquadAttackGoal'
    }

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