Always snap to grid

UE2:Weapon (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 10:10, 17 May 2008 by Wormbo (Talk | contribs) (Auto-generated page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
U2XMP Object >> Actor >> Inventory >> Weapon
Package: 
Engine
Direct subclass:
U2Weapon
Known custom subclass:
ReloadableWeaponBase
This class in other games:
RTNP, U1, UT, UE2Runtime, UT2004, U2, UT2003, UT3, UDK

Parent class of all weapons.

Properties[edit]

Property group 'Weapon'[edit]

AltFireSound[edit]

Type: Sound


CockingSound[edit]

Type: Sound


FireSound[edit]

Type: Sound


MessageNoAmmo[edit]

Type: string

Modifiers: localized


Default value: " has no ammo."

SelectSound[edit]

Type: Sound


Internal variables[edit]

See Weapon internal variables.

Default values[edit]

Property Value
bNoSmooth True
DrawType DT_Mesh
Icon Texture'Engine.S_Weapon'
InventoryGroup 1
ItemName "Weapon"
PlayerViewOffset
Member Value
X 30.0
Z -5.0

Functions[edit]

Events[edit]

Destroyed[edit]

event Destroyed ()

Overrides: Inventory.Destroyed


PostBeginPlay[edit]

event PostBeginPlay ()

Overrides: Actor.PostBeginPlay


Replication[edit]

event Replication ()

Overrides: Inventory.Replication


TravelPreAccept[edit]

event TravelPreAccept ()

Overrides: Inventory.TravelPreAccept


Other instance functions[edit]

See Weapon instance functions.

States[edit]

Active[edit]

Ignores: AltFire, Fire

Active.BeginState[edit]

simulated event BeginState ()

Overrides: Object.BeginState (global)


Active.EndState[edit]

simulated event EndState ()

Overrides: Object.EndState (global)


Active.PutDown[edit]

simulated function bool PutDown ()

Overrides: PutDown (global)


DownWeapon[edit]

Ignores: AltFire, Fire

DownWeapon.BeginState[edit]

simulated event BeginState ()

Overrides: Object.BeginState (global)


DownWeapon.PutDown[edit]

simulated function bool PutDown ()

Overrides: PutDown (global)


PendingClientWeaponSet[edit]

PendingClientWeaponSet.BeginState[edit]

simulated event BeginState ()

Overrides: Object.BeginState (global)


PendingClientWeaponSet.EndState[edit]

simulated event EndState ()

Overrides: Object.EndState (global)


PendingClientWeaponSet.Timer[edit]

simulated event Timer ()

Overrides: Actor.Timer (global)