I'm a doctor, not a mechanic
UE1:Cannon (RTNP)
From Unreal Wiki, The Unreal Engine Documentation Site
| Object >> Actor >> Decoration >> Cannon |
Contents |
- Package:
- UnrealI
- Direct subclass:
- HugeCannon
- This class in other games:
- U1, UT
| 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.
[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 |
|
[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
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
Overrides: Trigger (global)
[edit] ActivateCannon.Shoot
function Shoot ()
Overrides: Shoot (global)
