Arma Reforger Script API
Loading...
Searching...
No Matches
List of all members
PowerPoleEntity Interface Reference
Inheritance diagram for PowerPoleEntity:
[legend]

Additional Inherited Members

- Public Member Functions inherited from SCR_DestructibleEntity
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.
 
float GetDestructibleSize ()
 
void PlaySound (int damagePhaseIndex)
 
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.
 
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 ()
 
float ComputeEffectiveDamage (EDamageType damageType, float rawDamage, IEntity damageSource, notnull Instigator instigator, const GameMaterial hitMaterial, inout vector hitTransform[3], const vector impactVelocity)
 Calculates the amount of damage a hitzone will receive.
 
- Static Public Attributes inherited from SCR_DestructibleEntity
const float SIMULATION_IMPRECISION_MULTIPLIER = 1.1
 
static const int MAX_DESTRUCTION_RESPONSE_INDEX = 10
 
static const string MAX_DESTRUCTION_RESPONSE_INDEX_NAME = "HugeDestructible"
 
static const int TOTAL_DESTRUCTION_MAX_HEALTH_MULTIPLIER = 10
 
- Protected Member Functions inherited from SCR_DestructibleEntity
void SpawnPhaseObjects (SCR_BaseDestructionPhase phase, SCR_DestructionData destructionData)
 Spawns objects that are meant to be created when the object is destroyed (particles, debris, etc)
 
void GoToDamagePhase (int damagePhaseIndex, int previousDamagePhaseIndex, SCR_DestructionData destructionData, bool streamed)
 Only call from OnStateChanged, otherwise you have HUGE desync.
 
void SetDamagePhaseSignal (int damagePhaseIndex=0)
 
- Protected Member Functions inherited from DestructibleEntity
void OnDamage (int previousState, int newState, EDamageType type, float damageTaken, float currentHealth, inout vector hitTransform[3], ScriptBitWriter frameData)
 
void OnStateChanged (int destructibleState, ScriptBitReader frameData, bool JIP)
 
void OnBeforeDestroyed ()
 
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 MAX_MOMENTUM_RESPONSE_INDEX = 5
 
static const int MIN_DESTRUCTION_RESPONSE_INDEX = 6
 
static const string DAMAGE_PHASE_SIGNAL_NAME = "DamagePhase"
 

The documentation for this interface was generated from the following file: