Results 1 to 3 of 3

Thread: Ajuste para ativar e desativar action !

  1. #1
    iBot User
    Join Date
    Jun 2012
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    2 Post(s)
    Reputation
    11
    Rep Power
    5

    Ajuste para ativar e desativar action !

    Opa! preciso fazer uma action NO WAIPOINT que ative no começo da hunt e desative no final da hunt:
    local mainBP = "beach backpack"
    local lootBP = "camouflage backpack"
    local goldBP = "red backpack"

    if windowcount() <= 2 then
    setcavebot("no")
    settargeting("no")
    closewindows()
    wait(1000)
    openitem(mainBP, "back")
    wait(1000,2000)
    openitem(lootBP, mainBP, true)
    wait(1000,2000)
    openitem(goldBP, mainBP, true)
    wait(1000,2000)
    resizewindows()
    resizewindows()

    setcavebot("yes")
    settargeting("yes")
    end

    ps: lembrando que essa action está em actions/list ! thanks =D
    Last edited by suzuck; 09-05-2014 at 08:17 PM.

  2. #2
    Moderator Furieri's Avatar
    Join Date
    Jun 2012
    Location
    Vitoria - ES / Brasil
    Posts
    792
    Mentioned
    62 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    199 Post(s)
    Reputation
    158
    Rep Power
    7
    Crie uma action no inicio da hunt para ativa-la e uma action no final da hunt para desativar

    Depois do Start Hunt:
    Lua Code:
     
    setsettings("Settings\\Actions\\List\\BackpackOpener\\Enable", "yes")

    Depois do Leave Hunt:
    Lua Code:
     
    setsettings("Settings\\Actions\\List\\BackpackOpener\\Enable", "no")

  3. #3
    iBot User
    Join Date
    Jun 2012
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    2 Post(s)
    Reputation
    11
    Rep Power
    5
    Quote Originally Posted by isaacbf View Post
    Crie uma action no inicio da hunt para ativa-la e uma action no final da hunt para desativar

    Depois do Start Hunt:
    Lua Code:
     
    setsettings("Settings\\Actions\\List\\BackpackOpener\\Enable", "yes")

    Depois do Leave Hunt:
    Lua Code:
     
    setsettings("Settings\\Actions\\List\\BackpackOpener\\Enable", "no")

    obg !!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •