Worst-case scenario: the UEd Goblin wipes the map and burns down your house.
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, U2, UDK, UE2Runtime, UT, UT2003, UT2004, UT3
| This is an auto-generated page and may need human attention. Please remove this 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.
[edit] Properties
[edit] Property group 'Weapon'
[edit] AltFireSound
Type: Sound
[edit] CockingSound
Type: Sound
[edit] FireSound
Type: Sound
[edit] MessageNoAmmo
Type: string
Modifiers: localized
Default value: " has no ammo."
[edit] SelectSound
Type: Sound
[edit] Internal variables
See Weapon internal variables.
[edit] Default values
| Property | Value | ||||||
|---|---|---|---|---|---|---|---|
| bNoSmooth | True | ||||||
| DrawType | DT_Mesh | ||||||
| Icon | Texture'Engine.S_Weapon' | ||||||
| InventoryGroup | 1 | ||||||
| ItemName | "Weapon" | ||||||
| PlayerViewOffset |
|
[edit] Functions
[edit] Events
[edit] Destroyed
event Destroyed ()
Overrides: Inventory.Destroyed
[edit] PostBeginPlay
event PostBeginPlay ()
Overrides: Actor.PostBeginPlay
[edit] Replication
event Replication ()
Overrides: Inventory.Replication
[edit] TravelPreAccept
event TravelPreAccept ()
Overrides: Inventory.TravelPreAccept
[edit] Other instance functions
See Weapon instance functions.
[edit] States
[edit] Active
[edit] Active.BeginState
simulated event BeginState ()
Overrides: Object.BeginState (global)
[edit] Active.EndState
simulated event EndState ()
Overrides: Object.EndState (global)
[edit] Active.PutDown
simulated function bool PutDown ()
Overrides: PutDown (global)
[edit] DownWeapon
[edit] DownWeapon.BeginState
simulated event BeginState ()
Overrides: Object.BeginState (global)
[edit] DownWeapon.PutDown
simulated function bool PutDown ()
Overrides: PutDown (global)
[edit] PendingClientWeaponSet
[edit] PendingClientWeaponSet.BeginState
simulated event BeginState ()
Overrides: Object.BeginState (global)
[edit] PendingClientWeaponSet.EndState
simulated event EndState ()
Overrides: Object.EndState (global)
[edit] PendingClientWeaponSet.Timer
simulated event Timer ()
Overrides: Actor.Timer (global)
