NoToppingMeNow Posted April 29, 2017 Posted April 29, 2017 I have two scripts that work independently fine. But when I try to run them at the same time the first one starts, then the second one takes over and the first one no longer runs anymore. Thanks for your help. I just started scripting and can't figure out some things and it gets really frustrating. I read tutorials, think I have it correct and it still doesn't meet the correct specs. Thanks in advance. begin while Delay(1500) do begin Engine.UseSkill(4); end; end. begin while Delay(11500) do begin Engine.UseSkill(411); end; end. Quote
adr.bot Posted April 29, 2017 Posted April 29, 2017 I have two scripts that work independently fine. But when I try to run them at the same time the first one starts, then the second one takes over and the first one no longer runs anymore. Thanks for your help. I just started scripting and can't figure out some things and it gets really frustrating. I read tutorials, think I have it correct and it still doesn't meet the correct specs. Thanks in advance. begin while Delay(1500) do begin Engine.UseSkill(4); end; end. begin while Delay(11500) do begin Engine.UseSkill(411); end; end. what is after end. is ignored by compiler, what u can do is add both this to procedures and start them with script.newthread(@procedurename); or simply add proper checks for this skills and use them one Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.