Signup Now
Results 1 to 3 of 3
  1. #1
    Free User
    Join Date
    Mar 2016
    Posts
    1
    Reputation
    10
    Rep Power
    0

    Unhappy Action keep keep open backpacks

    good morning guys
    I need help

    must make 4 open backpacks
    Backpack of holding
    Zaoan Chess Box
    Green Backpack
    Golden backpack

    when you close any of these backpacks open again


    I hope you can help me
    Thanks

  2. #2
    Free User
    Join Date
    Dec 2014
    Posts
    39
    Reputation
    8
    Rep Power
    0
    buuuump!

    I need reopen backpacks action

  3. #3
    Free User MenelZThais's Avatar
    Join Date
    Aug 2016
    Location
    Poland
    Posts
    253
    Reputation
    10
    Rep Power
    16
    Code:
    local mainbp = getlootingdestination('mainbp')
    local supplybp = getlootingdestination('supplybp')
    local lootbp = getlootingdestination('lootbp')
    local goldbp = getlootingdestination('goldbp')
    
    set('Targeting/Enabled', 'no')
    set('Looting/Enabled', 'no')
    setsetting('Looting/OpenNextBP', 'no')
    
    closewindows()
    wait(300,500)
    openitem(mainbp, "back", true)
    wait(500,1500)
    openitem(supplybp, mainbp, true)
    wait(500,1500)
    resizewindows()
    wait(500,1500)
    openitem(lootbp, mainbp, true)
    wait(500,1500)
    resizewindows()
    wait(500,1500)
    openitem(goldbp, mainbp, true)
    wait(500,1500)
    resizewindows()
    
    while (windowcount(mainbp) == 0) or (windowcount(supplybp) == 0) or (windowcount(lootbp) == 0) or (windowcount(goldbp) == 0)
    	do
    		closewindows()
    		wait(300,500)
    		openitem(mainbp, "back", true)
    		wait(500,1500)
    		openitem(supplybp, mainbp, true)
    		wait(500,1500)
    		resizewindows()
    		wait(500,1500)
    		openitem(lootbp, mainbp, true)
    		wait(500,1500)
    		resizewindows()
    		wait(500,1500)
    		openitem(goldbp, mainbp, true)
    		wait(500,1500)
    		resizewindows()
    end
    
    set('Targeting/Enabled', 'yes')
    set('Looting/Enabled', 'yes')
    setsetting('Looting/OpenNextBP', 'yes')

 

 

Tags for this Thread

Posting Permissions

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