Arma Reforger Script API
|
Public Member Functions | |
bool | IsRplReady () |
Check if replication loading is completed. Important for join in progress and when streaming entities in. | |
HitZone | GetHitZoneByName (string hitZoneName, bool caseSensitive=false) |
Get the HitZone that matches the provided name. | |
void | GetPhysicalHitZones (out notnull array< HitZone > physicalHitZones) |
Return hit zones with colliders assigned. | |
void | GetRegeneratingHitZones (out notnull array< SCR_RegeneratingHitZone > regeneratingHitZones) |
Return hit zones with passive regeneration enabled. | |
void | RpcDo_SetFireState (int hitZoneIndex, SCR_EBurningState fireState) |
Set fire rate of a flammable hitzone. | |
override bool | FilterContact (IEntity owner, IEntity other, Contact contact) |
No contacts for destroyed entities. | |
float | CalculateMomentum (Contact contact, float ownerMass, float otherMass) |
int | GetSurroundingHitzones (vector origin, Physics physics, float maxDistance, out array< HitZone > outHitzones) |
float | GetMinDestroyDamage (EDamageType damageType, array< HitZone > hitzones, int count) |
ScriptInvoker | GetOnDamage () |
ScriptInvoker | GetOnDamageOverTimeAdded () |
ScriptInvoker | GetOnDamageOverTimeRemoved () |
ScriptInvoker | GetOnDamageStateChanged () |
void | ~SCR_DamageManagerComponent () |
int | GetHitZonesOfGroup (EHitZoneGroup hitZoneGroup, out notnull array< HitZone > groupHitZones, bool clearArray=true) |
Get a list of all hitzones of specific hitzone group. | |
int | GetHitZonesOfGroups (notnull array< EHitZoneGroup > hitZoneGroups, out notnull array< HitZone > groupHitZones) |
Get a list of all hitzones of specific hitzone group. | |
float | GetGroupDamageOverTime (ECharacterHitZoneGroup hitZoneGroup, EDamageType damageType) |
Get total damage over time of given hitzone group. | |
void | Kill (notnull Instigator instigator) |
Neutralize the entity with a specific damage type, registering the killer entity. | |
void | DamageRandomHitZones (float damage, EDamageType type, notnull Instigator instigator, bool onlyPhysical=true, vector outMat[3]={}, bool damageDefault=false) |
Damage random physical hit zones up to damage amount. | |
bool | CanBeHealed (bool ignoreHealingDOT=true) |
Return true if there is damage that can be repaired. | |
void | FullHeal (bool ignoreHealingDOT=true) |
Fix all the damage. | |
float | HealHitZones (float healthToDistribute, bool sequential=false, float maxHealThresholdScaled=1, array< HitZone > alternativeHitZones=null) |
Partially heal the hitZones of an entity. | |
void | ReduceSmoke () |
Reduce smoke output based on the total health of hit zones. | |
float | GetHitZonesDamage (float untilThresholdScaled=1, array< HitZone > alternativeHitZones=null) |
Get all damage dealt to hitzones. | |
float | GetHitZonesHealthScaled (array< HitZone > alternativeHitZones=null) |
Get Health scaled of all hitzones. | |
float | GetSingleHitZonesHealthScaled (array< HitZone > alternativeHitZones=null, bool getLowestHealth=true) |
Get single Health scaled from hitzones. | |
ResourceName | GetSecondaryExplosion (float value, SCR_ESecondaryExplosionType explosionType, EResourceType resourceType=EResourceType.SUPPLIES, bool fire=false) |
Determine secondary explosion prefab based on explosion value, type and resource type if defined. | |
SCR_SecondaryExplosion | GetSecondaryExplosionForScale (SCR_ESecondaryExplosionScale scale, SCR_ESecondaryExplosionType explosionType, EResourceType resourceType=EResourceType.SUPPLIES) |
Determine secondary explosion prefab based on explosion scale, type and resource type if defined. | |
SCR_ESecondaryExplosionScale | GetSecondaryExplosionScale (float value, SCR_ESecondaryExplosionType explosionType, EResourceType resourceType=EResourceType.SUPPLIES) |
Determine secondary explosion prefab based on explosion value, type and resource type if defined. | |
ResourceName | GetSecondaryFireParticle (float value, SCR_ESecondaryExplosionType explosionType, EResourceType resourceType=EResourceType.SUPPLIES) |
Determine secondary explosion prefab based on explosion value, type and resource type if defined. | |
bool | IsOnFire (HitZone hitZone=null) |
Determine if provided or any hit zone from this damage manager is on fire. | |
bool | IsOnFire (notnull array< HitZone > hitZones) |
Determine if any hit zone from this damage manager is on fire. | |
void | SecondaryExplosion (ResourceName prefabName, notnull Instigator instigator, notnull EntitySpawnParams spawnParams) |
Spawn secondary explosion. | |
SCR_ResourceEncapsulator | GetResourceEncapsulator (EResourceType suppliesType=EResourceType.SUPPLIES) |
void | SupplySecondaryExplosion (notnull Instigator instigator) |
Spawn supply secondary explosion when vehicle becomes destroyed. | |
vector | GetSecondaryExplosionPosition (TypeName hitZoneType, out float totalWeight=0) |
Get weighed average position of explosion for hitzones of specified type. | |
void | FuelSecondaryExplosion (notnull Instigator instigator) |
Spawn fuel secondary explosion when vehicle becomes destroyed. | |
void | UpdateFireDamage (float timeSlice) |
void | UpdateFireParticles (vector position, out ParticleEffectEntity particles, SCR_ESecondaryExplosionScale state, SCR_ESecondaryExplosionType fireType, EResourceType resourceType=EResourceType.SUPPLIES) |
Update visual effects and store result in particles variable. | |
override void | OnDamageOverTimeAdded (EDamageType dType, float dps, HitZone hz) |
Invoked every time the DoT is added to certain hitzone. | |
override void | OnDamageOverTimeRemoved (EDamageType dType, HitZone hz) |
Invoked when provided damage type is removed from certain hitzone. | |
override bool | HijackDamageHandling (notnull BaseDamageContext damageContext) |
Public Member Functions inherited from DamageManagerComponent | |
proto external int | ComputeStruckHitZones (out notnull array< HitZone > struckHitZones, notnull BaseDamageContext damageContext) |
Clears and fills struckHitZones array with all HZs that should get damaged by this BaseDamageContext. | |
proto external void | EnableDamageHandling (bool enable) |
proto external bool | IsDamageHandlingEnabled () |
proto external float | GetMovementDamage () |
proto external float | GetAimingDamage () |
proto external void | SetMovementDamage (float damage) |
proto external void | SetAimingDamage (float damage) |
proto external float | GetHealthScaled () |
proto external bool | SetHealthScaled (float health) |
proto external float | GetHealth () |
proto external float | GetMaxHealth () |
proto external EDamageState | GetState () |
proto external bool | IsDestroyed () |
proto external void | SetInstigatorEntity (IEntity instigator) |
proto external void | SetInstigator (notnull Instigator instigator) |
proto external notnull Instigator | GetInstigator () |
proto external int | GetAttachedColliderIDs (out notnull array< int > outAttachedColliderIDs) |
Fills colliderIDs with all the colliders attached to hitzones this dmg manager owns. | |
proto external void | HandleDamage (notnull BaseDamageContext damageContext) |
proto external bool | IsDamagedOverTime (EDamageType dType) |
proto external float | GetDamageOverTime (EDamageType dType) |
proto external void | RemoveDamageOverTime (EDamageType dType) |
Removes DOT of provided damageType from all currently affected HitZones. | |
bool | ShouldOverrideInstigator (notnull Instigator currentInstigator, notnull Instigator newInstigator) |
Called whenever an instigator is going to be set. | |
GameMaterial | OverrideHitMaterial (HitZone struckHitzone) |
Not all armors are physical so the surface that gets struck by projectiles will not be the one the armor, but the hitzone. | |
bool | FilterContact (IEntity owner, IEntity other, Contact contact) |
Event when physics engine registered contact with other RigidBody. | |
bool | HijackDamageHandling (notnull BaseDamageContext damageContext) |
Called when this DamageManager is about to handle damage. | |
bool | ShouldCountAsHit (notnull BaseDamageContext damageContext) |
Called after HijackDamageHandling. | |
Public Member Functions inherited from HitZoneContainerComponent | |
proto external IEntity | GetOwner () |
proto external HitZone | GetDefaultHitZone () |
proto external HitZone | GetHitZoneByColliderID (int colliderID) |
proto external int | GetHitZonesByColliderIDs (out notnull array< HitZone > outHitZones, notnull array< int > colliderIDs) |
Clears and fills the specified outHitZones array with all HZs that are attached to colliderIDs. | |
proto external HitZone | GetHitZone (string colliderName) |
proto external int | GetAllHitZones (out notnull array< HitZone > outHitZones) |
Clears and fills the specified outHitZones array with all HZs in this entity Returns the count of elements that were filled into the array. | |
proto external int | GetAllHitZonesInHierarchy (out notnull array< HitZone > outHitZones) |
Clears and fills the specified outHitZones array with all HZs in this entity and its children. | |
proto external HitZoneContainerComponent | GetParentHitZoneContainer () |
Public Member Functions inherited from GameComponent | |
bool | OnTicksOnRemoteProxy () |
Static Public Member Functions | |
static SCR_DamageManagerComponent | GetDamageManager (notnull IEntity owner) |
Get damage manager from given owner. | |
Static Public Attributes | |
static const int | MAX_DESTRUCTION_RESPONSE_INDEX = 10 |
static const string | MAX_DESTRUCTION_RESPONSE_INDEX_NAME = "HugeDestructible" |
static const ref array< EDamageType > | HEALING_DAMAGE_TYPES = {EDamageType.HEALING, EDamageType.REGENERATION} |
Protected Member Functions | |
override bool | OnRplSave (ScriptBitWriter writer) |
override bool | OnRplLoad (ScriptBitReader reader) |
notnull SCR_DamageManagerData | GetScriptedDamageManagerData () |
override void | OnDamage (notnull BaseDamageContext damageContext) |
override bool | ShouldOverrideInstigator (notnull Instigator currentInstigator, notnull Instigator newInstigator) |
Called whenever an instigator is going to be set. | |
float | HealHitZonesInSequence (float healthToDistribute, float maxHealThresholdScaled, array< HitZone > targetHitZones) |
float | HealHitZonesInParallel (float healthToDistribute, float maxHealThresholdScaled, array< HitZone > targetHitZones) |
void | ConnectToFireDamageSystem () |
void | DisconnectFromFireDamageSystem () |
override void | OnDamageStateChanged (EDamageState state) |
Invoked when damage state changes. | |
override void | _WB_AfterWorldUpdate (IEntity owner, float timeSlice) |
Protected Member Functions inherited from DamageManagerComponent | |
void | OnDamageOverTimeAdded (EDamageType dType, float dps, HitZone hz) |
Invoked every time the DoT is added to certain hitzone. | |
void | OnDamageOverTimeRemoved (EDamageType dType, HitZone hz) |
Invoked when provided damage type is removed from certain hitzone. | |
void | OnDamageStateChanged (EDamageState state) |
Called when the damagestate changes. | |
void | OnPostInit (IEntity owner) |
Called after all components are initialized. | |
void | OnInit (IEntity owner) |
Called during EOnInit. | |
void | OnDelete (IEntity owner) |
void | OnFrame (IEntity owner, float timeSlice) |
Called during EOnFrame. | |
void | OnFilteredContact (IEntity owner, IEntity other, Contact contact) |
Only called if FilterContact returned true. | |
void | OnDiag (IEntity owner, float timeSlice) |
Called during EOnDiag. | |
void | OnDamage (notnull BaseDamageContext damageContext) |
bool | OnRplSave (ScriptBitWriter writer) |
bool | OnRplLoad (ScriptBitReader reader) |
Protected Attributes | |
int | m_iTimetickInstigator = System.GetTickCount() |
int | m_iTimeThresholdInstigatorReplacement = 180000 |
int | m_iPlayerId = 0 |
int | m_iDamageManagerDataIndex = -1 |
bool | m_bRplReady |
Static Protected Attributes | |
static const int | MIN_MOMENTUM_RESPONSE_INDEX = 1 |
static const int | MAX_MOMENTUM_RESPONSE_INDEX = 5 |
static const int | MIN_DESTRUCTION_RESPONSE_INDEX = 6 |
const float | SIMULATION_IMPRECISION_MULTIPLIER = 1.1 |
static ref array< ref SCR_DamageManagerData > | s_aDamageManagerData = {} |
void SCR_DamageManagerComponent.~SCR_DamageManagerComponent | ( | ) |
|
protected |
Hitzone DrawDebug
float SCR_DamageManagerComponent.CalculateMomentum | ( | Contact | contact, |
float | ownerMass, | ||
float | otherMass | ||
) |
bool SCR_DamageManagerComponent.CanBeHealed | ( | bool | ignoreHealingDOT = true | ) |
Return true if there is damage that can be repaired.
[in] | ignoreHealingDOT | If this is false the method will return that the entity can be healed also if the damageType is positive, such as HEALING |
Implemented in SCR_CharacterDamageManagerComponent, and SCR_VehicleDamageManagerComponent.
|
protected |
void SCR_DamageManagerComponent.DamageRandomHitZones | ( | float | damage, |
EDamageType | type, | ||
notnull Instigator | instigator, | ||
bool | onlyPhysical = true , |
||
vector | outMat[3] = {} , |
||
bool | damageDefault = false |
||
) |
Damage random physical hit zones up to damage amount.
damage | Total damage to be applied |
type | Type of damage |
instigator | Entity that fired the projectile or otherwise caused the damage |
onlyPhysical | Whether only physical hit zones should be damaged |
outMat | [hitPosition, hitDirection, hitNormal] |
damageDefault | Whether to damage default hit zone as well |
|
protected |
override bool SCR_DamageManagerComponent.FilterContact | ( | IEntity | owner, |
IEntity | other, | ||
Contact | contact | ||
) |
No contacts for destroyed entities.
Implements DamageManagerComponent.
Implemented in SCR_ArmorDamageManagerComponent, SCR_CharacterDamageManagerComponent, SCR_RotorDamageManagerComponent, SCR_VehicleDamageManagerComponent, and SCR_DestructionDamageManagerComponent.
void SCR_DamageManagerComponent.FuelSecondaryExplosion | ( | notnull Instigator | instigator | ) |
Spawn fuel secondary explosion when vehicle becomes destroyed.
void SCR_DamageManagerComponent.FullHeal | ( | bool | ignoreHealingDOT = true | ) |
Fix all the damage.
Implemented in SCR_CharacterDamageManagerComponent, and SCR_VehicleDamageManagerComponent.
|
static |
Get damage manager from given owner.
owner | Entity to get damage manager from |
float SCR_DamageManagerComponent.GetGroupDamageOverTime | ( | ECharacterHitZoneGroup | hitZoneGroup, |
EDamageType | damageType | ||
) |
Get total damage over time of given hitzone group.
hitZoneGroup | Hitzone group to get damage over time from |
damageType | Damage type to get damage over time from |
Implemented in SCR_CharacterDamageManagerComponent.
HitZone SCR_DamageManagerComponent.GetHitZoneByName | ( | string | hitZoneName, |
bool | caseSensitive = false |
||
) |
float SCR_DamageManagerComponent.GetHitZonesDamage | ( | float | untilThresholdScaled = 1 , |
array< HitZone > | alternativeHitZones = null |
||
) |
Get all damage dealt to hitzones.
Maxhealth minus current health is damage.
untilThresholdScaled | When set damage until this scaled threshold is returned. |
alternativeHitZones | When filled, function will use these hitzones instead of the default, physicalHitZones |
float SCR_DamageManagerComponent.GetHitZonesHealthScaled | ( | array< HitZone > | alternativeHitZones = null | ) |
Get Health scaled of all hitzones.
alternativeHitZones | When filled, function will use these hitzones instead of the default, physicalHitZones |
int SCR_DamageManagerComponent.GetHitZonesOfGroup | ( | EHitZoneGroup | hitZoneGroup, |
out notnull array< HitZone > | groupHitZones, | ||
bool | clearArray = true |
||
) |
Get a list of all hitzones of specific hitzone group.
hitZoneGroup | Hitzone group to get hitzones of | |
[out] | groupHitZones | List of group hitzones found |
int SCR_DamageManagerComponent.GetHitZonesOfGroups | ( | notnull array< EHitZoneGroup > | hitZoneGroups, |
out notnull array< HitZone > | groupHitZones | ||
) |
Get a list of all hitzones of specific hitzone group.
hitZoneGroups | List of Hitzone groups to get hitzones of | |
[out] | groupHitZones | List of group hitzones found |
float SCR_DamageManagerComponent.GetMinDestroyDamage | ( | EDamageType | damageType, |
array< HitZone > | hitzones, | ||
int | count | ||
) |
\ param damageType determinese which damage multipliers are taken into account
! Made specifically for cases where hitzones are not parented
ScriptInvoker SCR_DamageManagerComponent.GetOnDamage | ( | ) |
ScriptInvoker SCR_DamageManagerComponent.GetOnDamageOverTimeAdded | ( | ) |
ScriptInvoker SCR_DamageManagerComponent.GetOnDamageOverTimeRemoved | ( | ) |
ScriptInvoker SCR_DamageManagerComponent.GetOnDamageStateChanged | ( | ) |
void SCR_DamageManagerComponent.GetPhysicalHitZones | ( | out notnull array< HitZone > | physicalHitZones | ) |
Return hit zones with colliders assigned.
void SCR_DamageManagerComponent.GetRegeneratingHitZones | ( | out notnull array< SCR_RegeneratingHitZone > | regeneratingHitZones | ) |
Return hit zones with passive regeneration enabled.
SCR_ResourceEncapsulator SCR_DamageManagerComponent.GetResourceEncapsulator | ( | EResourceType | suppliesType = EResourceType::SUPPLIES | ) |
|
protected |
ResourceName SCR_DamageManagerComponent.GetSecondaryExplosion | ( | float | value, |
SCR_ESecondaryExplosionType | explosionType, | ||
EResourceType | resourceType = EResourceType::SUPPLIES , |
||
bool | fire = false |
||
) |
Determine secondary explosion prefab based on explosion value, type and resource type if defined.
SCR_SecondaryExplosion SCR_DamageManagerComponent.GetSecondaryExplosionForScale | ( | SCR_ESecondaryExplosionScale | scale, |
SCR_ESecondaryExplosionType | explosionType, | ||
EResourceType | resourceType = EResourceType::SUPPLIES |
||
) |
Determine secondary explosion prefab based on explosion scale, type and resource type if defined.
vector SCR_DamageManagerComponent.GetSecondaryExplosionPosition | ( | TypeName | hitZoneType, |
out float | totalWeight = 0 |
||
) |
Get weighed average position of explosion for hitzones of specified type.
SCR_ESecondaryExplosionScale SCR_DamageManagerComponent.GetSecondaryExplosionScale | ( | float | value, |
SCR_ESecondaryExplosionType | explosionType, | ||
EResourceType | resourceType = EResourceType::SUPPLIES |
||
) |
Determine secondary explosion prefab based on explosion value, type and resource type if defined.
ResourceName SCR_DamageManagerComponent.GetSecondaryFireParticle | ( | float | value, |
SCR_ESecondaryExplosionType | explosionType, | ||
EResourceType | resourceType = EResourceType::SUPPLIES |
||
) |
Determine secondary explosion prefab based on explosion value, type and resource type if defined.
float SCR_DamageManagerComponent.GetSingleHitZonesHealthScaled | ( | array< HitZone > | alternativeHitZones = null , |
bool | getLowestHealth = true |
||
) |
Get single Health scaled from hitzones.
Will return lowest or highest value
alternativeHitZones | When filled, function will use these hitzones instead of the default, physicalHitZones |
getLowestHealth | If true it will return the hitzone health that is lowest, else it will return the hitzone health that is highest |
int SCR_DamageManagerComponent.GetSurroundingHitzones | ( | vector | origin, |
Physics | physics, | ||
float | maxDistance, | ||
out array< HitZone > | outHitzones | ||
) |
float SCR_DamageManagerComponent.HealHitZones | ( | float | healthToDistribute, |
bool | sequential = false , |
||
float | maxHealThresholdScaled = 1 , |
||
array< HitZone > | alternativeHitZones = null |
||
) |
Partially heal the hitZones of an entity.
healthToDistribute | The total value to be distributed among the hitzones |
sequential | If true, apply health sequentially, if false apply health in parallel |
maxHealThresholdScaled | When set, hitzone is healed only up to this threshold. Must be between 0 and 1. |
alternativeHitZones | When filled, function will use these hitzones instead of the default, physicalHitZones |
|
protected |
|
protected |
override bool SCR_DamageManagerComponent.HijackDamageHandling | ( | notnull BaseDamageContext | damageContext | ) |
Called when this DamageManager is about to handle damage. Any modifications done to the damageContext will persist for the rest of the damage handling process return false if damage handling should proceed with the changes done to the DamageContext. return true if damage should be discarded / was fully hijacked and should no longer be applied on this damage manager (e.g.: damage was passed to another dmg manager, so we dont handle damage on this manager).
! param[in] damageContext
Implements DamageManagerComponent.
Implemented in SCR_ArmorDamageManagerComponent, SCR_CharacterDamageManagerComponent, and SCR_MineDamageManager.
bool SCR_DamageManagerComponent.IsOnFire | ( | HitZone | hitZone = null | ) |
Determine if provided or any hit zone from this damage manager is on fire.
[in] | hitZone | zone that will be checked if it is burning and if null then will check all hit zones |
bool SCR_DamageManagerComponent.IsOnFire | ( | notnull array< HitZone > | hitZones | ) |
Determine if any hit zone from this damage manager is on fire.
[in] | hitZones | list of hit zones that should be checked and if empty then all hit zones are going to be checked |
bool SCR_DamageManagerComponent.IsRplReady | ( | ) |
Check if replication loading is completed. Important for join in progress and when streaming entities in.
void SCR_DamageManagerComponent.Kill | ( | notnull Instigator | instigator | ) |
Neutralize the entity with a specific damage type, registering the killer entity.
instigator | Source of the damage |
|
protected |
Implements DamageManagerComponent.
Implemented in SCR_CharacterDamageManagerComponent, SCR_VehicleDamageManagerComponent, and SCR_DestructionDamageManagerComponent.
override void SCR_DamageManagerComponent.OnDamageOverTimeAdded | ( | EDamageType | dType, |
float | dps, | ||
HitZone | hz | ||
) |
Invoked every time the DoT is added to certain hitzone.
Implements DamageManagerComponent.
override void SCR_DamageManagerComponent.OnDamageOverTimeRemoved | ( | EDamageType | dType, |
HitZone | hz | ||
) |
Invoked when provided damage type is removed from certain hitzone.
Implements DamageManagerComponent.
|
protected |
Invoked when damage state changes.
Implements DamageManagerComponent.
Implemented in SCR_CharacterDamageManagerComponent, SCR_HelicopterDamageManagerComponent, SCR_RotorDamageManagerComponent, SCR_VehicleDamageManagerComponent, SCR_MineDamageManager, and SCR_DestructibleBuildingComponent.
|
protected |
Implements HitZoneContainerComponent.
Implemented in SCR_DestructibleBuildingComponent, and SCR_DestructionMultiPhaseComponent.
|
protected |
Implements HitZoneContainerComponent.
Implemented in SCR_DestructibleBuildingComponent, and SCR_DestructionMultiPhaseComponent.
void SCR_DamageManagerComponent.ReduceSmoke | ( | ) |
Reduce smoke output based on the total health of hit zones.
void SCR_DamageManagerComponent.RpcDo_SetFireState | ( | int | hitZoneIndex, |
SCR_EBurningState | fireState | ||
) |
Set fire rate of a flammable hitzone.
hitZoneIndex | Index of the hitzone to set fire rate for |
fireRate | Rate of fire to be applied |
void SCR_DamageManagerComponent.SecondaryExplosion | ( | ResourceName | prefabName, |
notnull Instigator | instigator, | ||
notnull EntitySpawnParams | spawnParams | ||
) |
Spawn secondary explosion.
|
protected |
Called whenever an instigator is going to be set.
currentInstigator | This damage manager's last instigator |
newInstigator | The new instigator for this damage manager |
Implements DamageManagerComponent.
Implemented in SCR_CharacterDamageManagerComponent, and SCR_VehicleDamageManagerComponent.
void SCR_DamageManagerComponent.SupplySecondaryExplosion | ( | notnull Instigator | instigator | ) |
Spawn supply secondary explosion when vehicle becomes destroyed.
void SCR_DamageManagerComponent.UpdateFireDamage | ( | float | timeSlice | ) |
Implemented in SCR_VehicleDamageManagerComponent.
void SCR_DamageManagerComponent.UpdateFireParticles | ( | vector | position, |
out ParticleEffectEntity | particles, | ||
SCR_ESecondaryExplosionScale | state, | ||
SCR_ESecondaryExplosionType | fireType, | ||
EResourceType | resourceType = EResourceType::SUPPLIES |
||
) |
Update visual effects and store result in particles variable.
position | origin of particle effect entity in owner local space |
particles | variable to store ParticleEffectEntity |
fireType | type of fire particles to be created |
resourceType | type of resource if fireType is RESOURCE, by default SUPPLIES |
|
static |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
static |
|
static |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |