I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX

UE1:Cannon (UT)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 09:11, 17 May 2008 by Wormbo (Talk | contribs) (Auto-generated page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UT Object >> Actor >> Decoration >> Cannon
Package: 
UnrealI
Direct subclass:
HugeCannon
This class in other games:
RTNP, U1

Cannon.

Properties[edit]

Property group 'Cannon'[edit]

ActivateSound[edit]

Type: Sound


Default value: Sound'UnrealI.Cannon.CannonActivate'

DeactivateDistance[edit]

Type: float

How far away Instigator must be to deactivate Cannon

Default value: 2000.0

Drop[edit]

Type: float

How far down to drop spawning of projectile

Default value: 60.0

ExplodeSound[edit]

Type: Sound


Default value: Sound'UnrealI.Cannon.CannonExplode'

FireSound[edit]

Type: Sound


Default value: Sound'UnrealI.Cannon.CannonShot'

Health[edit]

Type: float


Default value: 100.0

SampleTime[edit]

Type: float

How often we sample Instigator's location

Default value: 0.3

TrackingRate[edit]

Type: int

How fast Cannon tracks Instigator

Default value: 10000

Internal variables[edit]

a[edit]

Type: Actor


bShoot[edit]

Type: bool


cTarget[edit]

Type: Actor


ShotsFired[edit]

Type: int


Default values[edit]

Property Value
bCollideActors True
bCollideWorld True
bProjTarget True
bStatic False
CollisionHeight 44.0
CollisionRadius 44.0
DrawType DT_Mesh
Mesh LodMesh'UnrealI.CannonM'
RotationRate
Member Value
Yaw 50000

Functions[edit]

Events[edit]

TakeDamage[edit]

event TakeDamage (int NDamage, Pawn instigatedBy, Object.Vector hitlocation, Object.Vector momentum, name damageType)

Overrides: Actor.TakeDamage


Trigger[edit]

event Trigger (Actor Other, Pawn EventInstigator)

Overrides: Decoration.Trigger


Other instance functions[edit]

Shoot[edit]

function Shoot ()


States[edit]

ActivateCannon[edit]

ActivateCannon.Timer[edit]

event Timer ()

Overrides: Decoration.Timer (global)


ActivateCannon.Trigger[edit]

event Trigger (Actor Other, Pawn EventInstigator)

Overrides: Trigger (global)


ActivateCannon.Shoot[edit]

function Shoot ()

Overrides: Shoot (global)


DeActivate[edit]