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
Monster stop at path node
Kyle Offline
Posting Freak

Posts: 911
Threads: 36
Joined: Sep 2010
Reputation: 7
#3
RE: Monster stop at path node

Yeah, what Khyrpa said.

Add a ScriptArea at PathNodeArea_10.

void OnStart()
{
     AddEntityCollideCallback("monster_outside_door_slam1", "ScriptArea_1", "disable_monster1", true, 1);
}
void disable_monster1(string &in asParent, string &in asChild, int alState)
{
     SetEnemyDisabled("monster_outside_door_slam1", true);
}

05-26-2011, 07:08 PM
Find


Messages In This Thread
Monster stop at path node - by xtron - 05-26-2011, 06:58 PM
RE: Monster stop at path node - by Khyrpa - 05-26-2011, 07:01 PM
RE: Monster stop at path node - by Kyle - 05-26-2011, 07:08 PM
RE: Monster stop at path node - by xtron - 05-26-2011, 07:33 PM
RE: Monster stop at path node - by Khyrpa - 05-26-2011, 07:39 PM
RE: Monster stop at path node - by xtron - 05-26-2011, 07:43 PM
RE: Monster stop at path node - by Khyrpa - 05-26-2011, 07:48 PM



Users browsing this thread: 1 Guest(s)