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

	}

	void ~AreaDamageRegularRaycasted() {}

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

	override void SetRaycastSources( array<string> raycast_sources )
	{
		m_RaycastSources = raycast_sources;
	}
	
	override void OnEnterServer(Object object)
	{
		super.OnEnterServer(object);
		
		EvaluateDamage_Loop(object);
	}
}