Worst-case scenario: the UEd Goblin wipes the map and burns down your house.

UE2:U2ToscController (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
Package: 
U2Pawns

U2ToscController.uc Created By: Mike Fox Created On: 8/01/00 $Author: Mfox $ $Date: 12/16/02 10:31p $ $Revision: 16 $

Constants

DroppingArmState

Value: 'DroppingArm'


Properties

bDroppedArm

Type: bool


bReachedDropArmLocation

Type: bool


DropArmLocationActor

Type: Actor


DropArmThreshold

Type: float


Default value: 8.0

Instance functions

CanFire

function bool CanFire (bool bTest)

Overrides: U2NPCControllerBasic.CanFire


DropArm

function DropArm (Actor TargetActor)


DropArmAfterMoving

function DropArmAfterMoving (Actor TargetActor)


DropArmNow

function DropArmNow ()


MaybeAcquireEnemy

function bool MaybeAcquireEnemy (Pawn NewEnemy)

Overrides: U2NPCControllerBasic.MaybeAcquireEnemy


States

@AttackFallbackState

Inherits from: U2NPCControllerBasic.@AttackFallbackState

Ignores: EnemyInLeapRange, EnemyNotVisible, HearNoise, SeeAlertFriend, SeeEnemy, SeeFriend, SeeOther

@AttackFallbackState.CanFire

function bool CanFire (bool bTest)

Overrides: U2NPCControllerBasic.@AttackFallbackState.CanFire


@AttackFallbackState.eventTakeDamage

function eventTakeDamage (int Damage, Pawn Instigator, Object.Vector HitLocation, Object.Vector Momentum, class<DamageTypeDamageType)

Overrides: U2NPCControllerBasic.eventTakeDamage (global)


@AttackFallbackState.GetFinalDestinationActor

function Actor GetFinalDestinationActor ()

Overrides: U2NPCControllerBasic.@AttackFallbackState.GetFinalDestinationActor


@AttackFallbackState.HandleReachedOrdersObject

function HandleReachedOrdersObject ()

Overrides: U2NPCControllerBasic.@AttackFallbackState.HandleReachedOrdersObject


@AttackFallbackState.PickDestination

function PickDestination ()

Overrides: U2NPCControllerBasic.@AttackFallbackState.PickDestination


@DroppingArmState

Extends: U2NPCControllerBasic.@FrozenState

@DroppingArmState.BeginState

event BeginState ()

Overrides: U2NPCControllerBasic.@FrozenState.BeginState


@DroppingArmState.EndState

event EndState ()

Overrides: U2NPCControllerBasic.@FrozenState.EndState