Ruinit 11 Posted November 26, 2017 Share Posted November 26, 2017 Is there any way to use an item at a hotspot or on a target and then wait for a set amount of time before casting use item again? I need to use item and wait and everything I try just has the bot using the item over and over in a loop. Thanks Link to comment https://wrobot.eu/forums/topic/7831-use-item-at-hotspot-and-wait/ Share on other sites More sharing options...
Droidz 2738 Posted November 26, 2017 Share Posted November 26, 2017 Hello, use quest type UseScriptOn and use c# code like ItemsManager.UseItem(1234); Usefuls.WaitIsCasting(); Thread.Sleep(1000 * 10); (replace 1234 by your item id and replace 10 by number of secondes to wait) Link to comment https://wrobot.eu/forums/topic/7831-use-item-at-hotspot-and-wait/#findComment-35781 Share on other sites More sharing options...
Ruinit 11 Posted December 2, 2017 Author Share Posted December 2, 2017 Tried using this and all I get is tons of errors in wow? ItemsManager.UseItem(58165); Usefuls.WaitIsCasting(); Thread.Sleep(1000 * 10); 1005x [string "aiHwKuiCDT.lua"]:1: attempt to index global 'ItemsManager' (a nil value) [string "aiHwKuiCDT.lua"]:1: in main chunk I did usescripton and added hotspots did I miss something? Link to comment https://wrobot.eu/forums/topic/7831-use-item-at-hotspot-and-wait/#findComment-36077 Share on other sites More sharing options...
Droidz 2738 Posted December 8, 2017 Share Posted December 8, 2017 On 02/12/2017 at 6:17 PM, Ruinit said: Tried using this and all I get is tons of errors in wow? ItemsManager.UseItem(58165); Usefuls.WaitIsCasting(); Thread.Sleep(1000 * 10); 1005x [string "aiHwKuiCDT.lua"]:1: attempt to index global 'ItemsManager' (a nil value) [string "aiHwKuiCDT.lua"]:1: in main chunk I did usescripton and added hotspots did I miss something? Check "Is c#..." option Link to comment https://wrobot.eu/forums/topic/7831-use-item-at-hotspot-and-wait/#findComment-36393 Share on other sites More sharing options...
Krazycdn 0 Posted March 19, 2018 Share Posted March 19, 2018 On 11/26/2017 at 11:19 AM, Droidz said: Hello, use quest type UseScriptOn and use c# code like ItemsManager.UseItem(1234); Usefuls.WaitIsCasting(); Thread.Sleep(1000 * 10); (replace 1234 by your item id and replace 10 by number of secondes to wait) This worked well but I need it to attack id 3475. How can i incorporate this id in the script you posted? Thanks Link to comment https://wrobot.eu/forums/topic/7831-use-item-at-hotspot-and-wait/#findComment-41495 Share on other sites More sharing options...
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