Jump to content

Giedrius0301

Members
  • Posts

    3
  • Credits

  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by Giedrius0301

  1. function deadCheck: Boolean; begin Result := false; if User.Dead then begin Result := true; Print('Dead. Pressing to village.'); Delay(1000); Engine.FaceControl(0,false); Engine.GoHome(rtTown); Delay(1000); end; end; that is a deadcheck function if user.inrange(149600, -112707, -2060, 250) then begin //spawn hs Engine.MoveTo(149526, -112683, -2090); //close to jeremy Engine.FaceControl(0,true); while not deadcheck do begin Engine.FaceControl(0,true); Engine.SetTarget(31521); Delay(500); ///jeremy Engine.DlgOpen; Delay(500); Engine.DlgSel('Quest'); Delay(500); Engine.DlgSel('Egg Delivery'); Delay(500); and so on.. for whole delivery quest end; end; what I am missing there? it would not pick up that character is dead and would not teleport to town.. it is doing all running fine..
  2. can someone help with this one ? still strugling
  3. Anyone can help me linking auto return +buff with tts quest. I get the logic but not too sure on syntax how to link deadcheck function it that. if user.inrange(147936, -55368, -2760, 250) and User.Buffs.ByID(1204, buffCheck) then begin Print('Teleport to HS'); Engine.SetTarget(31275); Engine.DlgOpen; Delay(500); Engine.DlgSel(1); Delay(500); Engine.DlgSel(11); //teleports to hs Delay(5000); end; if user.inrange(149600, -112707, -2060, 250) then begin //hs spawn location Engine.MoveTo(149526, -112683, -2090); // moves close to jeremy while not User.Dead do // and while not dead I want to start cycle to run arround.. cant get to work.. function called deadCheck Engine.SetTarget(31521); ///jeremy Engine.DlgOpen; Engine.DlgSel('Quest'); Delay(500); Engine.DlgSel('Egg Delivery'); Delay(500); Engine.bypasstoserver('Quest 621_EggDelivery 31521-1.htm'); Engine.MoveTo(149722,-112600,-2090); Engine.MoveTo(150404,-113188,-2141);
×
×
  • Create New...