Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_DamageContext.c
Go to the documentation of this file.
1 
6 //
8 {
9  void SCR_DamageContext(EDamageType type, float damage, out vector hitPosDirNorm[3], IEntity entity, HitZone hitzone, notnull Instigator dmgDealer,
10  GameMaterial hitMaterial, int colliderIndex, int boneNodeIndex)
11  {
12  damageType = type;
13  damageValue = damage;
14  hitEntity = entity;
15  colliderID = colliderIndex;
16  struckHitZone = hitzone;
17  instigator = dmgDealer;
18  material = hitMaterial;
19  hitPosition = hitPosDirNorm[0];
20  hitDirection = hitPosDirNorm[1];
21  hitNormal = hitPosDirNorm[2];
22  boneIndex = boneNodeIndex;
23  }
24 
25  //support for custom variables hasn't been implemented yet.
26 };
BaseDamageContext
Definition: BaseDamageContext.c:12
HitZone
Definition: HitZone.c:12
Instigator
Definition: Instigator.c:6
SCR_DamageContext
Definition: SCR_DamageContext.c:7
type
EDamageType type
Definition: SCR_DestructibleTreeV2.c:32
EDamageType
EDamageType
Definition: EDamageType.c:12
GameMaterial
Definition: GameMaterial.c:12