var obj: TL2NPC;
obj2: TL2Effect;
Begin
while 1<>2 do begin
delay(5000);
if User.Dead then begin
Engine.FaceControl(0,false);
Engine.gohome;
delay(15000);
end;
if user.InRange(83409,148578,-3400,2500,2500) then begin
Engine.MoveTo(83511, 147937, -3431);
engine.SetTarget(32327);
delay(1000) ;
engine.dlgopen();
delay(5000);
engine.dlgsel(1) ;
delay(500);
engine.dlgsel(1) ;
delay(500) ;
engine.SetTarget(30080); //tp
delay(5000) ;
engine.dlgOpen();
delay(1000) ;
engine.dlgsel(1) ;
delay(2000) ;
engine.dlgsel(1);
delay(5000);
Engine.MoveTo(48185, 186306, -3512); // center
Engine.MoveTo(49326, 184792, -3512);
Engine.MoveTo(50262, 185247, -3582);
Engine.MoveTo(50619, 184559, -3490);
Engine.MoveTo(47759, 181337, -3232);
Engine.MoveTo(48215, 179048, -3355);
Engine.MoveTo(49885, 177588, -3397);
Engine.MoveTo(50428, 175646, -3350);
Engine.MoveTo(45993, 173949, -3568);
Engine.MoveTo(43021, 170768, -3279);
Engine.MoveTo(42792, 170512, -3352);
delay(5000);
Engine.MoveTo(42968, 170308, -5583);
delay(5000);
Engine.MoveTo(45730, 170307, -5007);
delay(5000);
engine.settarget(31115);
engine.dlgopen() ;
delay(500);
engine.dlgsel(1) ;
Engine.MoveTo(47359, 170328, -5007);
Engine.MoveTo(47358, 170606, -5007);
Engine.MoveTo(48195, 170623, -5007);
Engine.MoveTo(48215, 170279, -5007);
Engine.FaceControl(0,true);
delay(6000);
end;
end;
end.
obj2: TL2Effect;
Begin
while 1<>2 do begin
delay(5000);
if User.Dead then begin
Engine.FaceControl(0,false);
Engine.gohome;
delay(15000);
end;
if user.InRange(83409,148578,-3400,2500,2500) then begin
Engine.MoveTo(83511, 147937, -3431);
engine.SetTarget(32327);
delay(1000) ;
engine.dlgopen();
delay(5000);
engine.dlgsel(1) ;
delay(500);
engine.dlgsel(1) ;
delay(500) ;
engine.SetTarget(30080); //tp
delay(5000) ;
engine.dlgOpen();
delay(1000) ;
engine.dlgsel(1) ;
delay(2000) ;
engine.dlgsel(1);
delay(5000);
Engine.MoveTo(48185, 186306, -3512); // center
Engine.MoveTo(49326, 184792, -3512);
Engine.MoveTo(50262, 185247, -3582);
Engine.MoveTo(50619, 184559, -3490);
Engine.MoveTo(47759, 181337, -3232);
Engine.MoveTo(48215, 179048, -3355);
Engine.MoveTo(49885, 177588, -3397);
Engine.MoveTo(50428, 175646, -3350);
Engine.MoveTo(45993, 173949, -3568);
Engine.MoveTo(43021, 170768, -3279);
Engine.MoveTo(42792, 170512, -3352);
delay(5000);
Engine.MoveTo(42968, 170308, -5583);
delay(5000);
Engine.MoveTo(45730, 170307, -5007);
delay(5000);
engine.settarget(31115);
engine.dlgopen() ;
delay(500);
engine.dlgsel(1) ;
Engine.MoveTo(47359, 170328, -5007);
Engine.MoveTo(47358, 170606, -5007);
Engine.MoveTo(48195, 170623, -5007);
Engine.MoveTo(48215, 170279, -5007);
Engine.FaceControl(0,true);
delay(6000);
end;
end;
end.