Frictional Games Forum (read-only)

Full Version: Keep enemies from disappearing after a while
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Trying to keep the enemies from disappearing so they will patrol instead but I can't seem to find the proper function.
For how many times and how long do you want him to patrol?
You can add script areas on his first and last PathNode that becomes triggered when he enters them, and calls a function that assigns him the same PathNodes again, only when he's walking back, the order of the PathNodes needs to be reversed. That'll make him patrol endlessly.
(06-27-2013, 01:54 PM)Wapez Wrote: [ -> ]You can add script areas on his first and last PathNode that becomes triggered when he enters them, and calls a function that assigns him the same PathNodes again, only when he's walking back, the order of the PathNodes needs to be reversed. That'll make him patrol endlessly.

Thanks, sounds like that will work great
Anytime man! Smile