john9818a on 10/1/2016 at 03:04
Quote Posted by ZylonBane
Put a unique stim on the guard, and a receptron near where he's not supposed to go. If the receptron fires, blow the guard up. Or tell him to patrol somewhere else, I dunno.
:laff:
john9818a on 17/8/2017 at 07:38
I had a need to use this parameter in my own mission and remember this post. Russ if you Add AI > AI Core > Uses Doors and uncheck the box, that particular guard won't use doors or even try to enter doorways. I don't know if this will help in your case or if the mission you were working on was released already, but I posted it for reference if you or anyone else needs it.
ZylonBane on 17/8/2017 at 13:29
Now that we have the ability to trivially create new scripts, I wonder if a custom patrol script could be implemented, that would direct an AI to its destination strictly along intermediate points instead of entrusting it to find its own way. This would probably require that AIs fire off a message when they reach a terrpt, which I have no idea whether or not they do.
Nameless Voice on 20/8/2017 at 02:57
There's a script called NVFreePatrol which makes AIs patrol along a list of coordinates instead of using patrol points.
IIRC it was written for CoSaS, who couldn't afford the objects for TrolPts.
I can't remember how well it works - it doesn't seem to support random, but you could theoretically rewrite the design note periodically?
Not sure if that's of any use at all, though.
What you really want is to have a setup which, at certain points along a patrol, chooses between multiple different paths to continue on, rather than having the patrol fully random.
Daraan on 20/8/2017 at 15:21
I think FireMage's suggestion was kinda good with an AiWatchObj Link just don't get why you have to use conversations as the Link has every tool.
When the Guard enters the Door, delete the current AICurrentPatrol Links and create a new one to a nearby marker it will walk there and get a new destination and worst case it walks to the door again -> Go back and Try again.
FireMage on 21/8/2017 at 10:13
@Daraan, I guess I should have been tired when I sent the message ! xD Plus AIWatchObj got more lines than a single Convo Step.
Yes, you are right, removing the AICurrentPatrol to replace it with another is clearly enough ! It will just look silly if the AI insist to go to the wrong way in the worst case.