Mostly Harmless

UE2:Projectile (U2)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2 Object >> Actor >> Projectile
Package: 
Engine
Direct subclasses:
GrenadeProjectile, AssaultExplosionAlt, AssaultProjectileAlt, EMPProjectile, RocketProjectileAlt, RocketProjectileDrunken, RocketProjectileHeavy, RocketProjectileSeeking, ShotgunProjectileAlt, ShotgunProjectile, Vehicles.MortarProjectile, Vehicles.JuggernautCannonProjectile, Vehicles.LowlandsGiantMortarProjectile, Vehicles.MultiRocketProjectile, Weapons.JuggernautCannonProjectile, Weapons.LowlandsGiantMortarProjectile, Weapons.MultiRocketProjectile
This class in other games:
RTNP, U1, UT, U2XMP, UE2Runtime, UT2003, UT2004, UT3, UDK

Projectile.

A delayed-hit projectile that moves around for some time after it is created.

Properties[edit]

bNoFalloff[edit]

Type: bool

Falloff parm for HurtRadius.

BounceDamping[edit]

Type: float


Default value: 0.4

BounceSound[edit]

Type: Sound

Sound made when projectile bounces.

BounceSoundRadius[edit]

Type: float


Default value: 100.0

bSwitchToZeroCollision[edit]

Type: bool


Damage[edit]

Type: float


DamageRadius[edit]

Type: float


ExplosionDecal[edit]

Type: class<Projector>


ExploWallOut[edit]

Type: float

distance to move explosions out from wall

ImpactSound[edit]

Type: Sound

Sound made when projectile hits something.

MaxSpeed[edit]

Type: float

Limit on speed of projectile (0 means no limit)

Default value: 2000.0

MomentumTransfer[edit]

Type: float

Momentum magnitude imparted by impacting projectile.

MyDamageType[edit]

Type: class<DamageType>


Default value: Class'Engine.DamageType'

SpawnSound[edit]

Type: Sound

Sound made when projectile is spawned.

Speed[edit]

Type: float

Initial speed of projectile.

StopNormalZ[edit]

Type: float


Default value: 0.5

TossZ[edit]

Type: float


Default value: 100.0

ZeroCollider[edit]

Type: Actor


Default values[edit]

Property Value
bAcceptsProjectors False
bCollideActors True
bCollideWorld True
bDisturbFluidSurface True
bGameRelevant True
bNetInitialRotation True
bNetTemporary True
bReplicateInstigator True
bUnlit True
bUseCylinderCollision True
CollisionHeight 0.0
CollisionRadius 0.0
DrawType DT_Mesh
LifeSpan 14.0
NetPriority 2.5
Physics PHYS_Projectile
RemoteRole ROLE_SimulatedProxy
SoundVolume 0
Texture Texture'Engine.S_Camera'

Functions[edit]

Static functions[edit]

GetTossVelocity[edit]

static function Object.Vector GetTossVelocity (Pawn P, Object.Rotator R)


Events[edit]

EncroachingOn[edit]

event bool EncroachingOn (Actor Other)

Overrides: Actor.EncroachingOn


HitWall[edit]

simulated event HitWall (Object.Vector HitNormal, Actor Wall)

Overrides: Actor.HitWall


Landed[edit]

simulated event Landed (Object.Vector HitNormal)

Overrides: Actor.Landed


PreBeginPlay[edit]

simulated event PreBeginPlay ()

Overrides: Actor.PreBeginPlay


Touch[edit]

simulated singular event Touch (Actor Other)

Overrides: Actor.Touch


Other instance functions[edit]

BlowUp[edit]

simulated function BlowUp (Object.Vector HitLocation)


Explode[edit]

simulated function Explode (Object.Vector HitLocation, Object.Vector HitNormal, Actor HitActor)


ProcessTouch[edit]

simulated function ProcessTouch (Actor Other, Object.Vector HitLocation)


RandSpin[edit]

simulated final function RandSpin (float spinRate)