Always snap to grid
UE2:Weapon (U2XMP)
From Unreal Wiki, The Unreal Engine Documentation Site
Contents
- Package:
- Engine
- Direct subclass:
- U2Weapon
- Known custom subclass:
- ReloadableWeaponBase
- This class in other games:
- RTNP, U1, UT, UE2Runtime, UT2004, U2, UT2003, UT3, UDK
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
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 |
|
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]
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]
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)