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 waiting at each PathNodes
onv Offline
Member

Posts: 51
Threads: 12
Joined: Feb 2012
Reputation: 2
#1
Enemy waiting at each PathNodes

Hello.

I've recently discovered that you can modify the Path of the Enemy , by adding PathNodes point , and script a bit.
But my probleme is :
The Enemy wait like 2 seconds each Path.
I checked my PatrolNodes line (in script file) , and it looks like this :


AddEnemyPatrolNode("monstre_1", "PathNodeArea_1", 0.0f, "");
AddEnemyPatrolNode("monstre_1", "PathNodeArea_2", 0.0f, "");
AddEnemyPatrolNode("monstre_1", "PathNodeArea_3", 0.0f, "");
AddEnemyPatrolNode("monstre_1", "PathNodeArea_4", 0.0f, "");
AddEnemyPatrolNode("monstre_1", "PathNodeArea_5", 0.0f, "");
AddEnemyPatrolNode("monstre_1", "PathNodeArea_6", 0.0f, "");
AddEnemyPatrolNode("monstre_1", "PathNodeArea_7", 0.0f, "");
AddEnemyPatrolNode("monstre_1", "PathNodeArea_8", 0.0f, "");

I puted "0.0f" , because i don't want the enemy to wait at each path , but he still do.


Any help ?
02-08-2012, 09:37 PM
Find


Messages In This Thread
Enemy waiting at each PathNodes - by onv - 02-08-2012, 09:37 PM
RE: Enemy waiting at each PathNodes - by palistov - 02-09-2012, 12:39 PM
RE: Enemy waiting at each PathNodes - by onv - 02-09-2012, 03:26 PM
RE: Enemy waiting at each PathNodes - by onv - 02-11-2012, 09:19 AM
RE: Enemy waiting at each PathNodes - by palistov - 02-11-2012, 09:31 AM
RE: Enemy waiting at each PathNodes - by onv - 02-11-2012, 10:06 AM
RE: Enemy waiting at each PathNodes - by palistov - 02-11-2012, 10:15 AM
RE: Enemy waiting at each PathNodes - by onv - 02-11-2012, 04:24 PM
RE: Enemy waiting at each PathNodes - by onv - 02-11-2012, 06:33 PM
RE: Enemy waiting at each PathNodes - by palistov - 02-11-2012, 07:45 PM
RE: Enemy waiting at each PathNodes - by onv - 02-12-2012, 09:05 AM



Users browsing this thread: