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
Adding a Penumbra Monster /!\ 1 New Problems
palistov Offline
Posting Freak

Posts: 1,208
Threads: 67
Joined: Mar 2011
Reputation: 57
#10
RE: Adding a Penumbra Monster

Glad I could help Smile

AddEnemyPatrolNode("doggie", "PathNodeArea_1", 5, "");
AddEnemyPatrolNode("doggie", "PathNodeArea_2", 5, "");
AddEnemyPatrolNode("doggie", "PathNodeArea_3", 5, "");

Using those lines of script will give your furry little friend a patrol path. He/she will patrol that path (in order) until something suspicious catches its attention. At each node the doggie will wait for 5 seconds (you can change it, but even with a value of 0 there is still a pause of a second or two).

Make sure you create an abundance of extra node areas (monster AI requires them so they can walk around obstacles and walls, etc. Space them out no more than 1 meter.

(This post was last modified: 07-10-2011, 11:31 PM by palistov.)
07-10-2011, 11:31 PM
Find


Messages In This Thread
RE: Adding a Penumbra Monster - by plutomaniac - 07-08-2011, 10:05 PM
RE: Adding a Penumbra Monster - by Tanshaydar - 07-08-2011, 10:45 PM
RE: Adding a Penumbra Monster - by Jordo76 - 07-08-2011, 10:46 PM
RE: Adding a Penumbra Monster - by Jordo76 - 07-10-2011, 02:22 PM
RE: Adding a Penumbra Monster - by palistov - 07-10-2011, 02:38 PM
RE: Adding a Penumbra Monster - by plutomaniac - 07-10-2011, 03:38 PM
RE: Adding a Penumbra Monster - by Jordo76 - 07-10-2011, 05:26 PM
RE: Adding a Penumbra Monster - by plutomaniac - 07-10-2011, 09:32 PM
RE: Adding a Penumbra Monster - by palistov - 07-10-2011, 11:31 PM
RE: Adding a Penumbra Monster - by Jordo76 - 07-10-2011, 11:33 PM
RE: Adding a Penumbra Monster - by palistov - 07-10-2011, 11:37 PM
RE: Adding a Penumbra Monster - by plutomaniac - 07-10-2011, 11:40 PM
RE: Adding a Penumbra Monster - by Jordo76 - 07-11-2011, 12:03 AM



Users browsing this thread: 1 Guest(s)