Frictional Games Forum (read-only)

Full Version: Suitors gone wild
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Evening everyone, I'm having a tiny issue with Suitors.
They should spawn where indicated THEN follow a path. The problem is that they spawn and travel mindlessly "somewhere", they focus with one corner of the map and keep going that way. I've noticed that in that same corner, way beyond, there's a level door.

The script for their behaviour is right here
Spoiler below!
void HLFiveScript (string &in asEntity, string &in asChild, int alState)
{
SetEntityActive("Suitor_1", true);
SetEntityActive("Suitor_2", true);
SetEntityActive("HL_12", false);
SetEntityActive("HL_13", false);
AddEnemyPatrolNode("Suitor_1", "Helloworld_1", 1, "notice2");
AddEnemyPatrolNode("Suitor_1", "Depths", 0, "");
AddEnemyPatrolNode("Suitor_2", "Helloworld_2", 1, "notice1");
AddEnemyPatrolNode("Suitor_2", "Depths", 0, "");
}


Thanks in advance \o
Helloworld and Depths... are they pathnodes?
(10-03-2012, 05:46 PM)beecake Wrote: [ -> ]Helloworld and Depths... are they pathnodes?
Yap
Do you have any unscripted pathnodes in the map? If not, try adding some leading to your destination.