I'm a doctor, not a mechanic
UE1:Cannon (U1)
From Unreal Wiki, The Unreal Engine Documentation Site
| Object >> Actor >> Decoration >> Cannon |
Contents |
- Package:
- UnrealI
- Known direct subclass:
- HugeCannon
| This is an auto-generated page and may need human attention. Please remove this tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
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 |
|
Functions
Events
TakeDamage
event TakeDamage (int NDamage, Pawn instigatedBy, Object.Vector hitlocation, Object.Vector momentum, name damageType)
Overrides: Actor.TakeDamage
Trigger
Overrides: Decoration.Trigger
Other instance functions
Shoot
function Shoot ()
States
ActivateCannon
ActivateCannon.Timer
event Timer ()
Overrides: Decoration.Timer (global)
ActivateCannon.Trigger
Overrides: Trigger (global)
ActivateCannon.Shoot
function Shoot ()
Overrides: Shoot (global)
