Results 1 to 2 of 2

Thread: Backpack closing

  1. #1
    Normal User
    Join Date
    May 2012
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    Backpack closing

    Hello! From time to time my character close a backpack with bolts or other backpack. It obviously results in a death. It happens rearly but it does. My question is if somebody could write me an action that will be checking if my backpacks are opened as they should be (i mean if all 4 backpacks are opened) and if they are not to open them.

  2. #2
    Normal User
    Join Date
    Jun 2012
    Location
    Sweden
    Posts
    1,671
    Mentioned
    18 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    8 Post(s)
    Reputation
    132
    Rep Power
    9
    Remember to add setsettings() to disable this when it walk to city and enable when entering spawn.
    Code:
    if (windowcount() < 4) then
        pausewalking(16000)
        setlooting("no")
        closewindows() wait(500,700)
        openitem(MainBP, "back", true) wait(500,700)
        resizewindows() wait(500,700)
        openitem(SupplyBP, MainBP, true) wait(500,700)
        resizewindows() wait(500,700)
        openitem(LootBP, MainBP, true) wait(500,700)
        resizewindows() wait(500,700)
        openitem(GoldBP, MainBP, true) wait(500,700)
        resizewindows() wait(500,700)
        pausewalking(0)
        setlooting("yes")
        setlooting("yes")
    end
    Last edited by soder; 09-19-2012 at 05:43 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
  •