Results 1 to 3 of 3

Thread: help with standtime n moving action

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

    help with standtime n moving action

    if standtime > 30000
    then

    move ("n", "s", "w", "e", "nw", "ne", "se", "sw")

    end

    doesnt work :/

  2. #2
    Normal User sirmate's Avatar
    Join Date
    Mar 2012
    Location
    Poland
    Posts
    176
    Mentioned
    2 Post(s)
    Tagged
    3 Thread(s)
    Quoted
    2 Post(s)
    Reputation
    105
    Rep Power
    6
    Code:
    if (standtime > 30000) then
        move(({"n", "s", "w", "e", "nw", "ne", "se", "sw"})[math.random(1, 8)])
    end
    (๏̯͡๏ )

  3. #3
    Normal User
    Join Date
    Aug 2012
    Posts
    19
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quoted
    0 Post(s)
    Reputation
    10
    Rep Power
    5
    Thank you!

Posting Permissions

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