File size: 491 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 AreaDamageOneTimeDeferred extends AreaDamageBase
{	
	void AreaDamageOneTimeDeferred(EntityAI parent)
	{

	}

	void ~AreaDamageOneTimeDeferred() {}
	
	override void SetDeferDuration(float time)
	{
		m_DeferDuration = time;
	}

	override void SetHitZones( array<string> hitzones )
	{
		m_HitZones = hitzones;
	}

	override void OnEnterServer(Object object)
	{
		super.OnEnterServer(object);;

		EvaluateDamage_Defer(object);
	}
}