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

UE2:Turret (U2)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2 Object >> Actor >> Pawn >> StationaryPawn >> DeployedUnit >> ProximitySensor >> Turret
Package: 
Deployables
Direct subclasses:
AutoTurret, RocketTurret

null

Properties

Property group 'Turret'

BoneElevatorEnd

Type: name


Default value: 'ElevatorEnd'

BoneLeftBarrelEnd

Type: name


Default value: 'LeftEnd'

BonePitch

Type: name


Default value: 'Elevator'

BoneRightBarrelEnd

Type: name


Default value: 'RightEnd'

BoneYaw

Type: name


Default value: 'Rotator'

bSplashDamage

Type: bool


TurretMoveSound

Type: Sound


WeaponType

Type: class<Weapon>


Internal variables

AimingRotation

Type: Object.Rotator


AimingVector

Type: Object.Vector


ClientAimingVector

Type: Object.Vector


Default value:

Member Value
X 9999999.0
Y 9999999.0
Z 9999999.0

MyWeapon

Type: Weapon


ViewOffset

Type: Object.Vector


Default values

Property Value
AlternateSkins[0] Shader'Arch_TurretsT.Small.metl_DeployableTurret_001_Red'
AlternateSkins[1] Shader'Arch_TurretsT.Small.metl_deployableturret_001_blue'
bHasAttack True
CollisionHeight 60.0
CollisionRadius 50.0
ControllerClass Class'Deployables.TurretController'
Description "Turret"
DrawScale 1.0
Health 500
PeripheralVision 0.5
PrePivot
Member Value
Z 0.0
SightRadius 4000.0
SpamTexture0 Texture'Legend.Skins.JLSSRed'
SpamTexture1 Texture'Legend.Skins.JLSSBlue'
StaticMesh StaticMesh'Arch_TurretsM.Small.Deployable_Base_TD_01'

Functions

Events

PostNetReceive

simulated event PostNetReceive ()

Overrides: DeployedUnit.PostNetReceive


SetAnimAction

simulated event SetAnimAction (name NewAction)

Overrides: Pawn.SetAnimAction


TakeDamage

event TakeDamage (int Damage, Pawn InstigatedBy, Object.Vector HitLocation, Object.Vector Momentum, class<DamageTypeDamageType)

Overrides: DeployedUnit.TakeDamage


Other instance functions

ApplyAimingRotation

simulated function ApplyAimingRotation ()


FiredWeapon

function FiredWeapon ()


GetAimingRotation

function Object.Rotator GetAimingRotation ()


GetViewLocation

simulated function Object.Vector GetViewLocation ()

Overrides: Pawn.GetViewLocation


Initialize

function Initialize (bool bAltActivate)

Overrides: DeployedUnit.Initialize


RegisterConsumer

function RegisterConsumer ()

Overrides: DeployedUnit.RegisterConsumer


SetAimingRotation

function SetAimingRotation (Object.Vector AimVector)


SetPitch

simulated function SetPitch (Object.Rotator NewRotation)


SetTeam

simulated function SetTeam (int NewTeam)

Overrides: DeployedUnit.SetTeam


SetYaw

simulated function SetYaw (Object.Rotator NewRotation)


ShutDownDeployedUnit

function ShutDownDeployedUnit (bool bDestroyed, optional Pawn P)

Overrides: DeployedUnit.ShutDownDeployedUnit


UnRegisterConsumer

function UnRegisterConsumer ()

Overrides: DeployedUnit.UnRegisterConsumer


States

Offline

Offline.BeginState

event BeginState ()

Overrides: Object.BeginState (global)


Offline.EndState

event EndState ()

Overrides: Object.EndState (global)