Patrols, doors, keys, *sigh*
Posted: Wed Oct 02, 2002 2:55 am
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...
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...