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

UE3:DroppedPickup (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 02:49, 16 August 2009 by Wormbo (Talk | contribs) (added missing members)

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

Pickup items.

PickupFactory should be used to place items in the level. This class is for dropped inventory, which should attach itself to this pickup, and set the appropriate mesh

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

Properties

bFadeOut

Type: bool

Modifiers: repnotify


bNavigationSet

Type: bool


Inventory

Type: Inventory

the dropped inventory item which spawned this pickup

InventoryClass

Type: class<Inventory>

Modifiers: repnotify

Class of the inventory object to pickup

PickupCache

Type: NavigationPoint

navigationpoint this pickup is attached to

Default values

Property Value
bCollideActors True
bCollideWorld True
bIgnoreRigidBodyPawns True
bOnlyDirtyReplication True
bOrientOnSlope True
bShouldBaseAtStartup True
bUpdateSimulatedPosition True
CollisionComponent CylinderComponent'CollisionCylinder'
CollisionType COLLIDE_CustomDefault
Components[0] SpriteComponent'Sprite'
Components[1] CylinderComponent'CollisionCylinder'
DesiredRotation
Member Value
Pitch 0
Roll 0
Yaw 30000
LifeSpan 16.0
NetPriority 1.4
NetUpdateFrequency 8.0
Physics PHYS_Falling
RemoteRole ROLE_SimulatedProxy
RotationRate
Member Value
Pitch 0
Roll 0
Yaw 5000

Subobjects

CollisionCylinder

Class: Engine.CylinderComponent

Property Value
CollideActors True
CollisionHeight 20.0
CollisionRadius 30.0

Sprite

Class: Engine.SpriteComponent

Property Value
AlwaysLoadOnClient False
AlwaysLoadOnServer False
HiddenGame True
Sprite Texture2D'EngineResources.S_Inventory'

Functions

Native functions

AddToNavigation

native final function AddToNavigation ()


RemoveFromNavigation

native final function RemoveFromNavigation ()


Events

Destroyed

event Destroyed ()

Overrides: Actor.Destroyed


EncroachedBy

event EncroachedBy (Actor Other)

Overrides: Actor.EncroachedBy


Landed

event Landed (Object.Vector HitNormal, Actor FloorActor)

Overrides: Actor.Landed


ReplicatedEvent

simulated event ReplicatedEvent (name VarName)

Overrides: Actor.ReplicatedEvent


Reset

event Reset ()

Overrides: Actor.Reset


SetPickupMesh

simulated event SetPickupMesh (PrimitiveComponent PickupMesh)

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

SetPickupParticles

simulated event SetPickupParticles (ParticleSystemComponent PickupParticles)

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

Other instance functions

DetourWeight

function float DetourWeight (Pawn Other, float PathWeight)


GiveTo

function GiveTo (Pawn P)

give pickup to player

PickedUpBy

function PickedUpBy (Pawn P)

Overrides: Actor.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

RecheckValidTouch

function RecheckValidTouch ()


States

FadeOut

Extends: Pickup

FadeOut.BeginState

simulated event BeginState (name PreviousStateName)

Overrides: Pickup.BeginState

Called immediately when entering a state, while within the GotoState() call that caused the state change (before any state code is executed).

Pickup

Modifiers: auto

Pickup.BeginState

event BeginState (name PreviousStateName)

Overrides: Object.BeginState (global)

Called immediately when entering a state, while within the GotoState() call that caused the state change (before any state code is executed).

Pickup.EndState

event EndState (name NextStateName)

Overrides: Object.EndState (global)

Called immediately before going out of the current state, while within the GotoState() call that caused the state change, and before BeginState() is called within the new state.

Pickup.Timer

event Timer ()

Overrides: Actor.Timer (global)


Pickup.Touch

event Touch (Actor Other, PrimitiveComponent OtherComp, Object.Vector HitLocation, Object.Vector HitNormal)

Overrides: Actor.Touch (global)


Pickup.CheckTouching

function CheckTouching ()


Pickup.RecheckValidTouch

function RecheckValidTouch ()

Overrides: RecheckValidTouch (global)

Pickup was touched through a wall. Check to see if touching pawn is no longer obstructed

Pickup.ValidTouch

function bool ValidTouch (Pawn Other)