There is no spoon

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

Property group 'PowerStation'

bLimited

Type: bool


Default value: True

bSwapTextures

Type: bool


RechargeRate

Type: float

If !bLimited, rate at which units are recharged.

Default value: 2.0

StationActiveTexture

Type: Texture

Station is active useable

StationErrorSound

Type: Sound

Station cannot be used or stops

StationInactiveTexture

Type: Texture

Station is not useable

StationInUseSound

Type: Sound

Station is being used by the pawn

StationInUseTexture

Type: Texture

Station is being used

StationStartUsingSound

Type: Sound

Pawn starts using the station

StationStopUsingSound

Type: Sound

Pawn stops using the station

Internal variables

bIsUsable

Type: bool


DelayTime

Type: float


Default value: 1.0

LastRechargeTime

Type: float


StartingEnergyUnits

Type: int


StartingHealthUnits

Type: int


TouchingCollisionProxy

Type: PowerStationCollisionProxy


TouchingHeight

Type: float


Default value: 20.0

TouchingRadius

Type: float


Default value: 10.0

Default values

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

Enums

EStationTypes

ST_Energy 
ST_Health 

Functions

Events

Destroyed

event Destroyed ()

Overrides: Inventory.Destroyed


PreBeginPlay

event PreBeginPlay ()

Overrides: PowerUp.PreBeginPlay


Tick

simulated event Tick (float DeltaTime)

Overrides: PowerUp.Tick


Touch

event Touch (Actor Other)

Overrides: Actor.Touch


UnTouch

event UnTouch (Actor Other)

Overrides: Actor.UnTouch


Other instance functions

ActivateStation

simulated function ActivateStation (Pawn P)

Overrides: PowerUp.ActivateStation


CalcRecharge

function int CalcRecharge (int CalcUnits, float CurrentTime)


CleanupCollisionProxy

function CleanupCollisionProxy (CollisionProxy CP)


ClearProperties

simulated function ClearProperties ()


DeactivateStation

simulated function DeactivateStation ()

Overrides: PowerUp.DeactivateStation


GetDescription

simulated function string GetDescription ()

Overrides: PowerUp.GetDescription


IsUsable

simulated function bool IsUsable (Actor Other)

Overrides: PowerUp.IsUsable


MakeStationEmpty

simulated function MakeStationEmpty ()

Overrides: PowerUp.MakeStationEmpty


OnUnuse

simulated function OnUnuse (Actor Other)

Overrides: PowerUp.OnUnuse


OnUse

simulated function OnUse (Actor Other)

Overrides: PowerUp.OnUse


SetStationActiveOff

simulated function SetStationActiveOff ()


SetStationInUse

simulated function SetStationInUse ()


StationError

simulated function StationError ()


StopStation

simulated function StopStation ()

Overrides: PowerUp.StopStation