Always snap to grid

UE2:U2JumpPack (U2XMP)

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

U2JumpPack.uc

Properties[edit]

Property group 'U2JumpPack'[edit]

DrainAmount[edit]

Type: int


DrainRate[edit]

Type: float

DrainAmount per DrainRate in seconds

JumpEnergy[edit]

Type: float

Current JumpEnergy

MaxJumpEnergy[edit]

Type: float

JumpEnergy cap

RechargeAmount[edit]

Type: float


RechargeRate[edit]

Type: float

RechargeAmount per RechargeRate in seconds

Thrust[edit]

Type: float


ThrustSound[edit]

Type: Sound


Default value: Sound'U2A.Suits.JumpPackThrust'

Internal variables[edit]

bThrusting[edit]

Type: bool


LastDrainTime[edit]

Type: float


LastRechargeTime[edit]

Type: float


TargetPowerSuit[edit]

Type: PowerSuit


Default values[edit]

Property Value
ItemName "Jump Pack"

Functions[edit]

Exec functions[edit]

JumpPackThrust[edit]

exec function JumpPackThrust ()


UnJumpPackThrust[edit]

exec function UnJumpPackThrust ()


Events[edit]

PreBeginPlay[edit]

event PreBeginPlay ()

Overrides: PowerSuit.PreBeginPlay


Tick[edit]

simulated event Tick (float DeltaTime)

Overrides: Actor.Tick


Other instance functions[edit]

ApplyDrain[edit]

function float ApplyDrain (float ToDrain, float CurrentDrainTime)


ApplyRecharge[edit]

function float ApplyRecharge (float ToRecharge, float CurrentRechargeTime)


CalcEnergyDrain[edit]

function float CalcEnergyDrain (float CurrentDrainTime)


CalcEnergyRecharge[edit]

function float CalcEnergyRecharge (float CurrentRechargeTime)


TransferProperties[edit]

function TransferProperties (Pickup PickedUpItem)

Overrides: PowerSuit.TransferProperties