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
Enemy does not patrol
.eX. Offline
Junior Member

Posts: 5
Threads: 2
Joined: Mar 2012
Reputation: 0
#1
Enemy does not patrol


void MonsterFunction(string &in asParent, string &in asChild, int alState)
{
SetEntityActive("servant_brute_1", true);
AddEnemyPatrolNode("servant_brute_1","PathNodeArea_1", 3.50,"");
AddEnemyPatrolNode("servant_brute_1","PathNodeArea_2", 0,"");
AddEnemyPatrolNode("servant_brute_1","PathNodeArea_3", 0,"");
AddEntityCollideCallback("servant_brute_1", "PathNodeArea_3", "FadeEnemyToSmoke", false, 0);
FadeEnemyToSmoke("servant_brute_1", true);
}

enemy just stands still, can u plz help me with this ? I wanted em to walk to these path nodes and on the 3d note to fade (I am new to scripting plz be gentle)
03-25-2012, 04:23 PM
Find


Messages In This Thread
Enemy does not patrol - by .eX. - 03-25-2012, 04:23 PM
RE: Enemy does not patrol - by Your Computer - 03-25-2012, 04:31 PM
RE: Enemy does not patrol - by .eX. - 03-25-2012, 04:47 PM
RE: Enemy does not patrol - by Your Computer - 03-25-2012, 05:09 PM
RE: Enemy does not patrol - by .eX. - 03-25-2012, 05:11 PM



Users browsing this thread: 1 Guest(s)