Dayz Explorer 1.29.162510
Loading...
Searching...
No Matches
areadamagecomponentrandomhitzone.c
Go to the documentation of this file.
1
2class AreaDamageComponentRandomHitzone : AreaDamageComponent
3{
4 ref array<string> m_HitZones;
5
6 void AreaDamageComponentRandomHitzone(AreaDamageManager parent)
7 {
8 m_HitZones = new array<string>;
9 }
10
11 void SetHitZones( array<string> hitzones )
12 {
13 m_HitZones = hitzones;
14 }
15
17 {
19 data.Hitzone = m_HitZones.GetRandomElement();
20
21 return data;
22 }
23}
ref array< typename > m_DamageableTypes void AreaDamageComponent(AreaDamageManager parent)
void AreaDamageManager(EntityAI parent)
AreaDamageComponentData GetAreaDamageComponentData(Object object)
Result for an object found in CGame.IsBoxCollidingGeometryProxy.