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
Follow nodes
Kyle Offline
Posting Freak

Posts: 911
Threads: 36
Joined: Sep 2010
Reputation: 7
#5
RE: Follow nodes

You put his path nodes through a closed door and he'll break down through it.

Code should look like:

void OnStart()
{
AddEntityCollideCallback("Player", "ScriptArea_1", "Function01", true, 1);
}
void Function01(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("Monster", true);
AddEnemyPatrolNode("Monster", "PathNodeArea_1", 5, "");
}

04-30-2011, 02:19 PM
Find


Messages In This Thread
Follow nodes - by X4anco - 04-30-2011, 01:33 PM
RE: Follow nodes - by Kyle - 04-30-2011, 01:40 PM
RE: Follow nodes - by TFEF - 04-30-2011, 01:42 PM
RE: Follow nodes - by X4anco - 04-30-2011, 01:46 PM
RE: Follow nodes - by Kyle - 04-30-2011, 02:19 PM



Users browsing this thread: 3 Guest(s)