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
Really need help with a monster loop.
Xanthos Offline
Senior Member

Posts: 318
Threads: 9
Joined: Mar 2012
Reputation: 8
#4
RE: Really need help with a monster loop.

Then just do
AddEntityCollideCallback("Grunt", "GruntLoop1", "Nodes1", false, 1);

AddEntityCollideCallback("Grunt", "GruntLoop2", "Nodes2", false, 1);

}


void Nodes1(string &in asParent, string &in asChild, int alState)
{
ClearEnemyPatrolNodes("Grunt");
AddEnemyPatrolNode("Grunt", "PathNodeArea_2", 1, "");
}


void Nodes2(string &in asParent, string &in asChild, int alState)
{
ClearEnemyPatrolNodes("Grunt");
AddEnemyPatrolNode("Grunt", "PathNodeArea_1", 1, "");
}

04-03-2012, 05:10 PM
Find


Messages In This Thread
Really need help with a monster loop. - by Mojake - 04-03-2012, 09:42 AM
RE: Really need help with a monster loop. - by Xanthos - 04-03-2012, 05:10 PM



Users browsing this thread: 1 Guest(s)