File size: 625 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
28
29
30
31
32
// DEPRECATED: Left for backwards compatibility with mods
class AreaDamageRegularRaycastedDeferred extends AreaDamageBase
{	
	void AreaDamageRegularRaycastedDeferred(EntityAI parent)
	{

	}

	void ~AreaDamageRegularRaycastedDeferred() {}

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

	override void SetDeferDuration(float time)
	{
		m_DeferDuration = time;
	}
	
	override void SetRaycastSources( array<string> raycast_sources )
	{
		m_RaycastSources = raycast_sources;
	}
	
	override void OnEnterServer(Object object)
	{
		super.OnEnterServer(object);
		
		EvaluateDamage_DeferLoop(object);
	}
}