Gah - a solution with more questions. – EntropicLqd
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[edit]
Property group 'PowerUp'[edit]
AmmoUnits[edit]
Type: int
Percentage of total ammunition this powerup provides
Description[edit]
Type: string
Popup description of this PowerUp
EnergyUnits[edit]
Type: int
A pickup or station's number of EnergyUnits
HealthUnits[edit]
Type: int
A pickup or station's number of HealthUnits
TransferRate[edit]
Type: int
Internal variables[edit]
LastTransferTime[edit]
Type: float
Saves the time of the last Unit transfer
PowerUpOwner[edit]
Type: Pawn
TargetPowerSuit[edit]
Type: PowerSuit
The PowerSuit that is being manipulated
Default values[edit]
Property | Value |
---|---|
bMergesCopies | True |
Functions[edit]
Events[edit]
PreBeginPlay[edit]
event PreBeginPlay ()
Overrides: Actor.PreBeginPlay
Tick[edit]
event Tick (float DeltaTime)
Overrides: Actor.Tick
Other instance functions[edit]
ActivateStation[edit]
function ActivateStation (Pawn P)
AddUnits[edit]
function bool AddUnits (PowerUp PUI)
CalcPowerUp[edit]
CheckPowerUpEmpty[edit]
function CheckPowerUpEmpty (int UnitsAvailable)
CheckUserFulfulled[edit]
DeactivateStation[edit]
function DeactivateStation ()
GiveTo[edit]
function GiveTo (Pawn Other)
Overrides: Inventory.GiveTo
HandlePickupQuery[edit]
Overrides: Inventory.HandlePickupQuery
HandlePowerUpEmpty[edit]
function HandlePowerUpEmpty ()
HandleUserFulfilled[edit]
function HandleUserFulfilled ()
IsUsable[edit]
MakeStationEmpty[edit]
function MakeStationEmpty ()
OnUnuse[edit]
function OnUnuse (Actor Other)
Overrides: Actor.OnUnuse
OnUse[edit]
function OnUse (Actor Other)
Overrides: Actor.OnUse
StopStation[edit]
function StopStation ()
TickPowerUp[edit]
TransferProperties[edit]
function TransferProperties (Pickup PickedUpItem)