Results 1 to 3 of 3

Thread: Action vender loot

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

    Action vender loot

    Quero uma action pra quando o char chegar no npc rafzan ele dar follow nele e vender os seguintes itens: Ratana, life preserver, spiky club e leather harness...

    Alguem ai me ajuda por favor!

  2. #2
    Normal User
    Join Date
    Jul 2012
    Posts
    44
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    upp

  3. #3
    Banned
    Join Date
    Jun 2012
    Location
    Ceará
    Posts
    2,114
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    81
    Rep Power
    0
    followcreature("NAME") ou reachcreature("NAME") dentre as 2 eu usaria reach porque mesmo o npc estando preso o char chega o mais próximo possível.

    items = {"ratana", "life preserver", "spiky club", "leather harness"}


    for i = 1, #items do

    reachcreature("NAME")
    wait(200, 500)
    say("hi")
    wait(2000, 5000)
    npcsay("trade")
    wait(1000, 2000)
    sellitems(items[i], 100)
    wait(1000, 2000)

    end
    Last edited by GabrielTOTS; 07-26-2013 at 02:16 PM.

Posting Permissions

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