Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Patrol Node Help
Cellrage Offline
Junior Member

Posts: 4
Threads: 0
Joined: Oct 2010
Reputation: 0
#6
RE: Patrol Node Help

One thing you should know about patrol nodes is that they will auto-link if there is a clear path between them. This means that you aren't required to add every node you want your enemy to path to, only the ones where you want him to pause or finish patrolling.

In an example, you want the enemy to path from Point A to Point C. Instead of adding a script like this:

Quote:AddEnemyPatrolNode("Enemy", "Point_A", 0, "");
AddEnemyPatrolNode("Enemy", "Point_B", 0, "");
AddEnemyPatrolNode("Enemy", "Point_C", 0, "");

You could instead do this:

Quote:AddEnemyPatrolNode("Enemy", "Point_A", 0, "");
AddEnemyPatrolNode("Enemy", "Point_C", 0, "");

Assuming A, B and C ar linear, they will auto-link, and the enemy will path seamlessly from Point A to Point C without stopping at Point B.
10-26-2010, 02:28 AM
Find


Messages In This Thread
Patrol Node Help - by ThePaSch - 10-21-2010, 06:17 PM
RE: Patrol Node Help - by Zergalag - 10-21-2010, 06:28 PM
RE: Patrol Node Help - by ThePaSch - 10-21-2010, 07:16 PM
RE: Patrol Node Help - by Pandemoneus - 10-21-2010, 06:45 PM
RE: Patrol Node Help - by Zergalag - 10-21-2010, 07:20 PM
RE: Patrol Node Help - by Cellrage - 10-26-2010, 02:28 AM
RE: Patrol Node Help - by ThePaSch - 10-30-2010, 03:13 PM
RE: Patrol Node Help - by house - 10-29-2010, 03:13 PM



Users browsing this thread: 1 Guest(s)