I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX
UE2:PowerUp (U2)
From Unreal Wiki, The Unreal Engine Documentation Site
- 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
[edit] Properties
[edit] Property group 'PowerUp'
[edit] AmmoUnits
Type: int
Percentage of total ammunition this powerup provides
[edit] Description
Type: string
Popup description of this PowerUp
[edit] EnergyUnits
Type: int
A pickup or station's number of EnergyUnits
[edit] HealthUnits
Type: int
A pickup or station's number of HealthUnits
[edit] TransferRate
Type: int
[edit] Internal variables
[edit] LastTransferTime
Type: float
Saves the time of the last Unit transfer
[edit] PowerUpOwner
Type: Pawn
[edit] TargetPowerSuit
Type: PowerSuit
The PowerSuit that is being manipulated
[edit] Default values
| Property | Value |
|---|---|
| bMergesCopies | True |
[edit] Functions
[edit] Events
[edit] PreBeginPlay
event PreBeginPlay ()
Overrides: Actor.PreBeginPlay
[edit] Tick
event Tick (float DeltaTime)
Overrides: Actor.Tick
[edit] Other instance functions
[edit] ActivateStation
function ActivateStation (Pawn P)
[edit] AddUnits
function bool AddUnits (PowerUp PUI)
[edit] CalcPowerUp
[edit] CheckPowerUpEmpty
function CheckPowerUpEmpty (int UnitsAvailable)
[edit] CheckUserFulfulled
[edit] DeactivateStation
function DeactivateStation ()
[edit] GiveTo
function GiveTo (Pawn Other)
Overrides: Inventory.GiveTo
[edit] HandlePickupQuery
Overrides: Inventory.HandlePickupQuery
[edit] HandlePowerUpEmpty
function HandlePowerUpEmpty ()
[edit] HandleUserFulfilled
function HandleUserFulfilled ()
[edit] IsUsable
[edit] MakeStationEmpty
function MakeStationEmpty ()
[edit] OnUnuse
function OnUnuse (Actor Other)
Overrides: Actor.OnUnuse
[edit] OnUse
function OnUse (Actor Other)
Overrides: Actor.OnUse
[edit] StopStation
function StopStation ()
[edit] TickPowerUp
[edit] TransferProperties
function TransferProperties (Pickup PickedUpItem)
