yompa93
04-20-2016, 02:29 PM
Hello!
I am trying to make the script i'm using use runes when stuck using this module:
Module.New('StuckCheck', function(module)
if Walker.IsStuck() and (not Targeting.IsEnabled()) then
Targeting.Start()
elseif not Walker.IsStuck() and Targeting.IsEnabled() then
Targeting.Stop()
end
module:Delay(1000)
end)
I added avalanche if stuck in magic shooter but if it gets surrounded it doesnt throw any avalanches and if a ghost is the target i'm kind of screwed..
Also used this:
Module.New('RuneIfStuck', function(module)
if Walker.IsStuck() then
Self.UseItemWithMyPosition(runes)
end
module:Delay(2000)
end)
Throws avalanche the second it gets stuck but then does nothing but attacks normally without runes
If anyone know's how to do this, i really appreciate the help.
thanks
EDIT:
Forgot to mention how i'm using the module..
elseif (label == "ToHunt") then
--LoadSettings(otherXbst, "Targeting")
Module.Start('StuckCheck')
elseif (label == "ReachHunt") then
Module.Stop('StuckCheck')
wait(300)
Targeting.Start()
elseif (label == "Leave") then
--LoadSettings(otherXbst, "Targeting")
Module.Start('StuckCheck')
The purpose of using the module is to remove the LoadSettings function, had some problems with the bot just standing still not attacking even if stuck, even changing the walker to a stand wouldnt make it move. So, I thought I'd try making a script that doesn't load settings to see if it would work out
I am trying to make the script i'm using use runes when stuck using this module:
Module.New('StuckCheck', function(module)
if Walker.IsStuck() and (not Targeting.IsEnabled()) then
Targeting.Start()
elseif not Walker.IsStuck() and Targeting.IsEnabled() then
Targeting.Stop()
end
module:Delay(1000)
end)
I added avalanche if stuck in magic shooter but if it gets surrounded it doesnt throw any avalanches and if a ghost is the target i'm kind of screwed..
Also used this:
Module.New('RuneIfStuck', function(module)
if Walker.IsStuck() then
Self.UseItemWithMyPosition(runes)
end
module:Delay(2000)
end)
Throws avalanche the second it gets stuck but then does nothing but attacks normally without runes
If anyone know's how to do this, i really appreciate the help.
thanks
EDIT:
Forgot to mention how i'm using the module..
elseif (label == "ToHunt") then
--LoadSettings(otherXbst, "Targeting")
Module.Start('StuckCheck')
elseif (label == "ReachHunt") then
Module.Stop('StuckCheck')
wait(300)
Targeting.Start()
elseif (label == "Leave") then
--LoadSettings(otherXbst, "Targeting")
Module.Start('StuckCheck')
The purpose of using the module is to remove the LoadSettings function, had some problems with the bot just standing still not attacking even if stuck, even changing the walker to a stand wouldnt make it move. So, I thought I'd try making a script that doesn't load settings to see if it would work out