|
| 25 Nov 2013 07:40 PM |
I looked all over and I can't find any tutorial or anything.
If you could help me out that would be great
Odnarb will RULE - http://web.roblox.com/Forum/ShowPost.aspx?PostID=114315214 |
|
|
| Report Abuse |
|
|
|
| 25 Nov 2013 07:45 PM |
| Lualearners has an A* pathfinding tutorial. Not sure how good it is though. |
|
|
| Report Abuse |
|
|
| |
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
| |
|
|
| 25 Nov 2013 07:58 PM |
Region3 maybe?
probably slower though |
|
|
| Report Abuse |
|
|
Bebee2
|
  |
| Joined: 17 May 2009 |
| Total Posts: 3985 |
|
|
| 25 Nov 2013 08:08 PM |
A. A way to scan the entire field (Region3 would be the best to collect all of the data if randomized).
B. Create a map of the open spaces with the collected data.
C. Find the intersection points of the auxiliary lines.
D. Define the starting spot and the ending spot.
E. Make the script run each and every possible moves until the script reaches the end (GL with that)
That's the only way I can think of in 2 minutes. |
|
|
| Report Abuse |
|
|
doneyes
|
  |
| Joined: 21 Mar 2008 |
| Total Posts: 3466 |
|
|
| 25 Nov 2013 08:20 PM |
| The best way for most purposes is to feature a ton of points on the map that the AI can walk from point to point until they reach their target. They key is for them to find the smallest path possible. |
|
|
| Report Abuse |
|
|
Bebee2
|
  |
| Joined: 17 May 2009 |
| Total Posts: 3985 |
|
|
| 25 Nov 2013 08:22 PM |
| If there is a script that can do that in less than a second, I will be astonished. |
|
|
| Report Abuse |
|
|
doneyes
|
  |
| Joined: 21 Mar 2008 |
| Total Posts: 3466 |
|
|
| 25 Nov 2013 08:35 PM |
| Yeah if you have a complicated path, it might take a while for it to think. |
|
|
| Report Abuse |
|
|