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

Go to the source code of this file.

Classes

class  SCR_WeaponBlastComponentClass

Functions

SCR_WeaponBlastComponentClass ScriptComponentClass Attribute (desc:"Position and direction in which blast will propagate\nDirection is determined by forward vector (blue arrow)")
float GetBlastLength ()
float GetBlastConeAngle ()
bool CanBlastRicochet ()
float GetDeflectionFlatteningStrength ()
float GetDestructibleDamageMultiplier ()
bool ShouldIgnoreAIUnits ()
bool CanAIBlastCharacters ()
bool CanAIBlastDestructible ()
bool CanAIDamageItself ()
int GetBlastEffects (out notnull array< SCR_WeaponBlastEffect > outBlastEffects)
bool QueryFilter (IEntity ent)
 Method used for filtering out entities that are not meant to be gathered for further investigation of the blast mechanic.
bool QueryAddEntity (IEntity ent)
 Method used for adding found characters to the list of blsted characters.
bool TraceFilter (notnull IEntity ent)
bool ObstructionTraceFilter (notnull IEntity e, vector start="0 0 0", vector dir="0 0 0")
 Method used to determine which items that were found by the query should stop the trace.
void OverrideInstigator (IEntity newInstigatorEntity)
 Method that is meant to be set before weapon will fire in order to control who is blamed for the blast.
vector FindClosestCharacterPoint (vector startingPos, vector direction, notnull ChimeraCharacter character, out float distance)
 Method for finding the the point that is the closest to the center line of the cone.
bool GetClosestHitZonePosition (out vector entPosition, notnull ChimeraCharacter character, vector nearestPosition)
void QueryBlastedCharacters (vector startingPos[4], float length, out notnull array< ref SCR_BlastedEntityEntry > blastedEntities, float additionalDistance=0)
void OnWeaponFired (IEntity effectEntity, BaseMuzzleComponent muzzle, IEntity projectileEntity)
 Called when launcher fires; Trace in the opposite direction of the warhead and apply damage to surrounding area.
void ApplyDamage (notnull array< ref SCR_BlastedEntityEntry > blastedEntities)
SCR_DamageManagerComponent SearchHierarchyForDamageManager (IEntity startEntity, int colliderIndex, out HitZone hitZone)
SCR_ChimeraCharacter GetCharacterOwner ()
 Returns the top most owner of this object or the operator of this turret.
override void OnDelete (IEntity owner)
override void EOnInit (IEntity owner)
override void OnPostInit (IEntity owner)
 Editable Mine.

Variables

ref array< ref SCR_WeaponBlastEffectm_aBlastEffects
float m_fBlastLength
float m_fBlastConeAngle
bool m_bCanBlastRicochet
float m_fDeflectionFlatteningStrength
float m_fDestructibleDamageMultiplier
bool m_bIgnoreAIUnits
bool m_bAICanBlastCharacters
bool m_bAICanBlastDestructible
bool m_bAICanDamageItself

Function Documentation

◆ ApplyDamage()

void ApplyDamage ( notnull array< ref SCR_BlastedEntityEntry > blastedEntities)
protected

Definition at line 728 of file SCR_WeaponBlastComponent.c.

◆ Attribute()

SCR_WeaponBlastComponentClass ScriptComponentClass Attribute ( desc:"Position and direction in which blast will propagate\nDirection is determined by forward vector (blue arrow)" )

Definition at line 1 of file SCR_WeaponBlastComponent.c.

◆ CanAIBlastCharacters()

bool Attribute::CanAIBlastCharacters ( )
protected

Definition at line 172 of file SCR_WeaponBlastComponent.c.

◆ CanAIBlastDestructible()

bool Attribute::CanAIBlastDestructible ( )
protected

Definition at line 178 of file SCR_WeaponBlastComponent.c.

◆ CanAIDamageItself()

bool Attribute::CanAIDamageItself ( )
protected

Definition at line 184 of file SCR_WeaponBlastComponent.c.

◆ CanBlastRicochet()

bool Attribute::CanBlastRicochet ( )
protected

Definition at line 149 of file SCR_WeaponBlastComponent.c.

◆ FindClosestCharacterPoint()

vector FindClosestCharacterPoint ( vector startingPos,
vector direction,
notnull ChimeraCharacter character,
out float distance )
protected

Method for finding the the point that is the closest to the center line of the cone.

Definition at line 282 of file SCR_WeaponBlastComponent.c.

◆ GetBlastConeAngle()

float Attribute::GetBlastConeAngle ( )
protected

Definition at line 143 of file SCR_WeaponBlastComponent.c.

◆ GetBlastEffects()

int Attribute::GetBlastEffects ( out notnull array< SCR_WeaponBlastEffect > outBlastEffects)
protected
Parameters
[in]outBlastEffectsarray to which blast effects are going to be added
Returns

Definition at line 192 of file SCR_WeaponBlastComponent.c.

◆ GetBlastLength()

float Attribute::GetBlastLength ( )
protected

Definition at line 137 of file SCR_WeaponBlastComponent.c.

◆ GetCharacterOwner()

SCR_ChimeraCharacter GetCharacterOwner ( )
protected

Returns the top most owner of this object or the operator of this turret.

Definition at line 855 of file SCR_WeaponBlastComponent.c.

◆ GetClosestHitZonePosition()

bool GetClosestHitZonePosition ( out vector entPosition,
notnull ChimeraCharacter character,
vector nearestPosition )
protected

Definition at line 348 of file SCR_WeaponBlastComponent.c.

◆ GetDeflectionFlatteningStrength()

float Attribute::GetDeflectionFlatteningStrength ( )
protected

Definition at line 155 of file SCR_WeaponBlastComponent.c.

◆ GetDestructibleDamageMultiplier()

float Attribute::GetDestructibleDamageMultiplier ( )
protected

Definition at line 161 of file SCR_WeaponBlastComponent.c.

◆ ObstructionTraceFilter()

bool ObstructionTraceFilter ( notnull IEntity e,
vector start = "0 0 0",
vector dir = "0 0 0" )
protected

Method used to determine which items that were found by the query should stop the trace.

Definition at line 256 of file SCR_WeaponBlastComponent.c.

◆ OnDelete()

override void OnDelete ( IEntity owner)
protected

Definition at line 895 of file SCR_WeaponBlastComponent.c.

◆ OnWeaponFired()

void OnWeaponFired ( IEntity effectEntity,
BaseMuzzleComponent muzzle,
IEntity projectileEntity )
protected

Called when launcher fires; Trace in the opposite direction of the warhead and apply damage to surrounding area.

Definition at line 599 of file SCR_WeaponBlastComponent.c.

◆ OverrideInstigator()

void OverrideInstigator ( IEntity newInstigatorEntity)
protected

Method that is meant to be set before weapon will fire in order to control who is blamed for the blast.

Definition at line 275 of file SCR_WeaponBlastComponent.c.

◆ QueryAddEntity()

bool QueryAddEntity ( IEntity ent)
protected

Method used for adding found characters to the list of blsted characters.

Definition at line 220 of file SCR_WeaponBlastComponent.c.

◆ QueryBlastedCharacters()

void QueryBlastedCharacters ( vector startingPos[4],
float length,
out notnull array< ref SCR_BlastedEntityEntry > blastedEntities,
float additionalDistance = 0 )
protected

Definition at line 390 of file SCR_WeaponBlastComponent.c.

◆ QueryFilter()

bool QueryFilter ( IEntity ent)
protected

Method used for filtering out entities that are not meant to be gathered for further investigation of the blast mechanic.

Definition at line 204 of file SCR_WeaponBlastComponent.c.

◆ SearchHierarchyForDamageManager()

SCR_DamageManagerComponent SearchHierarchyForDamageManager ( IEntity startEntity,
int colliderIndex,
out HitZone hitZone )
protected

Definition at line 828 of file SCR_WeaponBlastComponent.c.

◆ ShouldIgnoreAIUnits()

bool Attribute::ShouldIgnoreAIUnits ( )
protected

Definition at line 167 of file SCR_WeaponBlastComponent.c.

◆ TraceFilter()

bool TraceFilter ( notnull IEntity ent)
protected

Definition at line 234 of file SCR_WeaponBlastComponent.c.

Variable Documentation

◆ m_aBlastEffects

ref array<ref SCR_WeaponBlastEffect> m_aBlastEffects
protected

Definition at line 107 of file SCR_WeaponBlastComponent.c.

◆ m_bAICanBlastCharacters

bool m_bAICanBlastCharacters
protected

Definition at line 128 of file SCR_WeaponBlastComponent.c.

◆ m_bAICanBlastDestructible

bool m_bAICanBlastDestructible
protected

Definition at line 131 of file SCR_WeaponBlastComponent.c.

◆ m_bAICanDamageItself

bool m_bAICanDamageItself
protected

Definition at line 134 of file SCR_WeaponBlastComponent.c.

◆ m_bCanBlastRicochet

bool m_bCanBlastRicochet
protected

Definition at line 116 of file SCR_WeaponBlastComponent.c.

◆ m_bIgnoreAIUnits

bool m_bIgnoreAIUnits
protected

Definition at line 125 of file SCR_WeaponBlastComponent.c.

◆ m_fBlastConeAngle

float m_fBlastConeAngle
protected

Definition at line 113 of file SCR_WeaponBlastComponent.c.

◆ m_fBlastLength

float m_fBlastLength
protected

Definition at line 110 of file SCR_WeaponBlastComponent.c.

◆ m_fDeflectionFlatteningStrength

float m_fDeflectionFlatteningStrength
protected

Definition at line 119 of file SCR_WeaponBlastComponent.c.

◆ m_fDestructibleDamageMultiplier

float m_fDestructibleDamageMultiplier
protected

Definition at line 122 of file SCR_WeaponBlastComponent.c.