LarryG on 7/5/2014 at 02:09
Is it possible for an AI to patrol along one path, then, after an event trigger, switch to another patrol path?
Yandros on 7/5/2014 at 03:17
Patrolling AI have an AICurrentPatrol link to the next TrolPt they will go to, so theoretically you could simply remove any current AICurrentPatrol links and then add one to a TrolPt in the new path.
Le MAlin 76 on 7/5/2014 at 09:50
An AI who has not Patrol: True
But you add (with metatrap or in the end of conversation) a metatrap with "patrol:true"
Zontik on 7/5/2014 at 11:22
Just teleport his TrolPts to some new places. It may cause troubles in some particular cases, but why not to try the easiest solution first?
The Watcher on 7/5/2014 at 11:58
You have an interesting definition of "easiest" there :erm:
Shadowspawn on 7/5/2014 at 13:46
I've done this lots of time. The most reliable way I've found is;
1.) Turn off patrol: True (There's a metaprop for this, which I can't remember at the moment.)
2.) Delete the AICurrentPatrol link
3.) Add a new AICurrentPatrol link to the place you want him to start patrolling. (which is on a new patrol path)
4.) Turn patrol : true back on.
This can be done easily with a conversation, but other triggers (AIWatchObj for example) can do it.
LarryG on 7/5/2014 at 13:55
Quote Posted by Yandros
Patrolling AI have an AICurrentPatrol link to the next TrolPt they will go to, so theoretically you could simply remove any current AICurrentPatrol links and then add one to a TrolPt in the new path.
Interesting idea. I'll give it a try and report back.
Quote Posted by Le MAlin 76
An AI who has not Patrol: True
But you add (with metatrap or in the end of conversation) a metatrap with "patrol:true"
You misunderstood my question. The point was to take an AI who is already patrolling (i.e. Patrol: Does Patrol = TRUE) and switch the AI patrol path it is using. Getting a non-patrolling AI to start patrolling I knew how to do. But thanks.
Quote Posted by Zontik
Just teleport his TrolPts to some new places. It may cause troubles in some particular cases, but why not to try the easiest solution first?
Well, because I need the original patrol path just where it is for other AIs to use. But that was an interesting thought. Thanks.
Quote Posted by Shadowspawn
I've done this lots of time. The most reliable way I've found is;
1.) Turn off patrol: True (There's a metaprop for this, which I can't remember at the moment.)
2.) Delete the AICurrentPatrol link
3.) Add a new AICurrentPatrol link to the place you want him to start patrolling. (which is on a new patrol path)
4.) Turn patrol : true back on.
This can be done easily with a conversation, but other triggers (AIWatchObj for example) can do it.
Ah! The voice of experience. I was sure someone had already done this. Thanks.
Yandros on 7/5/2014 at 18:28
Randy's 1) I think would be done using the M-DoesPatrol metaprop on him initially, removing it whilst doing the link magic, and then adding it back.
YcatX on 7/5/2014 at 18:54
Gotta love Randy!
I had rats hidden around that pulled blue room switches that controlled other blue room conversation rats that do all kinds of MetaProp changes.
R Soul on 7/5/2014 at 20:38
Blue rooms and conv rats are so 2001.