Cogito, ergo sum

UE2:WeaponAttachment (UT2003)

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

null

Properties[edit]

bAutoFire[edit]

Type: bool

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

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

Default values[edit]

Property Value
bActorShadows True
bReplicateInstigator True

Functions[edit]

Events[edit]

ThirdPersonEffects[edit]

simulated event ThirdPersonEffects ()


Other instance functions[edit]

UpdateHit[edit]

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