Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sabatu's Thread
Abion47 Offline
Senior Member

Posts: 369
Threads: 22
Joined: Oct 2015
Reputation: 46
#11
RE: Sabatu's Thread

(11-14-2015, 09:55 PM)Seneth Wrote: Can you tell me why my pathnodes still arghhh.
All enemy just stay in his spawn (entityactive) and walk only if they spot meSad

You are calling the Pathfinder functions in the wrong order. You want to add the nodes with Pathfinder_Track_Add, and then run Pathfinder_Track_Start. (It's also generally a good idea to call Pathfinder_Track_Clear at the start of everything as well.)

Pathfinder_Track_Clear("entity_name");
Pathfinder_Track_Add("entity_name", "Path_Node_1");
Pathfinder_Track_Add("entity_name", "Path_Node_2");
Pathfinder_Track_Add("entity_name", "Path_Node_3");
Pathfinder_Track_Start("entity_name", true, 1.0, "");
11-15-2015, 05:05 AM
Find


Messages In This Thread
Sabatu's Thread - by Seneth - 11-09-2015, 10:14 AM
RE: Sabatu's Thread - by Mudbill - 11-09-2015, 10:24 AM
RE: Sabatu's Thread - by Seneth - 11-09-2015, 11:00 AM
RE: Sabatu's Thread - by WALP - 11-09-2015, 09:46 PM
RE: Sabatu's Thread - by Mudbill - 11-09-2015, 10:46 PM
RE: Sabatu's Thread - by Seneth - 11-10-2015, 12:04 AM
RE: Sabatu's Thread - by Abion47 - 11-14-2015, 04:12 PM
RE: Sabatu's Thread - by Vale - 11-10-2015, 07:55 AM
RE: Sabatu's Thread - by Kanthos - 11-10-2015, 11:39 AM
RE: Sabatu's Thread - by Seneth - 11-14-2015, 09:55 PM
RE: Sabatu's Thread - by Abion47 - 11-15-2015, 05:05 AM
RE: Sabatu's Thread - by Seneth - 11-15-2015, 11:48 AM
RE: Sabatu's Thread - by Seneth - 11-16-2015, 10:56 PM
RE: Sabatu's Thread - by Seneth - 11-17-2015, 12:15 AM



Users browsing this thread: 1 Guest(s)