![]() |
Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Go to the source code of this file.
Data Structures | |
| class | SCR_DestructibleEntityClass |
| class | SCR_DestructionData |
Functions | |
| float | GetDamageMultiplier (EDamageType type) |
| float | GetDamageReduction () |
| float | GetDamageThreshold () |
| float | GetMaxHealth () |
| void | RegenerateNavmeshDelayed () |
| override void | OnDamage (int previousState, int newState, EDamageType type, float damageTaken, float currentHealth, inout vector hitTransform[3], ScriptBitWriter frameData) |
| void | SetModel (ResourceName model) |
| Sets the model of the object. More... | |
| protected void | SpawnPhaseObjects (SCR_BaseDestructionPhase phase, SCR_DestructionData destructionData) |
| Spawns objects that are meant to be created when the object is destroyed (particles, debris, etc) More... | |
| protected void | GoToDamagePhase (int damagePhaseIndex, int previousDamagePhaseIndex, SCR_DestructionData destructionData, bool streamed) |
| Only call from OnStateChanged, otherwise you have HUGE desync. More... | |
| float | GetDestructibleSize () |
| void | PlaySound (int damagePhaseIndex) |
| protected void | SetDamagePhaseSignal (int damagePhaseIndex=0) |
| override void | OnStateChanged (int destructibleState, ScriptBitReader frameData, bool JIP) |
| override void | OnBeforeDestroyed () |
| float | CalculateMomentum (Contact contact, float ownerMass, float otherMass) |
| void | UpdateResponseIndex (float currentHealth) |
| bool | IsProxy () |
| override void | EOnContact (IEntity owner, IEntity other, Contact contact) |
| Contact. More... | |
| void | SCR_DestructibleEntity (IEntitySource src, IEntity parent) |
Variables | |
| SCR_DestructionData | SIMULATION_IMPRECISION_MULTIPLIER = 1.1 |
| float CalculateMomentum | ( | Contact | contact, |
| float | ownerMass, | ||
| float | otherMass | ||
| ) |
Definition at line 346 of file SCR_DestructibleEntity.c.
| override void EOnContact | ( | IEntity | owner, |
| IEntity | other, | ||
| Contact | contact | ||
| ) |
Contact.
Definition at line 390 of file SCR_DestructibleEntity.c.
| float GetDamageMultiplier | ( | EDamageType | type | ) |
Definition at line 92 of file SCR_DestructibleEntity.c.
| float GetDamageReduction | ( | ) |
Definition at line 102 of file SCR_DestructibleEntity.c.
| float GetDamageThreshold | ( | ) |
Definition at line 112 of file SCR_DestructibleEntity.c.
| float GetDestructibleSize | ( | ) |
Definition at line 265 of file SCR_DestructibleEntity.c.
| float GetMaxHealth | ( | ) |
Definition at line 122 of file SCR_DestructibleEntity.c.
| protected void GoToDamagePhase | ( | int | damagePhaseIndex, |
| int | previousDamagePhaseIndex, | ||
| SCR_DestructionData | destructionData, | ||
| bool | streamed | ||
| ) |
Only call from OnStateChanged, otherwise you have HUGE desync.
Definition at line 221 of file SCR_DestructibleEntity.c.
| bool IsProxy | ( | ) |
Definition at line 380 of file SCR_DestructibleEntity.c.
| override void OnBeforeDestroyed | ( | ) |
Definition at line 340 of file SCR_DestructibleEntity.c.
| override void OnDamage | ( | int | previousState, |
| int | newState, | ||
| EDamageType | type, | ||
| float | damageTaken, | ||
| float | currentHealth, | ||
| inout vector | hitTransform[3], | ||
| ScriptBitWriter | frameData | ||
| ) |
Definition at line 149 of file SCR_DestructibleEntity.c.
| override void OnStateChanged | ( | int | destructibleState, |
| ScriptBitReader | frameData, | ||
| bool | JIP | ||
| ) |
Definition at line 330 of file SCR_DestructibleEntity.c.
| void PlaySound | ( | int | damagePhaseIndex | ) |
Definition at line 273 of file SCR_DestructibleEntity.c.
| void RegenerateNavmeshDelayed | ( | ) |
Definition at line 132 of file SCR_DestructibleEntity.c.
| void SCR_DestructibleEntity | ( | IEntitySource | src, |
| IEntity | parent | ||
| ) |
Definition at line 464 of file SCR_DestructibleEntity.c.
| protected void SetDamagePhaseSignal | ( | int | damagePhaseIndex = 0 | ) |
Definition at line 319 of file SCR_DestructibleEntity.c.
| void SetModel | ( | ResourceName | model | ) |
Sets the model of the object.
Definition at line 176 of file SCR_DestructibleEntity.c.
| protected void SpawnPhaseObjects | ( | SCR_BaseDestructionPhase | phase, |
| SCR_DestructionData | destructionData | ||
| ) |
Spawns objects that are meant to be created when the object is destroyed (particles, debris, etc)
Definition at line 205 of file SCR_DestructibleEntity.c.
| void UpdateResponseIndex | ( | float | currentHealth | ) |
Definition at line 362 of file SCR_DestructibleEntity.c.
| SCR_DestructionData SIMULATION_IMPRECISION_MULTIPLIER = 1.1 |