Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_WeaponBlastComponent Interface Reference
Inheritance diagram for SCR_WeaponBlastComponent:

Public Member Functions

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.
 
override void OnDelete (IEntity owner)
 
override void EOnInit (IEntity owner)
 
override void OnPostInit (IEntity owner)
 

Protected Member Functions

void CalculateRicochetDirection (vector hitPosDirNorm[3], out vector ricochetTransform[4])
 Method used for calculating the outcome direction from impact.
 
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 ent)
 Method used for finding an object that would be considered an obstruction on the way to the baslted entity.
 
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 QueryBalstedCharacters (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.
 

Protected Attributes

ref PointInfo m_BlastOrigin
 
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
 
ref TraceSphere m_Trace
 
ref Instigator m_Instigator
 
ref array< IEntity > m_aFoundCharacters
 
IEntity m_VerifiedEntity
 
bool m_bIsAiCharacter
 

Static Protected Attributes

static const EQueryEntitiesFlags QUERY_FLAGS = EQueryEntitiesFlags.DYNAMIC
 
static const int MAX_BLAST_MEMBERS = 32
 

Member Function Documentation

◆ ApplyDamage()

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

◆ CalculateRicochetDirection()

void SCR_WeaponBlastComponent.CalculateRicochetDirection ( vector hitPosDirNorm[3],
out vector ricochetTransform[4] )
protected

Method used for calculating the outcome direction from impact.

◆ EOnInit()

override void SCR_WeaponBlastComponent.EOnInit ( IEntity owner)

◆ FindClosestCharacterPoint()

vector SCR_WeaponBlastComponent.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.

◆ GetCharacterOwner()

SCR_ChimeraCharacter SCR_WeaponBlastComponent.GetCharacterOwner ( )
protected

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

◆ GetClosestHitZonePosition()

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

◆ ObstructionTraceFilter()

bool SCR_WeaponBlastComponent.ObstructionTraceFilter ( notnull IEntity ent)
protected

Method used for finding an object that would be considered an obstruction on the way to the baslted entity.

◆ OnDelete()

override void SCR_WeaponBlastComponent.OnDelete ( IEntity owner)

◆ OnPostInit()

override void SCR_WeaponBlastComponent.OnPostInit ( IEntity owner)

◆ OnWeaponFired()

void SCR_WeaponBlastComponent.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.

◆ OverrideInstigator()

void SCR_WeaponBlastComponent.OverrideInstigator ( IEntity newInstigatorEntity)

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

◆ QueryAddEntity()

bool SCR_WeaponBlastComponent.QueryAddEntity ( IEntity ent)
protected

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

◆ QueryBalstedCharacters()

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

◆ QueryFilter()

bool SCR_WeaponBlastComponent.QueryFilter ( IEntity ent)
protected

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

◆ SearchHierarchyForDamageManager()

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

◆ TraceFilter()

bool SCR_WeaponBlastComponent.TraceFilter ( notnull IEntity ent)
protected

Member Data Documentation

◆ m_aFoundCharacters

ref array<IEntity> SCR_WeaponBlastComponent.m_aFoundCharacters
protected

◆ m_bAICanBlastCharacters

bool SCR_WeaponBlastComponent.m_bAICanBlastCharacters
protected

◆ m_bAICanBlastDestructible

bool SCR_WeaponBlastComponent.m_bAICanBlastDestructible
protected

◆ m_bAICanDamageItself

bool SCR_WeaponBlastComponent.m_bAICanDamageItself
protected

◆ m_bCanBlastRicochet

bool SCR_WeaponBlastComponent.m_bCanBlastRicochet
protected

◆ m_bIgnoreAIUnits

bool SCR_WeaponBlastComponent.m_bIgnoreAIUnits
protected

◆ m_bIsAiCharacter

bool SCR_WeaponBlastComponent.m_bIsAiCharacter
protected

◆ m_BlastOrigin

ref PointInfo SCR_WeaponBlastComponent.m_BlastOrigin
protected

◆ m_fBlastConeAngle

float SCR_WeaponBlastComponent.m_fBlastConeAngle
protected

◆ m_fBlastLength

float SCR_WeaponBlastComponent.m_fBlastLength
protected

◆ m_fDeflectionFlatteningStrength

float SCR_WeaponBlastComponent.m_fDeflectionFlatteningStrength
protected

◆ m_fDestructibleDamageMultiplier

float SCR_WeaponBlastComponent.m_fDestructibleDamageMultiplier
protected

◆ m_Instigator

ref Instigator SCR_WeaponBlastComponent.m_Instigator
protected

◆ m_Trace

ref TraceSphere SCR_WeaponBlastComponent.m_Trace
protected

◆ m_VerifiedEntity

IEntity SCR_WeaponBlastComponent.m_VerifiedEntity
protected

◆ MAX_BLAST_MEMBERS

const int SCR_WeaponBlastComponent.MAX_BLAST_MEMBERS = 32
staticprotected

◆ QUERY_FLAGS

const EQueryEntitiesFlags SCR_WeaponBlastComponent.QUERY_FLAGS = EQueryEntitiesFlags.DYNAMIC
staticprotected

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