File size: 465 Bytes
24b81cb
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// DEPRECATED: Left for backwards compatibility with mods
class AreaDamageRegular extends AreaDamageBase
{	
	void AreaDamageRegular(EntityAI parent)
	{

	}

	void ~AreaDamageRegular() {}

	override void SetLoopInterval( float time )
	{
		m_LoopInterval = time;
	}

	override void SetHitZones( array<string> hitzones )
	{
		m_HitZones = hitzones;
	}
	
	override void OnEnterServer(Object object)
	{
		super.OnEnterServer(object);

		EvaluateDamage_Loop(object);
	}
}