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

UE2:TurretController (U2)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
Package: 
Deployables
This class in other games:
UT2004

null

Properties

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

MyTurret

Type: Turret


TrackLevel

Type: int


TurningRateDegreesPerSecond

Type: float

rate at which turrent can adjust its aiming direction

Default value: 270.0

Instance functions

CanPerformAction

function bool CanPerformAction ()

Overrides: ProximitySensorController.CanPerformAction


GetAimRotation

function Object.Rotator GetAimRotation ()

Overrides: Controller.GetAimRotation


GetFireOffset

function Object.Vector GetFireOffset ()


GetStraightAheadLocation

function Object.Vector GetStraightAheadLocation ()


GetViewRotation

function Object.Rotator GetViewRotation ()

Overrides: Controller.GetViewRotation


OKToHit

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


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: ProximitySensorController.ValidEnemy


States

Action

Action.Tick

event Tick (float DeltaTime)

Overrides: ProximitySensorController.TrackingTarget.Tick


Action.PerformAction

function PerformAction ()

Overrides: ProximitySensorController.Action.PerformAction


Action.StopAction

function StopAction ()

Overrides: ProximitySensorController.Action.StopAction


Deactivated

Inherits from: ProximitySensorController.Deactivated

Ignores: SeeEnemy

Deactivated.BeginState

event BeginState ()

Overrides: ProximitySensorController.Deactivated.BeginState


Deactivated.Tick

event Tick (float DeltaTime)

Overrides: Actor.Tick (global)


Scanning

Scanning.BeginState

event BeginState ()

Overrides: ProximitySensorController.Scanning.BeginState


Scanning.Tick

event Tick (float DeltaTime)

Overrides: Actor.Tick (global)


TrackingTarget

Inherits from: ProximitySensorController.TrackingTarget

Ignores: SeeEnemy

TrackingTarget.BeginState

event BeginState ()

Overrides: ProximitySensorController.TrackingTarget.BeginState


TrackingTarget.Tick

event Tick (float DeltaTime)

Overrides: ProximitySensorController.TrackingTarget.Tick