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
Script Help Patrol script help
Artyom Offline
Senior Member

Posts: 370
Threads: 27
Joined: Jul 2012
Reputation: 11
#2
RE: Patrol script help

void OnStart()
{
        AddEnemyPatrolNode("servant_grunt_1", "PathNodeArea_1", 0, "");
    AddEnemyPatrolNode("servant_grunt_1", "PathNodeArea_2", 0, "");
}

Simplified:

AddEnemyPatrolNode("name of monster in the editor", "Name of pathnode", time in seconds the monster stays at the specific location, "");

Also here's a great tutorial: http://wiki.frictionalgames.com/hpl2/tut...rpathnodes

- Inactive account -
(This post was last modified: 07-15-2013, 05:38 PM by Artyom.)
07-15-2013, 05:37 PM
Find


Messages In This Thread
Patrol script help - by axelklesk - 07-15-2013, 04:36 PM
RE: Patrol script help - by Artyom - 07-15-2013, 05:37 PM
RE: Patrol script help - by axelklesk - 07-15-2013, 05:41 PM
RE: Patrol script help - by Artyom - 07-15-2013, 05:42 PM
RE: Patrol script help - by axelklesk - 07-15-2013, 05:44 PM
RE: Patrol script help - by Artyom - 07-15-2013, 05:51 PM
RE: Patrol script help - by axelklesk - 07-15-2013, 05:55 PM
RE: Patrol script help - by Artyom - 07-15-2013, 06:20 PM



Users browsing this thread: 1 Guest(s)