Frictional Games Forum (read-only)
Sabatu's Thread - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: SOMA (https://www.frictionalgames.com/forum/forum-55.html)
+--- Forum: User created content (https://www.frictionalgames.com/forum/forum-79.html)
+--- Thread: Sabatu's Thread (/thread-31660.html)

Pages: 1 2


RE: Sabatu's Thread - Abion47 - 11-15-2015

(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.)

Code:
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, "");



RE: Sabatu's Thread - Seneth - 11-15-2015

(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.)

Code:
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]


RE: Sabatu's Thread - Seneth - 11-16-2015

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;
}


RE: Sabatu's Thread - Seneth - 11-17-2015

Solved Big Grin I forgot put in new script few helpers Big Grin