UE2:Weapon (U2XMP)
From Unreal Wiki, The Unreal Engine Documentation Site
- Package:
- Engine
- Direct subclass:
- U2Weapon
- Known custom subclass:
- ReloadableWeaponBase
- This class in other games:
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
Property group 'Weapon'
AltFireSound
Type: Sound
CockingSound
Type: Sound
FireSound
Type: Sound
MessageNoAmmo
Type: string
Modifiers: localized
Default value: " has no ammo."
SelectSound
Type: Sound
Internal variables
See Weapon internal variables.
Default values
Property | Value | ||||||
---|---|---|---|---|---|---|---|
bNoSmooth | True | ||||||
DrawType | DT_Mesh | ||||||
Icon | Texture'Engine.S_Weapon' | ||||||
InventoryGroup | 1 | ||||||
ItemName | "Weapon" | ||||||
PlayerViewOffset |
|
Functions
Events
Destroyed
event Destroyed ()
Overrides: Inventory.Destroyed
PostBeginPlay
event PostBeginPlay ()
Overrides: Actor.PostBeginPlay
Replication
event Replication ()
Overrides: Inventory.Replication
TravelPreAccept
event TravelPreAccept ()
Overrides: Inventory.TravelPreAccept
Other instance functions
See Weapon instance functions.
States
Active
Active.BeginState
simulated event BeginState ()
Overrides: Object.BeginState (global)
Active.EndState
simulated event EndState ()
Overrides: Object.EndState (global)
Active.PutDown
simulated function bool PutDown ()
Overrides: PutDown (global)
DownWeapon
DownWeapon.BeginState
simulated event BeginState ()
Overrides: Object.BeginState (global)
DownWeapon.PutDown
simulated function bool PutDown ()
Overrides: PutDown (global)
PendingClientWeaponSet
PendingClientWeaponSet.BeginState
simulated event BeginState ()
Overrides: Object.BeginState (global)
PendingClientWeaponSet.EndState
simulated event EndState ()
Overrides: Object.EndState (global)
PendingClientWeaponSet.Timer
simulated event Timer ()
Overrides: Actor.Timer (global)