I love the smell of UnrealEd crashing in the morning. – tarquin

UE2:PowerStation (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2XMP Object >> Actor >> Inventory >> U2Inventory >> PowerUp >> PowerStation
Package: 
U2
Direct subclasses:
EnergyStation, HealthStation
This class in other games:
U2

PowerStation.uc

Properties[edit]

Property group 'PowerStation'[edit]

bLimited[edit]

Type: bool


Default value: True

bSwapTextures[edit]

Type: bool


RechargeRate[edit]

Type: float

If !bLimited, rate at which units are recharged.

Default value: 2.0

StationActiveTexture[edit]

Type: Texture

Station is active useable

StationErrorSound[edit]

Type: Sound

Station cannot be used or stops

StationInactiveTexture[edit]

Type: Texture

Station is not useable

StationInUseSound[edit]

Type: Sound

Station is being used by the pawn

StationInUseTexture[edit]

Type: Texture

Station is being used

StationStartUsingSound[edit]

Type: Sound

Pawn starts using the station

StationStopUsingSound[edit]

Type: Sound

Pawn stops using the station

Internal variables[edit]

bIsUsable[edit]

Type: bool


DelayTime[edit]

Type: float


Default value: 1.0

LastRechargeTime[edit]

Type: float


StartingEnergyUnits[edit]

Type: int


StartingHealthUnits[edit]

Type: int


TouchingCollisionProxy[edit]

Type: PowerStationCollisionProxy


TouchingHeight[edit]

Type: float


Default value: 20.0

TouchingRadius[edit]

Type: float


Default value: 10.0

Default values[edit]

Property Value
bAlwaysRelevant True
bCanMantle False
bCollideWorld True
bFixedRotationDir True
bHidden False
bMustFace False
bOnlyOwnerSee False
bTravel False
RemoteRole ROLE_DumbProxy

Enums[edit]

EStationTypes[edit]

ST_Energy 
ST_Health 

Functions[edit]

Events[edit]

Destroyed[edit]

event Destroyed ()

Overrides: Inventory.Destroyed


PreBeginPlay[edit]

event PreBeginPlay ()

Overrides: PowerUp.PreBeginPlay


Tick[edit]

simulated event Tick (float DeltaTime)

Overrides: PowerUp.Tick


Touch[edit]

event Touch (Actor Other)

Overrides: Actor.Touch


UnTouch[edit]

event UnTouch (Actor Other)

Overrides: Actor.UnTouch


Other instance functions[edit]

ActivateStation[edit]

simulated function ActivateStation (Pawn P)

Overrides: PowerUp.ActivateStation


CalcRecharge[edit]

function int CalcRecharge (int CalcUnits, float CurrentTime)


CleanupCollisionProxy[edit]

function CleanupCollisionProxy (CollisionProxy CP)


ClearProperties[edit]

simulated function ClearProperties ()


DeactivateStation[edit]

simulated function DeactivateStation ()

Overrides: PowerUp.DeactivateStation


GetDescription[edit]

simulated function string GetDescription ()

Overrides: PowerUp.GetDescription


IsUsable[edit]

simulated function bool IsUsable (Actor Other)

Overrides: PowerUp.IsUsable


MakeStationEmpty[edit]

simulated function MakeStationEmpty ()

Overrides: PowerUp.MakeStationEmpty


OnUnuse[edit]

simulated function OnUnuse (Actor Other)

Overrides: PowerUp.OnUnuse


OnUse[edit]

simulated function OnUse (Actor Other)

Overrides: PowerUp.OnUse


SetStationActiveOff[edit]

simulated function SetStationActiveOff ()


SetStationInUse[edit]

simulated function SetStationInUse ()


StationError[edit]

simulated function StationError ()


StopStation[edit]

simulated function StopStation ()

Overrides: PowerUp.StopStation