Example #1
0
global func FxIntExtinguisherStop(object obj, int iNumber, int iReason, bool fTemp)
  {
  if (!fTemp)
    {
    // Zeit zum Löschen!
    Extinguish(obj);
    }
  }
Example #2
0
func Incineration()
{
	if(power_seconds == 0)
		return Extinguish();
	
	
	for(var i = 0; i < 2; ++i)
	{
		var x = -7 + 14 * i;
		var b = CreateObject(Compensator_BurningBattery, x, 6, NO_OWNER);
		b->SetController(GetController()); // killtracing

		b->SetSpeed(-30 + 60 * i + RandomX(-10, 10), RandomX(-50, -30));
	}
	
	Explode(30);
}