I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX

UE3:UTInventory (UT3)

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

Copyright 1998-2007 Epic Games, Inc. All Rights Reserved.

Properties[edit]

bDropOnDisrupt[edit]

Type: bool


Default value: True

Default values[edit]

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

Subobjects[edit]

Sprite[edit]

Class: Engine.SpriteComponent

Inherits from: Inventory.Sprite

No new values.

Functions[edit]

Static functions[edit]

AddWeaponOverlay[edit]

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[edit]

Destroyed[edit]

simulated event Destroyed ()

Overrides: Inventory.Destroyed


Other instance functions[edit]

ClientLostItem[edit]

reliable client function ClientLostItem ()

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

DropFrom[edit]

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