![]() |
Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Go to the source code of this file.
Classes | |
| class | SCR_HeadgearInventoryItemComponentClass |
Functions | |
| void | OnPostInit (IEntity owner) |
| Editable Mine. | |
| void | DetachHelmet (float damageValue, EDamageType damageType, vector impactDirection, vector impactPosition, notnull ChimeraCharacter character) |
| void | ApplyForce (vector positionFrom, vector offset, vector force) |
| void | OnPhysicsStateChanged (bool isActive) |
Variables | |
| SCR_HeadgearInventoryItemComponentClass | m_bLock |
| Lock that is used to ensure that detaching procedure will not start twice. | |
Applies the force to the entity and enables synchronization of the physics simulation. Should be only executed by the authority.
| [in] | positionFrom | |
| [in] | offset | |
| [in] | force |
Definition at line 148 of file SCR_HeadgearInventoryItemComponent.c.
|
protected |
Evaluates if provided damage should be capable of detaching the helmet from the character, and in such case schedules force application based on the damage amount This method should only be called by the authority
| [in] | damageValue | |
| [in] | damageType | |
| [in] | impactDirection | |
| [in] | impactPosition | |
| [in] | character | who is wearing the headgear |
Definition at line 77 of file SCR_HeadgearInventoryItemComponent.c.
|
protected |
| [in] | isActive |
Definition at line 175 of file SCR_HeadgearInventoryItemComponent.c.
Lock that is used to ensure that detaching procedure will not start twice.