UE3:UTDroppedItemPickup (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
UDK Object >> Actor >> DroppedPickup >> UTDroppedPickup >> UTDroppedItemPickup
Package:
UTGame
Direct subclass:
UTDroppedShieldBelt
This class in other games:

base class of dropped pickups for items that don't actually have an Inventory class (e.g. armor)

Properties

MaxDesireability

Type: float


PickupSound

Type: SoundCue


Default values

Subobjects

CollisionCylinder

Class: Engine.CylinderComponent

Inherits from: UTDroppedPickup.CollisionCylinder

Property Value
ReplacementPrimitive None

DroppedPickupLightEnvironment

Class: Engine.DynamicLightEnvironmentComponent

Inherits from: UTDroppedPickup.DroppedPickupLightEnvironment

No new values.

Sprite

Class: Engine.SpriteComponent

Inherits from: UTDroppedPickup.Sprite

Property Value
ReplacementPrimitive None

Functions

Events

Destroyed

event Destroyed ()

Overrides: DroppedPickup.Destroyed


PostBeginPlay

event PostBeginPlay ()

Overrides: Actor.PostBeginPlay


SetPickupMesh

simulated event SetPickupMesh (PrimitiveComponent NewPickupMesh)

Overrides: UTDroppedPickup.SetPickupMesh

Set Pickup mesh to use. Replicated through InventoryClass to remote clients using Inventory.DroppedPickup component as default mesh.

Other instance functions

BotDesireability

function float BotDesireability (Pawn Bot, Controller C)


DroppedFrom

function DroppedFrom (Pawn P)

initialize pickup from Pawn that dropped it

PickedUpBy

function PickedUpBy (Pawn P)

Overrides: DroppedPickup.PickedUpBy

(Description copied from Actor.PickedUpBy)
implemented by pickup type Actors to do things following a successful pickup

Parameters:

  • P - the Pawn that picked us up

Todo: remove this and fix up the DenyPickupQuery() calls that use this