Always snap to grid

UE3:UTDroppedItemPickup (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 09:11, 17 May 2008 by Wormbo (Talk | contribs) (Auto-generated page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UT3 Object >> Actor >> DroppedPickup >> UTDroppedPickup >> UTDroppedItemPickup
Package: 
UTGame
Direct subclasses:
UTDroppedShieldBelt, UTGreedCoin
This class in other games:
UDK

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

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

Properties

MaxDesireability

Type: float


PickupSound

Type: SoundCue


Default values

Property Value
InventoryClass Class'UTGame.UTPickupInventory'

Subobjects

CollisionCylinder

Class: Engine.CylinderComponent

Inherits from: UTDroppedPickup.CollisionCylinder

No new values.

DroppedPickupLightEnvironment

Class: Engine.DynamicLightEnvironmentComponent

Inherits from: UTDroppedPickup.DroppedPickupLightEnvironment

No new values.

Sprite

Class: Engine.SpriteComponent

Inherits from: UTDroppedPickup.Sprite

No new values.

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