Page 1 of 1

Patrols, doors, keys, *sigh*

Posted: Wed Oct 02, 2002 2:55 am
by Max-Violence
Anyone know how to make an AI patrol actually USE keys?

Y'see, I've got these doors in my map that I want a patrol to be able to open the doors and walk thru 'em (got that workin'), but I also want the doors locked.

So, I just TN'd (that's "tag named," in case you were wondering wtf I was sayin') all the doors as CentralDoors, made a key with the same TN, added the key to the patrol's inventory from within the map editor (so far so normal), and set up the actor's patrol WP's.

Well, it just so happens that the patrol isn't smart enough to know he has the key to the locked door(s). He just stands on front of the "open door" waypoint that's right in front of the door to be entered thru. YES, I'm sure the key "works" - double-checked that myself

So, my question is this: How does one make an AI actor know he/she/it can unlock a door with a key? Er, IS it possible? I don't want to have to resort to triggers, but if I have to... eh... phooey...

Posted: Wed Oct 02, 2002 3:18 am
by Jimmyjay86
I get the impression that multiple items with the the same TN cause a problem with the game. I know this causes a problem with triggers. So the patrol will not lock the door again when using the key on the dor a second time? I tried to use a trigger to relock a door with the OSS in Quartz and wasn't successful so maybe there is a bug in the game preventing this.

Posted: Wed Oct 02, 2002 4:26 am
by Max-Violence
Hmm... good idea...

I think triggers will have to be used even if we can get the actor to unlock it in the first place, which isn't likely.

Posted: Wed Oct 02, 2002 4:30 am
by Jimmyjay86
Well there shouldn't be any problem with the actor using a key with just waypoints. I thought that is what Endocore did in Boscops. I don't think he used triggers. I almost thought he had the actor relock the door too but I could be mistaken.

Posted: Wed Oct 02, 2002 4:38 am
by Max-Violence
I'll have to email him, won't I? :D

Posted: Wed Oct 02, 2002 4:42 am
by Jimmyjay86
Email him or open up the map to find out. It was in the bowling alley, the bartender went downstairs by the cultists.