There is no spoon

UE1:Cannon (RTNP)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
RTNP Object >> Actor >> Decoration >> Cannon
Package: 
UnrealI
Direct subclass:
HugeCannon
This class in other games:
U1, UT

Cannon.

Properties

Property group 'Cannon'

ActivateSound

Type: Sound


Default value: Sound'UnrealI.Cannon.CannonActivate'

DeactivateDistance

Type: float

How far away Instigator must be to deactivate Cannon

Default value: 2000.0

Drop

Type: float

How far down to drop spawning of projectile

Default value: 60.0

ExplodeSound

Type: Sound


Default value: Sound'UnrealI.Cannon.CannonExplode'

FireSound

Type: Sound


Default value: Sound'UnrealI.Cannon.CannonShot'

Health

Type: float


Default value: 100.0

SampleTime

Type: float

How often we sample Instigator's location

Default value: 0.3

TrackingRate

Type: int

How fast Cannon tracks Instigator

Default value: 10000

Internal variables

a

Type: Actor


bShoot

Type: bool


cTarget

Type: Actor


ShotsFired

Type: int


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

Functions

Events

TakeDamage

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

Overrides: Actor.TakeDamage


Trigger

event Trigger (Actor Other, Pawn EventInstigator)

Overrides: Decoration.Trigger


Other instance functions

Shoot

function Shoot ()


States

ActivateCannon

ActivateCannon.Timer

event Timer ()

Overrides: Decoration.Timer (global)


ActivateCannon.Trigger

event Trigger (Actor Other, Pawn EventInstigator)

Overrides: Trigger (global)


ActivateCannon.Shoot

function Shoot ()

Overrides: Shoot (global)


DeActivate