UE3:UTInventory (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
UDK Object >> Actor >> Inventory >> UTInventory
Package:
UTGame
Direct subclasses:
UTJumpBoots, UTPickupInventory, UTTimedPowerup
This class in other games:


Properties

bDropOnDisrupt

Type: bool


Default value: True

Default values

Property Value
DroppedPickupClass Class'UTGame.UTRotatingDroppedPickup'
MessageClass Class'UTGame.UTPickupMessage'

Subobjects

Sprite

Class: Engine.SpriteComponent

Inherits from: Inventory.Sprite

Property Value
ReplacementPrimitive None

Functions

Static functions

AddWeaponOverlay

simulated static function AddWeaponOverlay (UTGameReplicationInfo GRI)

adds weapon overlay material this item uses (if any) to the GRI in the correct spot

See: UTPawn.WeaponOverlayFlags, UTWeapon::SetWeaponOverlayFlags

Events

Destroyed

simulated event Destroyed ()

Overrides: Inventory.Destroyed


Other instance functions

ClientLostItem

reliable client function ClientLostItem ()

called on the owning client just before the pickup is dropped or destroyed

DropFrom

function DropFrom (Object.Vector StartLocation, Object.Vector StartVelocity)

Overrides: Inventory.DropFrom

(Description copied from Inventory.DropFrom)
Drop this item out in to the world

Parameters:

  • StartLocation - The World Location to drop this item from
  • StartVelocity - The initial velocity for the item when dropped