Frictional Games Forum (read-only)
Monster shouldn't dissappear after patroling - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods (https://www.frictionalgames.com/forum/forum-35.html)
+--- Thread: Monster shouldn't dissappear after patroling (/thread-5288.html)



Monster shouldn't dissappear after patroling - machosalad - 11-02-2010

How do i make a monster NOT dissappear after it has walked through all the PathNodes?


RE: Monster shouldn't dissappear after patroling - machosalad - 11-03-2010

bump           


RE: Monster shouldn't dissappear after patroling - Thomas - 11-03-2010

easiest fix is simply to give him new path nodes before reaching end.


RE: Monster shouldn't dissappear after patroling - Kyle - 11-03-2010

If you don't want your monster moving on different pathnodes after he goes to the last one, just make him stand there forever. Smile

Example: AddEnemyPatrolNode("servant_brute", "PathNodeArea_1", 100000000000.0f, "");

That big number that is in that part of the script is how long the monster stays there before moving to the next different pathnode.


RE: Monster shouldn't dissappear after patroling - machosalad - 11-03-2010

(11-03-2010, 12:18 PM)Kyle Wrote: If you don't want your monster moving on different pathnodes after he goes to the last one, just make him stand there forever. Smile

Example: AddEnemyPatrolNode("servant_brute", "PathNodeArea_1", 100000000000.0f, "");

That big number that is in that part of the script is how long the monster stays there before moving to the next different pathnode.

I'll try that. Thanks!


RE: Monster shouldn't dissappear after patroling - Vincent - 11-03-2010

(11-03-2010, 01:20 PM)machosalad Wrote:
(11-03-2010, 12:18 PM)Kyle Wrote: If you don't want your monster moving on different pathnodes after he goes to the last one, just make him stand there forever. Smile

Example: AddEnemyPatrolNode("servant_brute", "PathNodeArea_1", 100000000000.0f, "");

That big number that is in that part of the script is how long the monster stays there before moving to the next different pathnode.

I'll try that. Thanks!

That would equal about 27777777.78 hours, 1157407.4074074 days, 165343.9153439 weeks, aka 3168.8737503 years Big Grin


RE: Monster shouldn't dissappear after patroling - Kyle - 11-03-2010

(11-03-2010, 10:59 PM)Vincent Wrote:
(11-03-2010, 01:20 PM)machosalad Wrote:
(11-03-2010, 12:18 PM)Kyle Wrote: If you don't want your monster moving on different pathnodes after he goes to the last one, just make him stand there forever. Smile

Example: AddEnemyPatrolNode("servant_brute", "PathNodeArea_1", 100000000000.0f, "");

That big number that is in that part of the script is how long the monster stays there before moving to the next different pathnode.

I'll try that. Thanks!

That would equal about 27777777.78 hours, 1157407.4074074 days, 165343.9153439 weeks, aka 3168.8737503 years Big Grin

Lol, nice. Just any randomly long number can get the job done.