I'm a doctor, not a mechanic

UE2:PowerStation (U2)

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

PowerStation.uc

Properties[edit]

Property group 'PowerStation'[edit]

bLimited[edit]

Type: bool


ParticleEffect[edit]

Type: ParticleGenerator


RechargeRate[edit]

Type: float

If !bLimited, rate at which units are recharged.

Default value: 99999.0

StationEffectOffset[edit]

Type: Object.Vector


Default value:

Member Value
Z 16.0

StationErrorSound[edit]

Type: Sound

Station cannot be used or stops

StationInUseSound[edit]

Type: Sound

Station is being used by the pawn

StationStartUsingSound[edit]

Type: Sound

Pawn starts using the station

StationStopUsingSound[edit]

Type: Sound

Pawn stops using the station

TeamEnergyCost[edit]

Type: float

Energy drained from team energy when in use by a player

Default value: 2.0E-4

Internal variables[edit]

ActiveStationEffect[edit]

Type: ParticleGenerator


DelayTime[edit]

Type: float


Default value: 1.0

LastRechargeTime[edit]

Type: float


StartingAmmoUnits[edit]

Type: int


StartingEnergyUnits[edit]

Type: int


StartingHealthUnits[edit]

Type: int


TouchingCollisionProxy[edit]

Type: CollisionProxy


TouchingHeight[edit]

Type: float


Default value: 55.0

TouchingRadius[edit]

Type: float


Default value: 80.0

Default values[edit]

Property Value
bCanMantle False
bCollideWorld True
bFixedRotationDir True
bHidden False
bNoDelete True
bOnlyOwnerSee False
bTravel False
CollisionHeight 55.0
CollisionRadius 80.0
PrePivot
Member Value
X -20.0
RemoteRole ROLE_None
StaticMesh StaticMesh'XMPWorldItemsM.Items.Station_TD_001'

Functions[edit]

Events[edit]

Destroyed[edit]

simulated event Destroyed ()

Overrides: Inventory.Destroyed


PostBeginPlay[edit]

simulated event PostBeginPlay ()

Overrides: Actor.PostBeginPlay


PreBeginPlay[edit]

event PreBeginPlay ()

Overrides: PowerUp.PreBeginPlay


Touch[edit]

event Touch (Actor Other)

Overrides: Actor.Touch


UnTouch[edit]

event UnTouch (Actor Other)

Overrides: Actor.UnTouch


Other instance functions[edit]

ActivateStation[edit]

function ActivateStation (Pawn P)

Overrides: PowerUp.ActivateStation


CalcRecharge[edit]

function int CalcRecharge (int CalcUnits)


CleanupCollisionProxy[edit]

function CleanupCollisionProxy (CollisionProxy CP)


ClearProperties[edit]

function ClearProperties ()


DeactivateStation[edit]

function DeactivateStation ()

Overrides: PowerUp.DeactivateStation


GetDescription[edit]

function interface string GetDescription (Controller User)

Overrides: Actor.GetDescription


HandlePowerUpEmpty[edit]

function HandlePowerUpEmpty ()

Overrides: PowerUp.HandlePowerUpEmpty


HandleUserFulfilled[edit]

function HandleUserFulfilled ()

Overrides: PowerUp.HandleUserFulfilled


MakeStationEmpty[edit]

function MakeStationEmpty ()

Overrides: PowerUp.MakeStationEmpty


SetStationActiveOff[edit]

function SetStationActiveOff ()


SetStationInUse[edit]

function SetStationInUse ()


StationCanBeUsed[edit]

function bool StationCanBeUsed (Pawn P)


StationError[edit]

function StationError ()


StopStation[edit]

function StopStation ()

Overrides: PowerUp.StopStation


TickPowerUp[edit]

function TickPowerUp (out int UnitsAvailable, int MaxUnits, out int TargetsCurrentUnits)

Overrides: PowerUp.TickPowerUp