I'm a doctor, not a mechanic

UE1:Cannon (RTNP)

From Unreal Wiki, The Unreal Engine Documentation Site

Jump to: navigation, search
RTNP Object >> Actor >> Decoration >> Cannon

Contents

Package: 
UnrealI
Direct subclass:
HugeCannon
This class in other games:
U1, UT

Cannon.

[edit] Properties

[edit] Property group 'Cannon'

[edit] ActivateSound

Type: Sound


Default value: Sound'UnrealI.Cannon.CannonActivate'

[edit] DeactivateDistance

Type: float

How far away Instigator must be to deactivate Cannon

Default value: 2000.0

[edit] Drop

Type: float

How far down to drop spawning of projectile

Default value: 60.0

[edit] ExplodeSound

Type: Sound


Default value: Sound'UnrealI.Cannon.CannonExplode'

[edit] FireSound

Type: Sound


Default value: Sound'UnrealI.Cannon.CannonShot'

[edit] Health

Type: float


Default value: 100.0

[edit] SampleTime

Type: float

How often we sample Instigator's location

Default value: 0.3

[edit] TrackingRate

Type: int

How fast Cannon tracks Instigator

Default value: 10000

[edit] Internal variables

[edit] a

Type: Actor


[edit] bShoot

Type: bool


[edit] cTarget

Type: Actor


[edit] ShotsFired

Type: int


[edit] Default values

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

[edit] Functions

[edit] Events

[edit] TakeDamage

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

Overrides: Actor.TakeDamage


[edit] Trigger

event Trigger (Actor Other, Pawn EventInstigator)

Overrides: Decoration.Trigger


[edit] Other instance functions

[edit] Shoot

function Shoot ()


[edit] States

[edit] ActivateCannon

[edit] ActivateCannon.Timer

event Timer ()

Overrides: Decoration.Timer (global)


[edit] ActivateCannon.Trigger

event Trigger (Actor Other, Pawn EventInstigator)

Overrides: Trigger (global)


[edit] ActivateCannon.Shoot

function Shoot ()

Overrides: Shoot (global)


[edit] DeActivate

Personal tools