DamageInfo
Constructors
Constructor |
Description |
---|---|
Members
Member |
Description |
---|---|
Methods
Method |
Description |
---|---|
Static methods
Method |
Description |
---|---|
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
-
float healthDamage
-
bool isCriticalHit
-
bool isPiercing
-
const bool isPlayerSource
-
const bool isScripted
-
bool isSplashDamage
-
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.
-
DamageInfo DamageInfo(DamageSourceType type, Actor sourceActor, Weapon sourceWeapon)