|
| override void | OnInit (IEntity pOwnerEntity, GenericComponent pManagerComponent) |
| | Call OnInit method from script.
|
| |
| override EHitZoneGroup | GetHitZoneGroup () |
| | Hit zone group getter to be overridden.
|
| |
| override void | OnDamageStateChanged (EDamageState newState, EDamageState previousDamageState, bool isJIP) |
| | Kill occupants and start destruction.
|
| |
| int | GetWheelIndex () |
| |
| void | SetWheelIndex (int index) |
| |
| void | UpdateWheelState () |
| | Set wheel parameters when damage exceeds thresholds.
|
| |
| override void | PlayDestructionSound (EDamageState damageState) |
| | Start destruction sounds.
|
| |
| void | WakeUpPhysics () |
| | Wake physics up.
|
| |
| float | GetEfficiency () |
| |
| ref SCR_DestructionBaseHandler | GetDestructionHandler () |
| |
| float | GetSecondaryExplosionScale () |
| | Get secondary explosion desired scale. It will determine the prefab retrieved from secondary explosion config.
|
| |
| PointInfo | GetSecondaryExplosionPoint () |
| | Get secondary explosion desired scale. It will determine the prefab retrieved from secondary explosion config.
|
| |
| void | StartDestruction (bool immediate=false) |
| | Start destruction effects.
|
| |
| void | PlayDestructionParticle (EDamageState state) |
| | Start destruction particle.
|
| |
| ScriptInvokerVoid | GetOnHealthChanged (bool createNew=true) |
| | Get event called when hitzone damage changes.
|
| |
| ScriptInvoker | GetOnDamageStateChanged (bool createNew=true) |
| | Get event called when hitzone damage state changes.
|
| |
| IEntity | GetOwner () |
| |
| override float | ComputeEffectiveDamage (notnull BaseDamageContext damageContext, bool isDOT) |
| | Calculates the amount of damage a hitzone will receive.
|
| |
| void | DrawDebug () |
| |
| void | ApplyDamagePassRules (notnull BaseDamageContext damageContext) |
| |
| void | HandlePassedDamage (notnull BaseDamageContext damageContext) |
| |
| proto external float | GetBaseDamageMultiplier () |
| |
| proto external bool | HasColliderNodes () |
| |
| proto external int | GetColliderDescriptorIndex (int colliderID) |
| |
| proto external float | GetDamageMultiplier (EDamageType dmgType) |
| |
| proto external float | GetDamageReduction () |
| |
| proto external float | GetDamageThreshold () |
| |
| proto external int | GetAllColliderNames (out notnull array< string > colliderNames) |
| |
| proto external void | SetDamageOverTime (EDamageType dmgType, float dps) |
| | Sets damage over time for this particular hitzone.
|
| |
| proto external float | GetDamageOverTime (EDamageType dmgType) |
| |
| proto external int | GetNumColliderDescriptors () |
| |
| proto external HitZoneContainerComponent | GetHitZoneContainer () |
| |
| proto external void | SetHealth (float health) |
| |
| proto external void | SetHealthScaled (float health) |
| |
| proto external void | SetMaxHealth (float maxHealth, ESetMaxHealthFlags flag=ESetMaxHealthFlags.NONE) |
| |
| proto external float | GetHealth () |
| |
| proto external float | GetHealthScaled () |
| |
| proto external float | GetDamageStateThreshold (EDamageState damageState) |
| |
| proto external float | GetMaxHealth () |
| |
| proto external string | GetName () |
| |
| proto external EDamageState | GetDamageState () |
| |
| proto external float | GetCriticalDamageThreshold () |
| |
| proto external EDamageState | GetPreviousDamageState () |
| |
| proto external void | HandleDamage (float damage, int damageType, IEntity instigator) |
| |
| proto external bool | IsProxy () |
| |
| proto external int | GetColliderIDs (out notnull array< int > outIDs) |
| | Returns all collider IDs attached to this hitzone.
|
| |
| proto bool | TryGetColliderDescription (IEntity owner, int descIndex, out vector transformLS[4], out int boneIndex, out int nodeID) |
| |
| proto bool | TryGetColliderDescriptionFromName (IEntity owner, string colliderName, out vector transformLS[4], out int boneIndex, out int nodeID) |
| |
| void | OnDamage (notnull BaseDamageContext damageContext) |
| | Called when the damage has been dealt by the server, doesn't get called for DOT.
|
| |