ziggly27
|
  |
| Joined: 27 Mar 2009 |
| Total Posts: 641 |
|
|
| 04 Oct 2012 03:05 PM |
I have a path finding AI, simple and not really developed at the moment, and I wish to add a random path select before starting to clean up the lines and make it more flexible.
h = script.Parent.Humanoid
while true do h:MoveTo(script.Parent.A.Position, script.Parent.A) wait(6) h:MoveTo(script.Parent.B.Position, script.Parent.B) wait(3) h:MoveTo(script.Parent.C.Position, script.Parent.C) wait(2) end
It is simple right now, and I am just looking for help with the random path select, I'll clean it up later. |
|
|
| Report Abuse |
|
jobro13
|
  |
| Joined: 05 Aug 2009 |
| Total Posts: 2865 |
|
|
| 04 Oct 2012 03:14 PM |
| Use a node generator, put them in an array, return a random index from he array. |
|
|
| Report Abuse |
|