Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_ArmorDamageManagerComponent.c File Reference

Go to the source code of this file.

Classes

class  SCR_ArmorDamageManagerComponentClass

Functions

SCR_ArmorDamageManagerComponentClass SCR_DamageManagerComponentClass Attribute (defvalue:"0.4", uiwidget:UIWidgets.EditBox, desc:"Multiplies rawdamage to be passed to character from this armor piece")] protected float m_fPassedDamageScale
override bool FilterContact (IEntity owner, IEntity other, Contact contact)
 Armor doesn't take collisiondamage.
override bool HijackDamageHandling (notnull BaseDamageContext damageContext)
 We hijack damage on armor, and use it to damage the character. Always return true on the hijack to ensure the armor itself doesn't take damage.
void KnockOffTheHelmet (notnull BaseDamageContext damageContext)

Variables

bool m_bIsDetachable

Function Documentation

◆ Attribute()

SCR_ArmorDamageManagerComponentClass SCR_DamageManagerComponentClass Attribute ( defvalue:"0.4" ,
uiwidget:UIWidgets. EditBox,
desc:"Multiplies rawdamage to be passed to character from this armor piece"  )

◆ FilterContact()

override bool FilterContact ( IEntity owner,
IEntity other,
Contact contact )
protected

Armor doesn't take collisiondamage.

Definition at line 15 of file SCR_ArmorDamageManagerComponent.c.

◆ HijackDamageHandling()

override bool HijackDamageHandling ( notnull BaseDamageContext damageContext)
protected

We hijack damage on armor, and use it to damage the character. Always return true on the hijack to ensure the armor itself doesn't take damage.

Definition at line 22 of file SCR_ArmorDamageManagerComponent.c.

◆ KnockOffTheHelmet()

void KnockOffTheHelmet ( notnull BaseDamageContext damageContext)
protected

Method used to attempt to detach player's helmet when it is struck

Parameters
[in]damageContext

Definition at line 62 of file SCR_ArmorDamageManagerComponent.c.

Variable Documentation

◆ m_bIsDetachable

bool m_bIsDetachable
protected

Definition at line 11 of file SCR_ArmorDamageManagerComponent.c.