How do i make a func_brush apear with the press of a button

How do i make a func_brush apear with the press of a button

Re: How do i make a func_brush apear with the press of a button Posted by cricket50 on Mon Apr 14th 2008 at 5:27pm
cricket50
13 posts
Posted 2008-04-14 5:27pm
13 posts 1 snarkmarks Registered: Aug 5th 2006
Well the title pretty much explains it i want to be able to press this button and then the brush apears. I have no clue how to do this and i can't find a tutorial anywhere. I think it's pretty simple though.
Re: How do i make a func_brush apear with the press of a button Posted by Riven on Mon Apr 14th 2008 at 6:06pm
Riven
1640 posts
Posted 2008-04-14 6:06pm
Riven
Wuch ya look'n at?
super admin
1640 posts 1266 snarkmarks Registered: May 2nd 2005 Occupation: Architect Location: Austin, Texas, USA
Yea, it is. All you have to do after creating your func_brush and setting the "Start Disabled" keyvalue to "Yes", is to set your func_button to:

My Output> OnPressed
Target Input> Enable (your Target Entity will be your brush you want to appear).

So when you press the button it will reference the brush you want to appear, and it will instantly appear, texture and all.
Blog: www.playingarchitecture.net
LinkedIn: Eric Lancon
Twitter:@Riven202
Re: How do i make a func_brush apear with the press of a button Posted by cricket50 on Mon Apr 14th 2008 at 6:10pm
cricket50
13 posts
Posted 2008-04-14 6:10pm
13 posts 1 snarkmarks Registered: Aug 5th 2006
Yeah but how would i start it invisible and then make it visible with a button press.
Re: How do i make a func_brush apear with the press of a button Posted by fishy on Tue Apr 15th 2008 at 11:46am
fishy
2623 posts
Posted 2008-04-15 11:46am
fishy
member
2623 posts 1476 snarkmarks Registered: Sep 7th 2003 Location: glasgow
What do you think Riven just told you how to do? Make toast? :razz:
i eat paint
Re: How do i make a func_brush apear with the press of a button Posted by Riven on Tue Apr 15th 2008 at 3:58pm
Riven
1640 posts
Posted 2008-04-15 3:58pm
Riven
Wuch ya look'n at?
super admin
1640 posts 1266 snarkmarks Registered: May 2nd 2005 Occupation: Architect Location: Austin, Texas, USA
I sent cricket50 a PM about this (it currently says he hasn't read it yet though), but I did edit it at the same time he was posting his last comment. I misread him to say he wanted his brush to disappear not Appear. So it doesn't say "post last edited" because I fixed it fast enough. I hope he gets a chance to see though.
Blog: www.playingarchitecture.net
LinkedIn: Eric Lancon
Twitter:@Riven202