Results 1 to 5 of 5

Thread: Drop only 1 of item X

  1. #1

    Join Date
    Apr 2013
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4

    Drop only 1 of item X

    Theres an action (dropitems) but it drops ALL items on backpack, is there an action to drop only ONE item of that kind?

  2. #2
    Normal User mattos123's Avatar
    Join Date
    Sep 2012
    Location
    Brasil
    Posts
    214
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    12
    Rep Power
    5
    PHP Code:
    (dropitems("mana potion"),1
    i guess is smth like that
    Se ontem fosse anti-ontem, e hoje fosse ontem, hoje seria oque ?





    ~O amanhã


  3. #3

    Join Date
    Apr 2013
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    18:02 : LUAoAction:drop-p-armor: - LuaInterface.LuaScriptException: [string "chunk"]:3: ambiguous syntax (function call x new statement) near '('

    if maround(7, false) == 0 and cap < 160 then
    wait (200)
    (dropitems("plate armor"),1)
    wait (200)
    end

  4. #4
    Banned
    Join Date
    Nov 2012
    Location
    Sweden
    Posts
    450
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    65
    Rep Power
    0
    Try
    moveitems(1111, lootBP, ground, 1)

  5. #5

    Join Date
    Apr 2013
    Posts
    6
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    Quote Originally Posted by PromB View Post
    Try
    moveitems(1111, lootBP, ground, 1)
    Thank you, I was going to edit it right now, I did exactly what you said and worked

Posting Permissions

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