The three virtues of a programmer: Laziness, Impatience, and Hubris. – Larry Wall

UE2:PowerSuit (U2)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
U2 Object >> Actor >> Inventory >> Powerups >> Armor >> PowerSuit
Package: 
U2
Direct subclasses:
PowerSuitHeavy, PowerSuitLight, PowerSuitMedium
This class in other games:
U2XMP

PowerSuit.uc

Properties[edit]

Property group 'PowerSuit'[edit]

ArmorDistribution[edit]

Type: float


Default value: 0.75

Internal variables[edit]

DamageResidue[edit]

Type: float

Holds the fractional damage not dealt to the player immediately

MaxPower[edit]

Type: float

The Maximum level of the PowerSuit energy holding capacity

PowerSuitHitSound[edit]

Type: Sound


Default value: Sound'U2A.Suits.PowerSuitHit'

PowerSuitHitVolume[edit]

Type: float


Default value: 1.0

Default values[edit]

Property Value
ItemName "Power Suit"

Instance functions[edit]

ArmorAbsorbDamage[edit]

function int ArmorAbsorbDamage (int Damage, class<DamageTypeDamageType, Object.Vector HitLocation, out Object.Vector Momentum)

Overrides: Armor.ArmorAbsorbDamage


DisplayDamageTaken[edit]

function DisplayDamageTaken ()


GetPower[edit]

function float GetPower ()


GiveTo[edit]

function GiveTo (Pawn Other)

Overrides: Inventory.GiveTo


PrioritizeArmor[edit]

function Armor PrioritizeArmor (int Damage, class<DamageTypeDamageType, Object.Vector HitLocation)

Overrides: Armor.PrioritizeArmor


SetPower[edit]

function SetPower (float NewPower)