Results 1 to 5 of 5

Thread: Action para esperar x segundos e andar Norte!

  1. #1
    iBot User
    Join Date
    Dec 2012
    Posts
    53
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    4

    Exclamation Action para esperar x segundos e andar Norte!

    Olá, gostaria se possivel de uma action para o char esperar x segundos e andar para o norte ou west...

    quem poder ajudar, agradeço d++

  2. #2
    iBot User Dehan's Avatar
    Join Date
    May 2012
    Location
    www.ssocialscripts.com
    Posts
    910
    Mentioned
    2 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    114
    Rep Power
    7
    Code:
    local wait_time = 10
    
    if standtime > (wait_time*1000) then
    move("n")
    end
    Check out - Dehan Accounts Service!

    Proud Scripter of BUgWT STAFF

  3. #3
    Normal User
    Join Date
    Aug 2012
    Posts
    24
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    dehan, u have some action that wait 5 sec, than use exani hur up?

  4. #4
    iBot User Dehan's Avatar
    Join Date
    May 2012
    Location
    www.ssocialscripts.com
    Posts
    910
    Mentioned
    2 Post(s)
    Tagged
    1 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    114
    Rep Power
    7
    Code:
    local direction = "n"
    -- "n" = north, "s" = south, same for "e" and "w"
    
    wait(5000)
    turn(direction)
    cast('exani hur "up')
    Check out - Dehan Accounts Service!

    Proud Scripter of BUgWT STAFF

  5. #5
    Normal User benejackson's Avatar
    Join Date
    Jun 2012
    Posts
    52
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    11
    Rep Power
    5
    PHP Code:
    levitate("e""down"

    Direcoes:

    "e" = east - leste
    "n" = north - norte
    "s" = south - sul
    "w" = west - oeste
    "up" = pra cima
    "down" = pra baixo

Posting Permissions

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