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
[ok not that Solved] How to make enemys patrol
Danny Boy Offline
Posting Freak

Posts: 2,718
Threads: 85
Joined: Mar 2011
Reputation: 81
#1
[ok not that Solved] How to make enemys patrol

Hi hmm does eny one knows how to make a grunt or brute to patrol? i have read many stuff mentioning it but i don't know how to use them =/

btw iff you also know how to make a monster to spawn wend i open a door or cabinet that would be awsome Big Grin

[EDIT] ok i am realy not happy about my patrol monster -_- if he doesn't see me it works just fine but iff i does see me he beaves like some pathnodes do not exist if you want to see that youself downloa my testmap in the showcas its called super alpha

heres the code if it helps you

void PickupKey(string &in entity)
{
PlayMusic("11_event_dog", false, 5, 5, 10, true);
SetEntityActive("servant_grunt_1", true);
AddEnemyPatrolNode("servant_grunt_1","PathNodeArea_1",0,"");
{
AddEnemyPatrolNode("servant_grunt_1","PathNodeArea_2",4,"");
{
AddEnemyPatrolNode("servant_grunt_1","PathNodeArea_3",10,"");
{
AddEnemyPatrolNode("servant_grunt_1","PathNodeArea_4",0,"");
{
AddEnemyPatrolNode("servant_grunt_1","PathNodeArea_5",4,"");
{
AddEnemyPatrolNode("servant_grunt_1","PathNodeArea_6",4,"");
{
AddEnemyPatrolNode("servant_grunt_1","PathNodeArea_7",4,"");
{
AddEnemyPatrolNode("servant_grunt_1","PathNodeArea_8",4,"");
{
AddEnemyPatrolNode("servant_grunt_1","PathNodeArea_9",4,"");
{
AddEnemyPatrolNode("servant_grunt_1","PathNodeArea_10",4,"");

}
}
}

}

}
}
}
}
}
}
(This post was last modified: 03-19-2011, 04:41 PM by Danny Boy.)
03-13-2011, 06:27 PM
Website Find


Messages In This Thread
[ok not that Solved] How to make enemys patrol - by Danny Boy - 03-13-2011, 06:27 PM
RE: How to make enemys patrol - by Viperdream - 03-13-2011, 06:34 PM
RE: How to make enemys patrol - by Danny Boy - 03-13-2011, 07:27 PM



Users browsing this thread: 1 Guest(s)