VolcanoEscapeEx: Remove Rule_Restart as it is not useful, change VolcanoTimer - Schedule to an effect

alut-include-path
Fulgen301 2017-02-17 18:40:00 +01:00
parent a35ec2e983
commit 6fd109eb14
1 changed files with 7 additions and 1 deletions

View File

@ -36,7 +36,13 @@ protected func Initialize()
var h0 = h-10;
g_volcano->Activate(h0, h*10/100);
// Schedule script to update volcano speed multiplier
ScheduleCall(nil, Scenario.VolcanoTimer, 40, 99999);
var fx_volcano = new Effect {
Timer = Scenario.VolcanoTimer
};
CreateEffect(fx_volcano, 1, 40);
ScheduleCall(nil, Global.RemoveAll, 3, nil, Find_ID(Rule_Restart));
// Bottom is open, so put some stable lava here to prevent remaining lava from just flowing out of the map
DrawMaterialQuad("StableLava",0,h0,w,h0,w,h,0,h);
return;