UE2:U2JumpPack (U2XMP)

From Unreal Wiki, The Unreal Engine Documentation Site
U2XMP Object >> Actor >> Inventory >> Powerups >> Armor >> PowerSuit >> U2JumpPack
Package:
U2

U2JumpPack.uc

Properties

Property group 'U2JumpPack'

DrainAmount

Type: int


DrainRate

Type: float

DrainAmount per DrainRate in seconds

JumpEnergy

Type: float

Current JumpEnergy

MaxJumpEnergy

Type: float

JumpEnergy cap

RechargeAmount

Type: float


RechargeRate

Type: float

RechargeAmount per RechargeRate in seconds

Thrust

Type: float


ThrustSound

Type: Sound


Default value: Sound'U2A.Suits.JumpPackThrust'

Internal variables

bThrusting

Type: bool


LastDrainTime

Type: float


LastRechargeTime

Type: float


TargetPowerSuit

Type: PowerSuit


Default values

Property Value
ItemName "Jump Pack"

Functions

Exec functions

JumpPackThrust

exec function JumpPackThrust ()


UnJumpPackThrust

exec function UnJumpPackThrust ()


Events

PreBeginPlay

event PreBeginPlay ()

Overrides: PowerSuit.PreBeginPlay


Tick

simulated event Tick (float DeltaTime)

Overrides: Actor.Tick


Other instance functions

ApplyDrain

function float ApplyDrain (float ToDrain, float CurrentDrainTime)


ApplyRecharge

function float ApplyRecharge (float ToRecharge, float CurrentRechargeTime)


CalcEnergyDrain

function float CalcEnergyDrain (float CurrentDrainTime)


CalcEnergyRecharge

function float CalcEnergyRecharge (float CurrentRechargeTime)


TransferProperties

function TransferProperties (Pickup PickedUpItem)

Overrides: PowerSuit.TransferProperties