Mostly Harmless

UE2:WeaponPickup (UT2004)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
UT2004 Object >> Actor >> Pickup >> WeaponPickup
Package: 
Engine
Direct subclass:
UTWeaponPickup
This class in other games:
U2XMP, UE2Runtime, UT2003

null

Properties[edit]

Property group 'WeaponPickup'[edit]

AmmoAmount[edit]

Type: int

Array size: 2


bThrown[edit]

Type: bool

true if deliberatly thrown, not dropped from kill

Internal variables[edit]

bWeaponStay[edit]

Type: bool


Default value: True

Default values[edit]

Property Value
AmbientGlow 128
bAmbientGlow True
bPredictRespawns True
CollisionHeight 30.0
CollisionRadius 36.0
CullDistance 6500.0
MaxDesireability 0.5
Physics PHYS_Rotating
PickupMessage "You got a weapon"
RespawnTime 30.0
RotationRate
Member Value
Yaw 32768
Texture Texture'Engine.S_Weapon'

Functions[edit]

Static functions[edit]

UpdateHUD[edit]

simulated static function UpdateHUD (Hud H)

Overrides: Pickup.UpdateHUD


Events[edit]

PostBeginPlay[edit]

event PostBeginPlay ()

Overrides: Actor.PostBeginPlay


Other instance functions[edit]

AllowRepeatPickup[edit]

function bool AllowRepeatPickup ()


BotDesireability[edit]

function float BotDesireability (Pawn Bot)

Overrides: Pickup.BotDesireability


DetourWeight[edit]

function float DetourWeight (Pawn Other, float PathWeight)

Overrides: Pickup.DetourWeight


GetRespawnTime[edit]

function float GetRespawnTime ()

Overrides: Pickup.GetRespawnTime


InitDroppedPickupFor[edit]

function InitDroppedPickupFor (Inventory Inv)

Overrides: Pickup.InitDroppedPickupFor


Reset[edit]

function Reset ()

Overrides: Pickup.Reset


SetWeaponStay[edit]

function SetWeaponStay ()


StartSleeping[edit]

function StartSleeping ()

Overrides: Pickup.StartSleeping


States[edit]

FallingPickup[edit]

FallingPickup.ValidTouch[edit]

function bool ValidTouch (Actor Other)

Overrides: Pickup.Pickup.ValidTouch