Making a button trigger a push?

Making a button trigger a push?

Re: Making a button trigger a push? Posted by David from IKG on Wed Feb 23rd 2005 at 1:34am
David from IKG
60 posts
Posted 2005-02-23 1:34am
60 posts 6 snarkmarks Registered: Jan 16th 2005
How do I make a button, trigger a push, since there is no target? Also, how do I make it so that the push doesnt work untill its triggered? Thanks.
Re: Making a button trigger a push? Posted by RaPtoR on Wed Feb 23rd 2005 at 6:49am
RaPtoR
212 posts
Posted 2005-02-23 6:49am
RaPtoR
member
212 posts 61 snarkmarks Registered: Jan 1st 2005 Location: Sweden
Use the outputs. Click the outputs tab in the properties window, and select a target, an action and when it will be fired.
Re: Making a button trigger a push? Posted by David from IKG on Wed Feb 23rd 2005 at 11:00pm
David from IKG
60 posts
Posted 2005-02-23 11:00pm
60 posts 6 snarkmarks Registered: Jan 16th 2005
i dont know how to make my own outputs. can someone tell me what to put? i hate asking such noob questions but i really need to learn.

update: i think i got it. ill try it now.
Re: Making a button trigger a push? Posted by WILDMAN on Wed Feb 23rd 2005 at 11:39pm
WILDMAN
11 posts
Posted 2005-02-23 11:39pm
WILDMAN
member
11 posts 1 snarkmarks Registered: Feb 23rd 2005
I tried it and ran it on my map. Heres the screenshot of the outputs on the button, the button being named button1 and the trigger_push being named push. Here, each time you press the button, it turns on/off. Just change the toggle to enable if you want it to always stay on I think.

http://tinypic.com/1tamj9 (Output named OnPressed, targets entities named: push, via this input: toggle) in case the screenie doesnt work.

Theres the screenshot. To make the trigger_push not work until triggered, just check the yes in the Start Disabled property of it. Everything should work fine.
Re: Making a button trigger a push? Posted by David from IKG on Wed Feb 23rd 2005 at 11:58pm
David from IKG
60 posts
Posted 2005-02-23 11:58pm
60 posts 6 snarkmarks Registered: Jan 16th 2005
lol thats so weird. i just made this http://img192.exs.cx/img192/6810/buttonoutput1fi.jpg and it didnt work. ill try toggle. you named it the same as i did lol.

update: it works! thanks everyone!