beginscript; label Wait: if (GetGlobalVar(1) >= 1) { SetObjectTemp(FireTarget, 50); EndFrame(); goto BarnFire; } EndFrame(); goto Wait; label BarnFire: if (OnFire(FireTarget) != 1) { SetObjectTemp(FireTarget, 50); } else if (UnitDead()) { EndFrame(); goto End; } EndFrame(); goto BarnFire; label End: EndFrame(); goto End; endscript; $