Frictional Games Forum (read-only)
Suitors gone wild - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: Suitors gone wild (/thread-18610.html)



Suitors gone wild - Vic7im - 10-03-2012

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


RE: Suitors gone wild - FlawlessHappiness - 10-03-2012

Helloworld and Depths... are they pathnodes?


RE: Suitors gone wild - Vic7im - 10-03-2012

(10-03-2012, 05:46 PM)beecake Wrote: Helloworld and Depths... are they pathnodes?
Yap


RE: Suitors gone wild - i3670 - 10-03-2012

Do you have any unscripted pathnodes in the map? If not, try adding some leading to your destination.