Mostly Harmless

UE2:AutoTurretController (U2XMP)

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

AutoTurretController.uc Created by: Sam Brown Created on: 4/22/2002 $Author: Sbrown $ $Date: 12/12/02 16:15 $ $Revision: 18 $

Properties[edit]

AT[edit]

Type: AutoTurret


bSettled[edit]

Type: bool


CurrentAimingLocation[edit]

Type: Object.Vector

where the satellite is

DesiredAimingLocation[edit]

Type: Object.Vector

where we'd like to move the satellite to

MinHitNonPawnDistance[edit]

Type: float


Default value: 512.0

TrackLevel[edit]

Type: int


TurningRateDegreesPerSecond[edit]

Type: float

rate at which turrent can adjust its aiming direction

Default value: 180.0

Instance functions[edit]

CanPerformAction[edit]

function bool CanPerformAction ()

Overrides: ProximitySensorController.CanPerformAction


GetFireOffset[edit]

function Object.Vector GetFireOffset ()


GetStraightAheadLocation[edit]

function Object.Vector GetStraightAheadLocation ()


OKToHit[edit]

function bool OKToHit (Actor HitActor, Object.Vector HitLocation, Object.Vector HitNormal)

Overrides: U2NPCController.OKToHit


Possess[edit]

function Possess (Pawn P)

Overrides: ProximitySensorController.Possess


SetDesiredAimingLocation[edit]

function SetDesiredAimingLocation (Object.Vector NewDesiredAimingLocation)


SetTargetingEffect[edit]

function SetTargetingEffect (int NewTrackLevel)

Overrides: ProximitySensorController.SetTargetingEffect


UpdateAiming[edit]

function UpdateAiming (float DeltaTime)


ValidEnemy[edit]

function bool ValidEnemy (Pawn Enemy)

Overrides: Controller.ValidEnemy


States[edit]

@ActionState[edit]

@ActionState.Tick[edit]

simulated event Tick (float DeltaTime)

Overrides: ProximitySensorController.@TrackingTargetState.Tick


@ActionState.PerformAction[edit]

simulated function PerformAction ()

Overrides: ProximitySensorController.@ActionState.PerformAction


@ActionState.StopAction[edit]

function StopAction ()

Overrides: ProximitySensorController.@ActionState.StopAction


@DeactivatedState[edit]

Inherits from: ProximitySensorController.@DeactivatedState

Ignores: SeeEnemy

@DeactivatedState.BeginState[edit]

event BeginState ()

Overrides: ProximitySensorController.@DeactivatedState.BeginState


@DeactivatedState.Tick[edit]

simulated event Tick (float DeltaTime)

Overrides: Actor.Tick (global)


@ScanningState[edit]

@ScanningState.BeginState[edit]

event BeginState ()

Overrides: ProximitySensorController.@ScanningState.BeginState


@ScanningState.Tick[edit]

simulated event Tick (float DeltaTime)

Overrides: Actor.Tick (global)


@TrackingTargetState[edit]

Inherits from: ProximitySensorController.@TrackingTargetState

Ignores: SeeEnemy

@TrackingTargetState.Tick[edit]

simulated event Tick (float DeltaTime)

Overrides: ProximitySensorController.@TrackingTargetState.Tick