Hi, can someone help me with making a gate, that opens using a button? I’ve been searching a while on this forum but I didn’t find anything usefull, I tryed it myself with a script_mover but it didn’t work.
Button question
well I managed to make the gate moving by standing in the func_invisible_user and pressing the F (function) button. But the problem is that I want my door to go up, nog right or left, what angle should I use then? And also: the switch to open the door isn’t moving, I made my gate and the switch targetname: opengate
and the func_invisible_user : target: opengate. So the gate is moving in the wrong direction, and the switch isn’t moving at all.
okay I got everything working except for the switch that still isn’t moving, now I want to add sounds, I targetted a target_speaker to my func_invisible_user, but I need to use 2 sounds, 1 when the gate opens, and 1 when the gate closes. any help?
thx
You could use func_button for a moving switch. If you don’t have it already, you need to update your entities. http://splashdamage.com/index.php?name=pnPHPbb2&file=viewtopic&t=6243
You’ll either need a script or a target_delay to trigger the closing sound.
but i’ll try , thx