Jump to content
This site uses cookies! Learn More

This site uses cookies!

By continuing to use this site, you agree to allow us to store cookies on your computer. :)

Darkmoon101

Heathstone check problem

Recommended Posts

i am trying to make a way for my quester profile to check if hearthstone is off cooldown.

i tried these but cant seem to et them to work. any help would be nice.

Quote

Lua.LuaDoString<string>("if GetItemCooldown("Heathstone") == 0 then return true end")
 Lua.LuaDoString<bool>("if GetItemCooldown("Heathstone") == 0 then return true end ")

i am trying to run both of them in the if action with 

Quote

Lua.LuaDoString<bool>("if GetItemCooldown("Heathstone") == 0 then return true end") && Lua.LuaDoStr ing<string>("bindlocation = GetBindLocation(); return bindlocation;") == "Mulgore"

 

Share this post


Link to post
Share on other sites

Update : Done. was able to figure out whats wrong.

if anyone wants to add Hearthstone check to there quester profile, you can use this.

 

Quote

Lua.LuaDoString<bool>("if GetItemCooldown(Heathstone) == 0 then return true end")

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...