Always snap to grid

UE2:ProjectileLeech (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2XMP Object >> Actor >> Projectile >> U2Projectile >> ProjectileLeech
Package: 
U2Weapons

projectileLeech.uc $Author: Mfox $ $Date: 3/03/03 5:41p $ $Revision: 24 $

Properties

Property group 'projectileLeech'

AttackSound

Type: Sound


Default value: Sound'U2WeaponsA.LeechGun.LG_Attack'

DamagePerSecond

Type: Object.Range


Default value:

Member Value
A 9.0
B 18.0

DamageSpeedRng

Type: Object.Range


Default value:

Member Value
B 500.0

Internal variables

CurrentState

Type: name


DamageTimeAccum

Type: float


Victim

Type: Pawn


Default values

Property Value
DrawScale 0.2
ImpactSound Sound'U2WeaponsA.LeechGun.LG_Bounce'
LifeSpan 20.0
MaxSpeed 800.0
Mesh LegendMesh'GlmWeaponsG.LG_Leech'
MyDamageType Class'U2.DamageTypeLeechGun'
ParticleEffect ParticleSalamander'LeechFX.ParticleSalamander0'
ShakeDuration 0.3
ShakeMagnitude 10.0
ShakeRadius 128.0
Speed 800.0

Functions

Events

Replication

event Replication ()

Overrides: Projectile.Replication


Other instance functions

ClientAttack

simulated function ClientAttack (Pawn NewVictim)


PostRecvState

simulated function PostRecvState ()


ProcessTouch

function ProcessTouch (Actor Other, Object.Vector HitLocation)

Overrides: U2Projectile.ProcessTouch


States

Attacking

Modifiers: simulated

Ignores: TakeDamage

Attacking.BeginState

simulated event BeginState ()

Overrides: Object.BeginState (global)


Attacking.EndState

simulated event EndState ()

Overrides: Object.EndState (global)


Attacking.Tick

simulated event Tick (float DeltaTime)

Overrides: Actor.Tick (global)


Attacking.GetSecondsPerDamage

simulated function float GetSecondsPerDamage ()