I love the smell of UnrealEd crashing in the morning. – tarquin
UE2:PowerUp (U2)
From Unreal Wiki, The Unreal Engine Documentation Site
Contents
- 1 Properties
- 2 Functions
- 2.1 Events
- 2.2 Other instance functions
- 2.2.1 ActivateStation
- 2.2.2 AddUnits
- 2.2.3 CalcPowerUp
- 2.2.4 CheckPowerUpEmpty
- 2.2.5 CheckUserFulfulled
- 2.2.6 DeactivateStation
- 2.2.7 GiveTo
- 2.2.8 HandlePickupQuery
- 2.2.9 HandlePowerUpEmpty
- 2.2.10 HandleUserFulfilled
- 2.2.11 IsUsable
- 2.2.12 MakeStationEmpty
- 2.2.13 OnUnuse
- 2.2.14 OnUse
- 2.2.15 StopStation
- 2.2.16 TickPowerUp
- 2.2.17 TransferProperties
- Package:
- U2
- Direct subclasses:
- AmmoPowerUp, EnergyPowerUp, HealthPowerUp, PowerStation
- This class in other games:
- U2XMP
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
function bool AddUnits (PowerUp PUI)
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)