I'm a doctor, not a mechanic

UE2:Powerups (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2XMP Object >> Actor >> Inventory >> Powerups
Package: 
Engine
Direct subclass:
Armor
This class in other games:
UE2Runtime, UT2003, U2, UT2004

Powerup items - activatable inventory.

Properties

Property group 'Powerups'

ActivateSound

Type: Sound


bActivatable

Type: bool

Whether item can be activated/deactivated (if true, must auto activate)

bAutoActivate

Type: bool

automatically activated when picked up

DeActivateSound

Type: Sound


ExpireMessage

Type: string

Modifiers: localized

Messages shown when powerup charge runs out

Internal variables

bActive

Type: bool

Modifiers: travel

Whether item is currently activated.

Functions

Static functions

GetLocalString

static function string GetLocalString (optional int Switch, optional PlayerReplicationInfo RelatedPRI_1, optional PlayerReplicationInfo RelatedPRI_2)

Overrides: Actor.GetLocalString


Events

Replication

event Replication ()

Overrides: Inventory.Replication


TravelPreAccept

event TravelPreAccept ()

Overrides: Inventory.TravelPreAccept


Other instance functions

Activate

function Activate ()


FireEffect

function FireEffect ()


HandlePickupQuery

function bool HandlePickupQuery (Pickup Item)

Overrides: Inventory.HandlePickupQuery


PickupFunction

function PickupFunction (Pawn Other)

Overrides: Inventory.PickupFunction


SelectNext

function Powerups SelectNext ()

Overrides: Inventory.SelectNext


UseCharge

function float UseCharge (float Amount)


UsedUp

function UsedUp ()


States

Activated

Activated.BeginState

event BeginState ()

Overrides: Object.BeginState (global)


Activated.EndState

event EndState ()

Overrides: Object.EndState (global)


Activated.Activate

function Activate ()

Overrides: Activate (global)