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

Jump to: navigation, search
U2XMP Object >> Actor >> Inventory >> Weapon

Contents

Package: 
Engine
Direct subclass:
U2Weapon
Known custom subclass:
ReloadableWeaponBase
This class in other games:
RTNP, U1, U2, UDK, UE2Runtime, UT, UT2003, UT2004, UT3

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
Member Value
X 30.0
Z -5.0

[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

Ignores: AltFire, Fire

[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

Ignores: AltFire, Fire

[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)


Personal tools