I don't need to test my programs. I have an error-correcting modem.

UE2:PowerStation (U2)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 10:11, 17 May 2008 by Wormbo (Talk | contribs) (Auto-generated page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

Property group 'PowerStation'

bLimited

Type: bool


ParticleEffect

Type: ParticleGenerator


RechargeRate

Type: float

If !bLimited, rate at which units are recharged.

Default value: 99999.0

StationEffectOffset

Type: Object.Vector


Default value:

Member Value
Z 16.0

StationErrorSound

Type: Sound

Station cannot be used or stops

StationInUseSound

Type: Sound

Station is being used by the pawn

StationStartUsingSound

Type: Sound

Pawn starts using the station

StationStopUsingSound

Type: Sound

Pawn stops using the station

TeamEnergyCost

Type: float

Energy drained from team energy when in use by a player

Default value: 2.0E-4

Internal variables

ActiveStationEffect

Type: ParticleGenerator


DelayTime

Type: float


Default value: 1.0

LastRechargeTime

Type: float


StartingAmmoUnits

Type: int


StartingEnergyUnits

Type: int


StartingHealthUnits

Type: int


TouchingCollisionProxy

Type: CollisionProxy


TouchingHeight

Type: float


Default value: 55.0

TouchingRadius

Type: float


Default value: 80.0

Default values

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

Events

Destroyed

simulated event Destroyed ()

Overrides: Inventory.Destroyed


PostBeginPlay

simulated event PostBeginPlay ()

Overrides: Actor.PostBeginPlay


PreBeginPlay

event PreBeginPlay ()

Overrides: PowerUp.PreBeginPlay


Touch

event Touch (Actor Other)

Overrides: Actor.Touch


UnTouch

event UnTouch (Actor Other)

Overrides: Actor.UnTouch


Other instance functions

ActivateStation

function ActivateStation (Pawn P)

Overrides: PowerUp.ActivateStation


CalcRecharge

function int CalcRecharge (int CalcUnits)


CleanupCollisionProxy

function CleanupCollisionProxy (CollisionProxy CP)


ClearProperties

function ClearProperties ()


DeactivateStation

function DeactivateStation ()

Overrides: PowerUp.DeactivateStation


GetDescription

function interface string GetDescription (Controller User)

Overrides: Actor.GetDescription


HandlePowerUpEmpty

function HandlePowerUpEmpty ()

Overrides: PowerUp.HandlePowerUpEmpty


HandleUserFulfilled

function HandleUserFulfilled ()

Overrides: PowerUp.HandleUserFulfilled


MakeStationEmpty

function MakeStationEmpty ()

Overrides: PowerUp.MakeStationEmpty


SetStationActiveOff

function SetStationActiveOff ()


SetStationInUse

function SetStationInUse ()


StationCanBeUsed

function bool StationCanBeUsed (Pawn P)


StationError

function StationError ()


StopStation

function StopStation ()

Overrides: PowerUp.StopStation


TickPowerUp

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

Overrides: PowerUp.TickPowerUp