Home » MODDING HQ 1.13 » v1.13 General Development Talk » A* pathing, only for non-NPCs?
Re: A* pathing, only for non-NPCs?[message #246348] Sun, 07 March 2010 07:16 Go to previous messageGo to next message
Deane

 
Messages:62
Registered:January 2010
This is probably a shoot in the dark .. but for example.. you got 3 enemies going to point A .. do you calculate enemy A,B,C separately.. from their position to point A, or do you calculate from point A to them?
Re: A* pathing, only for non-NPCs?[message #246349] Sun, 07 March 2010 07:33 Go to previous messageGo to next message
Headrock

 
Messages:1774
Registered:March 2006
Location: Jerusalem
Errr, I have no idea. You'd have to look at it yourself, I guess.

BTW the function is called AStar(), and I believe the important bits are all inside ExecuteAStarLogic().


Re: A* pathing, only for non-NPCs?[message #246445] Mon, 08 March 2010 09:46 Go to previous message
Telpscorei

 
Messages:13
Registered:September 2007
Location: United Kingdom
Right then, I'll take a look and see if I can figure out a way to improve the time.
Previous Topic: HAM 3.6 Alpha - RELEASED
Next Topic: All mercs have a chance to learn new traits?
Goto Forum:
  


Current Time: Sun Jul 12 02:01:25 EEST 2020

Total time taken to generate the page: 0.01156 seconds