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
Seneth Offline
Junior Member

Posts: 26
Threads: 9
Joined: Apr 2015
Reputation: 0
#12
RE: Sabatu's Thread

(11-15-2015, 05:05 AM)Abion47 Wrote:
(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, "");

Ok. I needfirst add add .. ant after add. I need start??. All add pathfinders And thed start pathfinders?

I want to make outside cs.. likeva. Ethan carter.. I have ..outside object from soma. But some models with houses.. walls. Entities from the carter..but my modeli g skill=SmileSmileSmile
[/align]
(This post was last modified: 11-15-2015, 11:58 AM by Seneth.)
11-15-2015, 11:48 AM
Find
Seneth Offline
Junior Member

Posts: 26
Threads: 9
Joined: Apr 2015
Reputation: 0
#13
RE: Sabatu's Thread

THIS IS SUPPER HILARIOUS
I use this in first map OK,.. I make second mape.. I use same script but error . NO MATCHING SINGATURE !!!!!!!!
-

bool WakeUpFunc(const tString &in asParent, const tString &in asChild, int alState)
{
CameraAnimation_Begin("WakeUpCam","",true);
return false;
}
11-16-2015, 10:56 PM
Find
Seneth Offline
Junior Member

Posts: 26
Threads: 9
Joined: Apr 2015
Reputation: 0
#14
RE: Sabatu's Thread

Solved Big Grin I forgot put in new script few helpers Big Grin
11-17-2015, 12:15 AM
Find




Users browsing this thread: 2 Guest(s)