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
monsters.
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#4
RE: monsters.

Scatter some nodes around the room with a small distance in between them. If they are all over the place, the monster will find the most convenient way to follow it. In the script you can add the AddEnemyPatrolNode line to give the monster a destination. You can run this script several times in a row to give a longer path to the monster. Add one for every corner, just so he doesn't get stuck there.

If you add a few nodes to the script, he will walk until he has reached the final one. If the player is close, he will restart the path, otherwise he will despawn.

(This post was last modified: 12-10-2014, 08:26 AM by Mudbill.)
12-10-2014, 08:25 AM
Find


Messages In This Thread
monsters. - by G510s - 12-09-2014, 11:16 PM
RE: monsters. - by Mudbill - 12-09-2014, 11:49 PM
RE: monsters. - by G510s - 12-09-2014, 11:52 PM
RE: monsters. - by Mudbill - 12-10-2014, 08:25 AM
RE: monsters. - by FlawlessHappiness - 12-10-2014, 01:31 PM



Users browsing this thread: 1 Guest(s)