Mostly Harmless
UE2:Powerups (UT2004)
From Unreal Wiki, The Unreal Engine Documentation Site
Contents
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
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
bCanHaveMultipleCopies
Type: bool
if player can possess more than one of this
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.
NumCopies
Type: int
Modifiers: travel
Functions
Static functions
GetLocalString
static function string GetLocalString (optional int Switch, optional PlayerReplicationInfo RelatedPRI_1, optional PlayerReplicationInfo RelatedPRI_2)
Overrides: Actor.GetLocalString
Events
TravelPreAccept
event TravelPreAccept ()
Overrides: Inventory.TravelPreAccept
Other instance functions
Activate
function Activate ()
FireEffect
function FireEffect ()
HandlePickupQuery
Overrides: Inventory.HandlePickupQuery
PickupFunction
function PickupFunction (Pawn Other)
Overrides: Inventory.PickupFunction
SelectNext
function Powerups SelectNext ()
Overrides: Inventory.SelectNext
UseCharge
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)