Gah - a solution with more questions. – EntropicLqd

UE2:EnergyRelay (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2XMP Object >> Actor >> Pawn >> LicenseePawn >> U2Pawn >> StationaryPawn >> DeployedUnit >> EnergyRelay
Package: 
U2XMP

$Workfile: EnergyRelay.uc $ Created By: Mark Poesch Created On: 6/30/2001 $Author: Sbrown $ $Date: 8/27/02 18:28 $ $Revision: 10 $

Properties[edit]

Property group 'EnergyRelay'[edit]

InUseSound[edit]

Type: Sound


Default value: Sound'U2XMPA.EnergyRelay.EnergyRelayAmbient'

Internal variables[edit]

HealthEnergyCost[edit]

Type: int

amount of Health regenerated for Energy consummed (e.g., 1000 recharges at 10 health / second)

Default value: 1000

Source[edit]

Type: EnergySource

EnergySource tapped by this Relay

Default values[edit]

Property Value
CollisionHeight 30.0
DeploySound Sound'U2XMPA.EnergyRelay.EnergyRelayActivate'
Description "Energy Relay"
DrawType DT_None
ExplodeSound Sound'U2XMPA.EnergyRelay.EnergyRelayExplode'
ExplosionEffect ParticleSalamander'RocketEffects.ParticleSalamander2'
Health 500
PickupClass Class'U2XMP.EnergyRelayPickup'
ShutdownSound Sound'U2XMPA.EnergyRelay.EnergyRelayShutdown'

Functions[edit]

Events[edit]

Destroyed[edit]

event Destroyed ()

Overrides: DeployedUnit.Destroyed


Tick[edit]

event Tick (float DeltaTime)

Overrides: U2Pawn.Tick


Other instance functions[edit]

GetEnergy[edit]

function int GetEnergy ()


SetSource[edit]

function SetSource (EnergySource InSource)