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

Public Member Functions

void GetSpawnTransform (IEntity owner, out vector outMat[4], bool localCoords=false)
 Calculates the spawn tranformation matrix for the object.
 
override void ExecuteEffect (IEntity owner, SCR_HitInfo hitInfo, inout notnull SCR_BuildingDestructionData data)
 Spawns the object.
 
- Public Member Functions inherited from SCR_TimedEffect
void SnapToTerrain (inout vector origin, IEntity owner)
 Snaps the origin to terrain.
 

Public Attributes

ref array< ResourceName > m_ModelPrefabs
 
float m_fMass
 
float m_fLifetimeMin
 
float m_fLifetimeMax
 
float m_fDistanceMax
 
int m_fPriority
 
float m_fDamageToImpulse
 
float m_fMaxDamageToSpeedMultiplier
 
float m_fRandomVelocityLinear
 
float m_fRandomVelocityAngular
 
SCR_EMaterialSoundTypeDebris m_eMaterialSoundType
 
- Public Attributes inherited from SCR_TimedEffect
float m_fSpawnTime
 
bool m_bSnapToTerrain
 
bool m_bAttachToParent
 
bool m_bPersistent
 

Protected Attributes

vector m_vOffsetPosition
 
vector m_vOffsetRotation
 

Member Function Documentation

◆ ExecuteEffect()

override void SCR_TimedDebris.ExecuteEffect ( IEntity owner,
SCR_HitInfo hitInfo,
inout notnull SCR_BuildingDestructionData data )

Spawns the object.

Implements SCR_TimedEffect.

◆ GetSpawnTransform()

void SCR_TimedDebris.GetSpawnTransform ( IEntity owner,
out vector outMat[4],
bool localCoords = false )

Calculates the spawn tranformation matrix for the object.

Member Data Documentation

◆ m_eMaterialSoundType

SCR_EMaterialSoundTypeDebris SCR_TimedDebris.m_eMaterialSoundType

◆ m_fDamageToImpulse

float SCR_TimedDebris.m_fDamageToImpulse

◆ m_fDistanceMax

float SCR_TimedDebris.m_fDistanceMax

◆ m_fLifetimeMax

float SCR_TimedDebris.m_fLifetimeMax

◆ m_fLifetimeMin

float SCR_TimedDebris.m_fLifetimeMin

◆ m_fMass

float SCR_TimedDebris.m_fMass

◆ m_fMaxDamageToSpeedMultiplier

float SCR_TimedDebris.m_fMaxDamageToSpeedMultiplier

◆ m_fPriority

int SCR_TimedDebris.m_fPriority

◆ m_fRandomVelocityAngular

float SCR_TimedDebris.m_fRandomVelocityAngular

◆ m_fRandomVelocityLinear

float SCR_TimedDebris.m_fRandomVelocityLinear

◆ m_ModelPrefabs

ref array<ResourceName> SCR_TimedDebris.m_ModelPrefabs

◆ m_vOffsetPosition

vector SCR_TimedDebris.m_vOffsetPosition
protected

◆ m_vOffsetRotation

vector SCR_TimedDebris.m_vOffsetRotation
protected

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