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

Go to the source code of this file.

Classes

class  SCR_DestructibleEntityClass

Functions

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 GoToDamagePhase (int damagePhaseIndex, int previousDamagePhaseIndex, SCR_DestructionData destructionData, bool streamed)
 Only call from OnStateChanged, otherwise you have HUGE desync.
void HeatmapPrototype ()
override void OnStateChanged (int destructibleState, ScriptBitReader frameData, bool JIP)
override void OnBeforeDestroyed ()
bool FilterContact (IEntity owner, IEntity other, Contact contact)
void OnFilteredContact (IEntity owner, IEntity other, Contact contact)
override void EOnContact (IEntity owner, IEntity other, Contact contact)
 Contact.
void SCR_DestructibleEntity (IEntitySource src, IEntity parent)

Variables

SCR_DestructibleEntityClass MIN_MOMENTUM_RESPONSE_INDEX = 1

Function Documentation

◆ EOnContact()

override void EOnContact ( IEntity owner,
IEntity other,
Contact contact )
protected

Contact.

Definition at line 295 of file SCR_DestructibleEntity.c.

◆ FilterContact()

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

Definition at line 234 of file SCR_DestructibleEntity.c.

◆ GetDamageMultiplier()

float GetDamageMultiplier ( EDamageType type)
protected

Definition at line 28 of file SCR_DestructibleEntity.c.

◆ GetDamageReduction()

float GetDamageReduction ( )
protected

Definition at line 38 of file SCR_DestructibleEntity.c.

◆ GetDamageThreshold()

float GetDamageThreshold ( )
protected

Definition at line 48 of file SCR_DestructibleEntity.c.

◆ GetMaxHealth()

float GetMaxHealth ( )
protected

Definition at line 58 of file SCR_DestructibleEntity.c.

◆ GoToDamagePhase()

void GoToDamagePhase ( int damagePhaseIndex,
int previousDamagePhaseIndex,
SCR_DestructionData destructionData,
bool streamed )
protected

Only call from OnStateChanged, otherwise you have HUGE desync.

Definition at line 106 of file SCR_DestructibleEntity.c.

◆ HeatmapPrototype()

void HeatmapPrototype ( )
protected

Definition at line 186 of file SCR_DestructibleEntity.c.

◆ OnBeforeDestroyed()

override void OnBeforeDestroyed ( )
protected

Definition at line 228 of file SCR_DestructibleEntity.c.

◆ OnDamage()

override void OnDamage ( int previousState,
int newState,
float currentHealth,
notnull BaseDamageContext damageContext,
ScriptBitWriter frameData )
protected

Definition at line 68 of file SCR_DestructibleEntity.c.

◆ OnFilteredContact()

void OnFilteredContact ( IEntity owner,
IEntity other,
Contact contact )
protected

Definition at line 259 of file SCR_DestructibleEntity.c.

◆ OnStateChanged()

override void OnStateChanged ( int destructibleState,
ScriptBitReader frameData,
bool JIP )
protected

Definition at line 212 of file SCR_DestructibleEntity.c.

◆ SCR_DestructibleEntity()

void SCR_DestructibleEntity ( IEntitySource src,
IEntity parent )
protected

Definition at line 307 of file SCR_DestructibleEntity.c.

Variable Documentation

◆ MIN_MOMENTUM_RESPONSE_INDEX

SCR_DestructibleEntityClass MIN_MOMENTUM_RESPONSE_INDEX = 1