I don't need to test my programs. I have an error-correcting modem.

UE2:Powerups (UT2003)

From Unreal Wiki, The Unreal Engine Documentation Site

Jump to: navigation, search
UT2003 Object >> Actor >> Inventory >> Powerups

Contents

Package: 
Engine
Direct subclass:
Armor
This class in other games:
U2, U2XMP, UE2Runtime, UT2004

Powerup items - activatable inventory.

[edit] Properties

[edit] Property group 'Powerups'

[edit] ActivateSound

Type: Sound


[edit] bActivatable

Type: bool

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

[edit] bAutoActivate

Type: bool

automatically activated when picked up

[edit] bCanHaveMultipleCopies

Type: bool

if player can possess more than one of this

[edit] DeActivateSound

Type: Sound


[edit] ExpireMessage

Type: string

Modifiers: localized

Messages shown when powerup charge runs out

[edit] Internal variables

[edit] bActive

Type: bool

Modifiers: travel

Whether item is currently activated.

[edit] NumCopies

Type: int

Modifiers: travel


[edit] Functions

[edit] Static functions

[edit] GetLocalString

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

Overrides: Actor.GetLocalString


[edit] Events

[edit] TravelPreAccept

event TravelPreAccept ()

Overrides: Inventory.TravelPreAccept


[edit] Other instance functions

[edit] Activate

function Activate ()


[edit] FireEffect

function FireEffect ()


[edit] HandlePickupQuery

function bool HandlePickupQuery (Pickup Item)

Overrides: Inventory.HandlePickupQuery


[edit] PickupFunction

function PickupFunction (Pawn Other)

Overrides: Inventory.PickupFunction


[edit] SelectNext

function Powerups SelectNext ()

Overrides: Inventory.SelectNext


[edit] UseCharge

function float UseCharge (float Amount)


[edit] UsedUp

function UsedUp ()


[edit] States

[edit] Activated

[edit] Activated.BeginState

event BeginState ()

Overrides: Object.BeginState (global)


[edit] Activated.EndState

event EndState ()

Overrides: Object.EndState (global)


[edit] Activated.Activate

function Activate ()

Overrides: Activate (global)


Personal tools