Results 1 to 10 of 10

Thread: How to use antifurnituretrap function?

  1. #1
    iBot User
    Join Date
    Jun 2012
    Posts
    52
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5

    How to use antifurnituretrap function?

    I tried add it as action, but dont work for me.

  2. #2
    Normal User
    Join Date
    Mar 2012
    Posts
    43
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    antifurnituretrap('name weapon')

    not work?

  3. #3
    iBot User
    Join Date
    Jun 2012
    Posts
    52
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    no :/ I tried with name and id and with empty and nothing

  4. #4
    iBot User pink_panther's Avatar
    Join Date
    May 2012
    Location
    Australia
    Posts
    4,075
    Mentioned
    49 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    178 Post(s)
    Reputation
    309
    Rep Power
    10
    Why do you need to smash furniture?

    If its things like trough and flower pot, ect. Use this, but change goblin statue to whatever.

    PHP Code:
    local smashRange 
    local i 
    math.random(-smashRange,smashRange )   
    local j math.random(-smashRange,smashRange )  

    if (
    toptileitem(posx+i,posy+j,posz) == itemid("Goblin Statue"then  
        useitemon
    ("Small Axe",posx+i,posy+j,posz)  
    end 

  5. #5
    iBot User
    Join Date
    Jun 2012
    Posts
    52
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    antyfurnituretrap() is function which should works like yours but for many items listed in table, this function is on standard library but doesnt work for me

  6. #6
    iBot User pink_panther's Avatar
    Join Date
    May 2012
    Location
    Australia
    Posts
    4,075
    Mentioned
    49 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    178 Post(s)
    Reputation
    309
    Rep Power
    10
    Carry a machette or use the item id and see if it works.

    Eg. antifurnituretrap(1234)

  7. #7
    iBot User
    Join Date
    Jun 2012
    Posts
    52
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    I have tried with many options, still nothing

  8. #8
    iBot User pink_panther's Avatar
    Join Date
    May 2012
    Location
    Australia
    Posts
    4,075
    Mentioned
    49 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    178 Post(s)
    Reputation
    309
    Rep Power
    10
    i made a new action

    PHP Code:
    antifurnituretrap("morning star"
    and it works perfectly fine.

    You're doing something wrong.
    Last edited by pink_panther; 08-02-2012 at 12:22 AM.

  9. #9
    iBot User
    Join Date
    Jun 2012
    Posts
    52
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    still nothing :/

  10. #10
    Focus Group szwedolecko's Avatar
    Join Date
    Apr 2012
    Location
    Poland
    Posts
    142
    Mentioned
    11 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    44
    Rep Power
    5
    its bugged, dosent work for me, this was reported anyway.

Posting Permissions

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