XenoBot Forums - Powered by vBulletin

User Tag List

Results 1 to 9 of 9

Thread: Random waypoint generation

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #9
    Senior Member Hypn0ticKi11er's Avatar
    Join Date
    Aug 2012
    Location
    NYC
    Posts
    265
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Why make it so hard and create unnecessary labels, etc. Simplify it down, man.

    Put a one-liner to choose the path (Walker.Goto("Path" .. tostring(math.random(1,5))) *This would be for 5 paths*
    Then, put a label before each path.

    Simple.
    Nothing in your LUA file.
    Enjoy
    If examples are needed, I'll provide them.

    and @XtrmJosh :
    What do you think?
    And someone did in fact do it sooner. Just haven't released my new scripts yet :P
    Last edited by Hypn0ticKi11er; 08-26-2014 at 06:01 AM.

Posting Permissions

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