I don't need to test my programs. I have an error-correcting modem.

UE2:WeaponAttachment (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2004 Object >> Actor >> InventoryAttachment >> WeaponAttachment
Package: 
Engine
Direct subclass:
XWeaponAttachment
This class in other games:
U2XMP, UE2Runtime, U2, UT2003

null

Properties[edit]

bAutoFire[edit]

Type: bool

When set to true.. begin auto fire sequence (used to play looping anims)

BeaconColor[edit]

Type: Object.Color

if bMatchWeapons, what color team beacon should be

Default value:

Member Value
A 255
G 255

bMatchWeapons[edit]

Type: bool

for team beacons (link gun potential links)

FiringMode[edit]

Type: byte

replicated to identify what type of firing/reload animations to play

FiringSpeed[edit]

Type: float

used by human animations to determine the appropriate speed to play firing animations

Default value: 1.0

FlashCount[edit]

Type: byte

when incremented, draw muzzle flash for current frame

mHitLocation[edit]

Type: Object.Vector

used for spawning hit effects client side

SpawnHitCount[edit]

Type: byte

when incremented, spawn hit effect at mHitLocation

SplashEffect[edit]

Type: class<Actor>


Default values[edit]

Property Value
bActorShadows True
bReplicateInstigator True
CullDistance 4000.0
NetUpdateFrequency 8.0

Functions[edit]

Events[edit]

ThirdPersonEffects[edit]

simulated event ThirdPersonEffects ()


Other instance functions[edit]

CheckForSplash[edit]

simulated function CheckForSplash ()


UpdateHit[edit]

function UpdateHit (Actor HitActor, Object.Vector HitLocation, Object.Vector HitNormal)