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
Suitors gone wild
Vic7im Offline
Junior Member

Posts: 44
Threads: 9
Joined: Sep 2012
Reputation: 3
#1
Suitors gone wild

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
10-03-2012, 05:37 PM
Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#2
RE: Suitors gone wild

Helloworld and Depths... are they pathnodes?

Trying is the first step to success.
10-03-2012, 05:46 PM
Find
Vic7im Offline
Junior Member

Posts: 44
Threads: 9
Joined: Sep 2012
Reputation: 3
#3
RE: Suitors gone wild

(10-03-2012, 05:46 PM)beecake Wrote: Helloworld and Depths... are they pathnodes?
Yap
10-03-2012, 06:03 PM
Find
i3670 Offline
Posting Freak

Posts: 1,308
Threads: 74
Joined: Oct 2011
Reputation: 36
#4
RE: Suitors gone wild

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

"What you think is irrelevant" - A character of our time

A Christmas Hunt
10-03-2012, 06:28 PM
Find




Users browsing this thread: 1 Guest(s)