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

	}

	void ~AreaDamageOneTimeRaycastedDeferred() {}
	
	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_Defer(object);
	}
}