Gah - a solution with more questions. – EntropicLqd

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

AT

Type: AutoTurret


bSettled

Type: bool


CurrentAimingLocation

Type: Object.Vector

where the satellite is

DesiredAimingLocation

Type: Object.Vector

where we'd like to move the satellite to

MinHitNonPawnDistance

Type: float


Default value: 512.0

TrackLevel

Type: int


TurningRateDegreesPerSecond

Type: float

rate at which turrent can adjust its aiming direction

Default value: 180.0

Instance functions

CanPerformAction

function bool CanPerformAction ()

Overrides: ProximitySensorController.CanPerformAction


GetFireOffset

function Object.Vector GetFireOffset ()


GetStraightAheadLocation

function Object.Vector GetStraightAheadLocation ()


OKToHit

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

Overrides: U2NPCController.OKToHit


Possess

function Possess (Pawn P)

Overrides: ProximitySensorController.Possess


SetDesiredAimingLocation

function SetDesiredAimingLocation (Object.Vector NewDesiredAimingLocation)


SetTargetingEffect

function SetTargetingEffect (int NewTrackLevel)

Overrides: ProximitySensorController.SetTargetingEffect


UpdateAiming

function UpdateAiming (float DeltaTime)


ValidEnemy

function bool ValidEnemy (Pawn Enemy)

Overrides: Controller.ValidEnemy


States

@ActionState

@ActionState.Tick

simulated event Tick (float DeltaTime)

Overrides: ProximitySensorController.@TrackingTargetState.Tick


@ActionState.PerformAction

simulated function PerformAction ()

Overrides: ProximitySensorController.@ActionState.PerformAction


@ActionState.StopAction

function StopAction ()

Overrides: ProximitySensorController.@ActionState.StopAction


@DeactivatedState

Inherits from: ProximitySensorController.@DeactivatedState

Ignores: SeeEnemy

@DeactivatedState.BeginState

event BeginState ()

Overrides: ProximitySensorController.@DeactivatedState.BeginState


@DeactivatedState.Tick

simulated event Tick (float DeltaTime)

Overrides: Actor.Tick (global)


@ScanningState

@ScanningState.BeginState

event BeginState ()

Overrides: ProximitySensorController.@ScanningState.BeginState


@ScanningState.Tick

simulated event Tick (float DeltaTime)

Overrides: Actor.Tick (global)


@TrackingTargetState

Inherits from: ProximitySensorController.@TrackingTargetState

Ignores: SeeEnemy

@TrackingTargetState.Tick

simulated event Tick (float DeltaTime)

Overrides: ProximitySensorController.@TrackingTargetState.Tick