The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
xtron Offline
Senior Member

Posts: 402
Threads: 37
Joined: May 2011
Reputation: 2
#1
Monster stop at path node

void OnStart()
{
AddEntityCollideCallback("monster_outside_door_slam1", "PathNodeArea_10", "disable_monster1", true, 1);
}

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

Here's my current code for monster geting disabled when on "PathNodeArea_10" but it doesn't work. Any ides why?

Monster name: monster_outside_door_slam1
Node name: PathNodeArea_10

[Image: 44917299.jpg]Dubstep <3
05-26-2011, 06:58 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)