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

Data Structures

class  BaseTreeClass
 

Functions

BaseTreeClass 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()

BaseTreeClass 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.
outMatHit position/direction/normal.
damageSourceProjectile Entity.
damageSourceParentDamage source parent entity (soldier / vehicle).
colliderIDCollider ID if exists otherwise enf::BAD_INDEX.
speedProjectile velocity in m/s.