If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
So I'm working on a map ATM and I have some ogres patrolling a hall. They pass by a door, and the door opens as they pass. I want the door to open ONLY for the player. Is this possible?
By default doors will automatically open when a player or monster is near, and close when they leave.
As is --- Not really, no. Making a button open the door would be your best bet or requiring a key to open the door.
Quakeone.com - Being exactly one-half good and one-half evil has advantages. When a portal opens to the antimatter universe, my opposite is just me with a goatee.
So while you guys all have to fight your anti-matter counterparts, me and my evil twin will be drinking a beer laughing at you guys ...
Yes it's totally possible if you give your func_door a health value of more than 0 it will only open when shot or hit with an axe. Thus allowing your monsters to patrol near it without opening it.
make a trigger_multiple around the door that triggers it (these won't trigger from monsters, but will still trigger from players).
or just add a button next to it for the player to use.
or just make a button into the 'door' itself. it'll probably try closing on the player, so have fun with that.
As Spike mentioned,
Give your door a targetname, say "dr1"
Then create a trigger_multiple and give it a target "dr1"
Have the trigger_multiple stick out just far enough either side of the door so that you trigger it as you get close,
but obviously don't have your patrolling ogres touch it.
Why don't you want the ogres to trigger it? If it is because you want them to be a surprise to the player, you could have them teleport in when the player passes through the door. That's quite easy to set up if that is what you are after.
Ogre in a ogre-sized box with a func_teleport trigger.
Func_teleport's targetname same as trigger_multiple's target.
Info_teleport_destination sets where the Ogre will teleport to.
Info_teleport_destination's targetname same as Func_teleport's target.
Leave enough space around the Info_teleport_destination so that your creature can teleport in safely.
Comment