Re: Doors triggered by a button
Posted by Mike3006 on
Thu Dec 23rd 2004 at 6:34pm
22 posts
12 snarkmarks
Registered:
Dec 20th 2004
Occupation: Student
Location: UK
Hi all (thx for all who posted feedback on my map :smile: )
How would i make a button which when pressed opens a door? I have a
counter which i want to put a secret button underneith, which when
pressed unlocks the backdoor (ala Soldier Of Fortune) but i have no
idea how you make parented objects, all i know how t do is make a
"func_door_rotating"
what kind of entity should my button me etc?
Re: Doors triggered by a button
Posted by Tracer Bullet on
Thu Dec 23rd 2004 at 6:43pm
2271 posts
445 snarkmarks
Registered:
May 22nd 2003
Occupation: Graduate Student (Ph.D)
Location: Seattle WA, USA
It's got nothing to do with "parenting".
All you do is make the button (func_button?) and make it target your door.
1. click on the button and go to the outputs tab.
2. Click add, and fill in the information. You will be specifying the event that causes the trigger to fire (eg "OnPress"), the name of the object to target, and what should happen to that object (eg open). I may be missing some of the fields you need, but I'm sure you'll figure it out.
Re: Doors triggered by a button
Posted by Mike3006 on
Thu Dec 23rd 2004 at 7:23pm
22 posts
12 snarkmarks
Registered:
Dec 20th 2004
Occupation: Student
Location: UK
ok, it works but, once i press my button it dissapears and the door
appears to be unlocked to begind with (think ive resolved that by
ticking the "starts locked" box in the door settings), how do i resolve
dissapearing button problem?
Re: Doors triggered by a button
Posted by kingtoke on
Thu Dec 23rd 2004 at 7:35pm
56 posts
26 snarkmarks
Registered:
Nov 25th 2004
Location: uk
theres a flag on the button that says not to move :smile:
Re: Doors triggered by a button
Posted by Mike3006 on
Thu Dec 23rd 2004 at 7:37pm
22 posts
12 snarkmarks
Registered:
Dec 20th 2004
Occupation: Student
Location: UK
thx guys, fixed it, although, you shouldnt really be helping me as my map will be teh winner of the comp :smile: (in my dreams)
Re: Doors triggered by a button
Posted by kingtoke on
Thu Dec 23rd 2004 at 8:45pm
56 posts
26 snarkmarks
Registered:
Nov 25th 2004
Location: uk
well im only mapping for CSS so mine won't count :smile:
Re: Doors triggered by a button
Posted by Mike3006 on
Thu Dec 23rd 2004 at 9:10pm
22 posts
12 snarkmarks
Registered:
Dec 20th 2004
Occupation: Student
Location: UK
i want my button to Unlock AND open in one push of the button, can i do
that? so far ive only managed to work wheny uo press it twice (once to
unlock, and once to open) can't i string paramters like;
OnPressed : Unlock, Open ??
Re: Doors triggered by a button
Posted by Rof on
Thu Dec 23rd 2004 at 10:49pm
Posted
2004-12-23 10:49pm
Rof
member
210 posts
41 snarkmarks
Registered:
Dec 3rd 2004
Add a second output of the func_button, also targeting the door. Add a
slight delay (0.1 seconds or something) to be sure the "unlock" happens
before the "open".
Re: Doors triggered by a button
Posted by Tracer Bullet on
Fri Dec 24th 2004 at 1:03am
2271 posts
445 snarkmarks
Registered:
May 22nd 2003
Occupation: Graduate Student (Ph.D)
Location: Seattle WA, USA
Here's a tip: doors are bad for DM.