I'm a doctor, not a mechanic

Difference between revisions of "UE3:UTDroppedItemPickup (UT3)"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
(Auto-generated page)
 
m (now abstract)
 
Line 5: Line 5:
 
| parent3 = Actor
 
| parent3 = Actor
 
| parent4 = Object
 
| parent4 = Object
 +
| abstract = yes
 
}}
 
}}
 
{{autogenerated}}
 
{{autogenerated}}
 
base class of dropped pickups for items that don't actually have an Inventory class (e.g. armor)
 
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.
+
Copyright 1998-2008 Epic Games, Inc. All Rights Reserved.
  
 
==Properties==
 
==Properties==

Latest revision as of 03:42, 16 August 2009

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-2008 Epic Games, Inc. All Rights Reserved.

Properties[edit]

MaxDesireability[edit]

Type: float


PickupSound[edit]

Type: SoundCue


Default values[edit]

Property Value
InventoryClass Class'UTGame.UTPickupInventory'

Subobjects[edit]

CollisionCylinder[edit]

Class: Engine.CylinderComponent

Inherits from: UTDroppedPickup.CollisionCylinder

No new values.

DroppedPickupLightEnvironment[edit]

Class: Engine.DynamicLightEnvironmentComponent

Inherits from: UTDroppedPickup.DroppedPickupLightEnvironment

No new values.

Sprite[edit]

Class: Engine.SpriteComponent

Inherits from: UTDroppedPickup.Sprite

No new values.

Functions[edit]

Events[edit]

Destroyed[edit]

event Destroyed ()

Overrides: DroppedPickup.Destroyed


PostBeginPlay[edit]

event PostBeginPlay ()

Overrides: Actor.PostBeginPlay


SetPickupMesh[edit]

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

BotDesireability[edit]

function float BotDesireability (Pawn Bot, Controller C)


DroppedFrom[edit]

function DroppedFrom (Pawn P)

initialize pickup from Pawn that dropped it

PickedUpBy[edit]

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