Making a button trigger a push?
Post Reply
Quote
Re: Making a button trigger a push?
Posted by David from IKG on Wed Feb 23rd at 1:34am 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.



Quote
Re: Making a button trigger a push?
Posted by RaPtoR on Wed Feb 23rd at 6:49am 2005


Use the outputs. Click the outputs tab in the properties window, and select a target, an action and when it will be fired.
[addsig]




Quote
Re: Making a button trigger a push?
Posted by David from IKG on Wed Feb 23rd at 11:00pm 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.





Quote
Re: Making a button trigger a push?
Posted by WILDMAN on Wed Feb 23rd at 11:39pm 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.

[addsig]



Quote
Re: Making a button trigger a push?
Posted by David from IKG on Wed Feb 23rd at 11:58pm 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!






Post Reply