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
Path node issue...
Khyrpa Offline
Senior Member

Posts: 638
Threads: 10
Joined: Apr 2011
Reputation: 24
#4
RE: Path node issue...

but their names are the same... so how is that possible?

And also when you trigger this:
AddEntityCollideCallback("Player" , "Monster_Walk_Trigger" , "MonsterWalk1" , true , 1);

it makes so that everything inside this happens
void MonsterWalk1(string &in asParent , string &in asChild , int alState)
{
}
in your case its these:
SetEntityActive("Monster1" , true);
AddEnemyPatrolNode("Monster1", "PathNodeArea_35", 3, "");

so the bolded one here:
AddEntityCollideCallback("Player" , "Monster_Walk_Trigger" , "AddEnemyPatrolNode" , true , 1);

would need
void AddEnemyPatrolNode(string &in asParent , string &in asChild , int alState)

this is kind of confusing... I don't know what youre trying to do

(This post was last modified: 07-10-2011, 08:32 PM by Khyrpa.)
07-10-2011, 08:29 PM
Find


Messages In This Thread
Path node issue... - by AlexRobillard - 07-10-2011, 08:24 PM
RE: Path node issue... - by Khyrpa - 07-10-2011, 08:28 PM
RE: Path node issue... - by AlexRobillard - 07-10-2011, 08:28 PM
RE: Path node issue... - by Khyrpa - 07-10-2011, 08:29 PM
RE: Path node issue... - by AlexRobillard - 07-10-2011, 08:31 PM
RE: Path node issue... - by Khyrpa - 07-10-2011, 08:33 PM
RE: Path node issue... - by AlexRobillard - 07-10-2011, 08:34 PM
RE: Path node issue... - by Khyrpa - 07-10-2011, 08:36 PM
RE: Path node issue... - by AlexRobillard - 07-10-2011, 08:36 PM
RE: Path node issue... - by Khyrpa - 07-10-2011, 08:38 PM
RE: Path node issue... - by AlexRobillard - 07-10-2011, 08:46 PM



Users browsing this thread: 5 Guest(s)