Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Building

Data Structures

class  BaseBuildingClass
 
class  Building
 
class  BuildingClass
 

Functions

BaseBuildingClass StaticModelEntityClass OnDamage (float damage, EDamageType type, IEntity pHitEntity, inout vector outMat[3], IEntity damageSource, notnull Instigator instigator, int colliderID, float speed)
 

Detailed Description

Function Documentation

◆ OnDamage()

BaseBuildingClass StaticModelEntityClass OnDamage ( float  damage,
EDamageType  type,
IEntity  pHitEntity,
inout vector  outMat[3],
IEntity  damageSource,
notnull Instigator  instigator,
int  colliderID,
float  speed 
)

Called when the damage has been dealt by the server.

Parameters
damageDamage value.
typeDamage type.
pHitEntityDamaged entity.
hitDirNormHit position/direction/normal.
damageSourceProjectile entity.
damageSourceParentDamage source parent entity (soldier / vehicle).
colliderIDCollider ID if exists otherwise enf::BAD_INDEX.
speedProjectile velocity in m/s.