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.
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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now