Always snap to grid

UE2:ONSDecoy (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2004 Object >> Actor >> Projectile >> ONSDecoy
Package: 
OnslaughtBP

When out in the world, this can be used to decoy an avril.

Properties

DecoyFlightSFX

Type: Emitter

The actual effect

DecoyFlightSFXClass

Type: class<Emitter>

Class of the emitter to spawn for the effect

Default value: Class'OnslaughtBP.ONSDecoyFlight'

DecoyLaunchSFXClass

Type: class<Emitter>

Class of the emitter to spawn when launched

Default value: Class'OnslaughtBP.ONSDecoyLaunch'

DecoyRange

Type: float

Much much range before the decoy says look at me

Default value: 2048.0

ProtectedTarget

Type: ONSDualAttackCraft

Protect this vehicle

Default values

Property Value
AmbientSound Sound'CicadaSnds.Decoy.DecoyFlight'
bBounce True
Damage 50.0
DamageRadius 250.0
LifeSpan 5.0
MaxSpeed 1500.0
MomentumTransfer 10000.0
Physics PHYS_Falling
Speed 1000.0

Functions

Events

Destroyed

simulated event Destroyed ()

Overrides: Actor.Destroyed


Landed

simulated event Landed (Object.Vector HitNormal)

Overrides: Actor.Landed


PostBeginPlay

simulated event PostBeginPlay ()

Overrides: Projectile.PostBeginPlay


PostNetBeginPlay

simulated event PostNetBeginPlay ()

Overrides: Actor.PostNetBeginPlay


Other instance functions

CheckRange

function bool CheckRange (Actor Aggressor)