Results 1 to 5 of 5

Thread: Action pra abrir backpacks

  1. #1
    Normal User
    Join Date
    Oct 2012
    Posts
    32
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    11
    Rep Power
    5

    Action pra abrir backpacks

    Eae galera, intaoo, titulo auto explicativo!
    queria uma action que abra as bps sempre que elas forem fechadas, vlw
    MainBPname
    LootBPname
    SupplyBPname

    eu tenho uma action dessa, mas nao consegui fazer no meu script, eh essa action

    if windowcount() < 2 then
    setcavebot("no")
    settargeting("no")
    closewindows()
    wait(1000)
    openitem(mainBP, "back")
    wait(1000,2000)
    openitem(medicinesBP, mainBP, true)
    wait(1000,2000)
    resizewindows()
    setcavebot("yes")
    settargeting("yes")
    end

    vlw!

  2. #2
    iBot User
    Join Date
    Mar 2012
    Posts
    42
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    13
    Rep Power
    5
    if windowcount(MainBP) < 1
    then
    wait(500)
    openitem(MainBP, "back")
    wait(1000)
    resizewindows()
    wait(1000)
    end


    if windowcount(supplyBP) < 1
    then
    wait(500)
    openitem(supplyBP, MainBP, true)
    wait(1000)
    resizewindows()
    end

    if windowcount(LootBP) < 1
    then
    wait(500)
    openitem(LootBP, MainBP, true)
    wait(1000)
    resizewindows()
    end

    SE GOSTOU DA UM REP + AI

  3. #3
    Normal User
    Join Date
    Oct 2012
    Posts
    32
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    1 Post(s)
    Reputation
    11
    Rep Power
    5
    ae brozito, so arrumei os names na sua action e funciono certinho cara!
    te dei o rep mlkao!! vlw!!! s2
    Last edited by arthz; 01-25-2013 at 09:49 AM.

  4. #4
    iBot User
    Join Date
    Aug 2012
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    ae, faz tempo que procuro isso, vocę solucionou, vlw mesmo. +rep pra vc

  5. #5
    iBot User nneto's Avatar
    Join Date
    Aug 2013
    Posts
    48
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    9 Post(s)
    Reputation
    12
    Rep Power
    4
    Quote Originally Posted by arthz View Post
    Eae galera, intaoo, titulo auto explicativo!
    queria uma action que abra as bps sempre que elas forem fechadas, vlw
    MainBPname
    LootBPname
    SupplyBPname

    eu tenho uma action dessa, mas nao consegui fazer no meu script, eh essa action

    if windowcount() < 2 then
    setcavebot("no")
    settargeting("no")
    closewindows()
    wait(1000)
    openitem(mainBP, "back")
    wait(1000,2000)
    openitem(medicinesBP, mainBP, true)
    wait(1000,2000)
    resizewindows()
    setcavebot("yes")
    settargeting("yes")
    end

    vlw!
    Kara eu uso essa... olhei algumas actions por ai e criei essa... axo ela mto útil pois minimiza os equipe

    Action:

    Lua Code:
    --[[ Abrir Backpacks by Neto   Version: v1.0.1 ]]
     
    --Main Backpack :
    local MainBP = "Purple Backpack"
     
    --Loot Backpack :
    local LootBP = "beach Backpack"
     
    --Gold Backpack :
    local GoldBP = "golden Backpack"
     
    if (connected == true) and (windowcount() <= 2) then
    closewindows()
    wait(500, 1500)
    higherwindows("equip")
    wait(500, 1500)
    	if windowcount(MainBP) == 0 then
    		openitem(MainBP, "back")
    		wait(500)
    		resizewindows()
    	end
    	wait(500, 1500)
    	if windowcount(LootBP) == 0 and windowcount(MainBP) == 1 then
    		openitem(LootBP, MainBP, true)
    		wait(500)
    		resizewindows()
    	end
    	wait(500, 1500)
    	if windowcount(GoldBP) == 0 and windowcount(MainBP) == 1 then
    		openitem(GoldBP, MainBP, true)
    		wait(500)
    		resizewindows()
    	end
    else
    minimizewindows('equip')
    wait(200, 1500)
    end


    Num sei se tu vai gostar, mas testa la.
    Last edited by nneto; 01-28-2015 at 03:36 AM.

Posting Permissions

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