DamageInfo

Constructors

Constructor

Description

DamageInfo()

DamageInfo(source)

DamageInfo(type, sourceActor, sourceWeapon)

Members

Member

Description

balanceDamage

direction

healthDamage

impactForce

isCriticalHit

isPiercing

isPlayerSource

isScripted

isSplashDamage

point

sourceActor

sourceWeapon

sourceWeaponEntry

type

Methods

Method

Description

ToString()

Static methods

Method

Description

EvaluateLastExplosionDamage(point, ignoreLevelGeometry)

Evaluates the explosion damage at the specified point.

Details

class DamageInfo
DamageInfo DamageInfo(DamageSourceType type, Actor sourceActor, Weapon sourceWeapon)
DamageInfo DamageInfo(DamageInfo source)
DamageInfo DamageInfo()
float balanceDamage
Vector3 direction
float healthDamage
Vector3 impactForce
bool isCriticalHit
bool isPiercing
const bool isPlayerSource
const bool isScripted
bool isSplashDamage
Vector3 point
Actor sourceActor
Weapon sourceWeapon
const WeaponEntry sourceWeaponEntry
DamageSourceType type
string ToString()
static DamageInfo EvaluateLastExplosionDamage(Vector3 point, bool ignoreLevelGeometry)

Evaluates the explosion damage at the specified point. Can optionally ignore level geometry which would otherwise block damage through walls, etc.