Legacy:DamageType (UT)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 10:14, 13 May 2003 by Wormbo (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
UT :: Actor (UT) >> DamageType (Package: Engine)

In UT DamageType and its subclasses were intended to hold information about different types of damage like the death message, the type of screen flash when hit, etc.

However those classes are not used. Instead the death messages are created by the GameInfo (UT) based upon the DamageType parameter of the Pawn (UT)'s Died function or the Weapon (UT) class the killer was holding while his victim died.

See Taking Damage for information about the real UT damage types.

See DamageType for the UT2003 version of this class.

Properties

string Name (localized)
Description of damage.
string AltName (localized)
Alternative description.
float ViewFlash
View flash to play.
vector ViewFog
View fog to play.
class<Effects (UT)> DamageEffect
Special effect.

Methods

string DeathMessage ( ) [static]
Randomly return one of the descriptions.

Known Subclasses

  • UnrealDamageType
    • Burned
    • Corroded
    • Decapitated
    • Drowned
    • Fell