UE2:PowerUp (U2)
From Unreal Wiki, The Unreal Engine Documentation Site
- Package:
- U2
- Direct subclasses:
- AmmoPowerUp, EnergyPowerUp, HealthPowerUp, PowerStation
- This class in other games:
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.uc
Properties
Property group 'PowerUp'
AmmoUnits
Type: int
Percentage of total ammunition this powerup provides
Description
Type: string
Popup description of this PowerUp
EnergyUnits
Type: int
A pickup or station's number of EnergyUnits
HealthUnits
Type: int
A pickup or station's number of HealthUnits
TransferRate
Type: int
Internal variables
LastTransferTime
Type: float
Saves the time of the last Unit transfer
PowerUpOwner
Type: Pawn
TargetPowerSuit
Type: PowerSuit
The PowerSuit that is being manipulated
Default values
Property | Value |
---|---|
bMergesCopies | True |
Functions
Events
PreBeginPlay
event PreBeginPlay ()
Overrides: Actor.PreBeginPlay
Tick
event Tick (float DeltaTime)
Overrides: Actor.Tick
Other instance functions
ActivateStation
function ActivateStation (Pawn P)
AddUnits
CalcPowerUp
CheckPowerUpEmpty
function CheckPowerUpEmpty (int UnitsAvailable)
CheckUserFulfulled
DeactivateStation
function DeactivateStation ()
GiveTo
function GiveTo (Pawn Other)
Overrides: Inventory.GiveTo
HandlePickupQuery
Overrides: Inventory.HandlePickupQuery
HandlePowerUpEmpty
function HandlePowerUpEmpty ()
HandleUserFulfilled
function HandleUserFulfilled ()
IsUsable
MakeStationEmpty
function MakeStationEmpty ()
OnUnuse
function OnUnuse (Actor Other)
Overrides: Actor.OnUnuse
OnUse
function OnUse (Actor Other)
Overrides: Actor.OnUse
StopStation
function StopStation ()
TickPowerUp
TransferProperties
function TransferProperties (Pickup PickedUpItem)