Results 1 to 3 of 3

Thread: Loot from ground.

  1. #1
    Normal User
    Join Date
    Sep 2013
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4

    Loot from ground.

    pickupitems(string dir, array items) [void]: Pickup each item on items array and direction, to the first open backpack found.


    Can someone give me an example of this function, and where I should write it to use properly?

  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
    Valid directions are: n,s,e,w,ne,nw,se,sw,c - each stands for it's direction.

    Example:

    [ilua]pickupitems("n","soft boots","worn soft boots")[/ilua] - Will loot defined items north of your character.

  3. #3
    Normal User
    Join Date
    Sep 2013
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4
    And where should i write it? In Actions?

Posting Permissions

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