|
Post by bernzramalho on Sept 11, 2010 16:29:44 GMT
Hi, i searched but i dont found anything.
I want for example, i have 2 painels on the left with 2 buttons on the right with 3 buttons, i want to press 1 button on left and on the right the 3 buttons disappears, and when i press the other button on the left , on the right 3 buttons appear.
Can anyone help me?
P.S - Sorry for my bad english.
|
|
|
Post by therealguymins on Nov 13, 2010 2:25:37 GMT
Hi, i searched but i dont found anything. I want for example, i have 2 painels on the left with 2 buttons on the right with 3 buttons, i want to press 1 button on left and on the right the 3 buttons disappears, and when i press the other button on the left , on the right 3 buttons appear. Can anyone help me? P.S - Sorry for my bad english. Create a point_template and name the three buttons on the right with the same name. On the point_template, in template 1, put the name of the three buttons. Name the point_template. In the Outputs for a button on the left, we'll call it button 1, put OnPressed>NameOfThreeButtonsHere>Kill, and that button will delete them. On the other button,#2, do OnPressed>NameOfTemplate>ForceSpawn and it will make the buttons reappear. On button 2 you must also add OnPressed>Button2>Lock, so people can't repeatedly spawn buttons. On Button 1, add OnPressed>Button2>Unlock so you can let people spawn the buttons after you lock it. Hope that helped.
|
|
|
Post by Zeph on Nov 13, 2010 11:11:45 GMT
I'd do it like this attached map. The buttons just get locked/unlocked, but are invisible. Func_Brushes behind the buttons get disabled/enabled respectively as well, which form the visible part of the button that hides. Attachments:
|
|