Frictional Games Forum (read-only)

Full Version: Monster shouldn't dissappear after patroling
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How do i make a monster NOT dissappear after it has walked through all the PathNodes?
bump           
easiest fix is simply to give him new path nodes before reaching end.
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.
(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!
(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
(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.