The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

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

bAutoFire

Type: bool

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

BeaconColor

Type: Object.Color

if bMatchWeapons, what color team beacon should be

Default value:

Member Value
A 255
G 255

bMatchWeapons

Type: bool

for team beacons (link gun potential links)

FiringMode

Type: byte

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

FiringSpeed

Type: float

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

Default value: 1.0

FlashCount

Type: byte

when incremented, draw muzzle flash for current frame

mHitLocation

Type: Object.Vector

used for spawning hit effects client side

SpawnHitCount

Type: byte

when incremented, spawn hit effect at mHitLocation

SplashEffect

Type: class<Actor>


Default values

Property Value
bActorShadows True
bReplicateInstigator True
CullDistance 4000.0
NetUpdateFrequency 8.0

Functions

Events

ThirdPersonEffects

simulated event ThirdPersonEffects ()


Other instance functions

CheckForSplash

simulated function CheckForSplash ()


UpdateHit

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