button problems

button problems

Re: button problems Posted by kdhunt2000 on Sat Jan 22nd 2005 at 5:24am
kdhunt2000
98 posts
Posted 2005-01-22 5:24am
98 posts 20 snarkmarks Registered: Dec 19th 2004 Location: USA
ok, I am such a bad mapper as everyone knows anyway... ok, I made a lamp (which took me forever to make because I suck at mapping!) and turned it into a func button, my first question is, how do I make the lamp like tilt forward (like a hidden switch kinda thing) and then go back after I press it. I tried to set the move direction or origin or what ever but all I got was this:

User posted image

so I dont want that, but I do want it to tilt. (it spawned like that, it didnt move like that, it owuldnt move).
Re: button problems Posted by kdhunt2000 on Sat Jan 22nd 2005 at 7:34am
kdhunt2000
98 posts
Posted 2005-01-22 7:34am
98 posts 20 snarkmarks Registered: Dec 19th 2004 Location: USA
plz help me!
Re: button problems Posted by Tracer Bullet on Sat Jan 22nd 2005 at 7:34am
Tracer Bullet
2271 posts
Posted 2005-01-22 7:34am
2271 posts 445 snarkmarks Registered: May 22nd 2003 Occupation: Graduate Student (Ph.D) Location: Seattle WA, USA
You ought to make these two seperate questions. I will answer the first one, as it is the most clearly stated.

You need a func_rot_button or func_button_rot or whatever they are called. It workes exactly the same way as a func_button except that it rotates about a specified axis by a specified angle. I havn't used one in source yet, so you'll have to figure out the rest. Of course, this entity may not even exist in the source engine.