|
Arma Reforger Script API
|
Encapsulates the functionality of a destructible tree entity in the world. More...
Additional Inherited Members | |
Public Member Functions inherited from SCR_DestructibleEntity | |
| float | GetDamageMultiplier (EDamageType type) |
| float | GetDamageReduction () |
| float | GetDamageThreshold () |
| float | GetMaxHealth () |
| override void | OnDamage (int previousState, int newState, float currentHealth, notnull BaseDamageContext damageContext, ScriptBitWriter frameData) |
| void | HeatmapPrototype () |
| override void | OnStateChanged (int destructibleState, ScriptBitReader frameData, bool JIP) |
| override void | OnBeforeDestroyed () |
| override void | EOnContact (IEntity owner, IEntity other, Contact contact) |
| Contact. | |
| void | SCR_DestructibleEntity (IEntitySource src, IEntity parent) |
Public Member Functions inherited from DestructibleEntity | |
| proto external void | HandleDamage (EDamageType type, float damage, out vector hitPosDirNorm[3]) |
| proto external int | GetCorrespondingState (float hp) |
| proto external float | GetCurrentHealth () |
| int | GetDestructionCategory () |
| int | GetDestructionWeight () |
| float | ComputeEffectiveDamage (notnull BaseDamageContext damageContext) |
| Calculates the amount of damage a hitzone will receive. | |
Static Public Attributes inherited from SCR_DestructibleEntity | |
| static const int | TOTAL_DESTRUCTION_MAX_HEALTH_MULTIPLIER = 10 |
Protected Member Functions inherited from SCR_DestructibleEntity | |
| void | GoToDamagePhase (int damagePhaseIndex, int previousDamagePhaseIndex, SCR_DestructionData destructionData, bool streamed) |
| Only call from OnStateChanged, otherwise you have HUGE desync. | |
| bool | FilterContact (IEntity owner, IEntity other, Contact contact) |
| void | OnFilteredContact (IEntity owner, IEntity other, Contact contact) |
Protected Member Functions inherited from DestructibleEntity | |
| bool | OnContact (IEntity owner, IEntity other, Contact contact) |
Static Protected Attributes inherited from SCR_DestructibleEntity | |
| static const int | MIN_MOMENTUM_RESPONSE_INDEX = 1 |
| static const int | MIN_DESTRUCTION_RESPONSE_INDEX = 6 |
| static const float | MIN_IMPULSE_THRESHOLD = 5 |
Encapsulates the functionality of a destructible tree entity in the world.