View Single Post
Old 05-24-2006, 05:09 AM   #2
{NJO}*Dark
Rookie
 
{NJO}*Dark's Avatar
 
Join Date: Feb 2004
Location: cyberspace.co.uk
Posts: 149
you need to make the piece that will move into a func_static with an origin brush, then give it the key/value script_targetname/whatever. next you need to place two tag_refs in the places you want it to move to, give them targetnames of left/right or something like that.
then you need to make two scripts, 1 for one moving it each way. each script will look like this:
affect ( whatever, FLUSH )
move ( tag( "left", ORIGIN ), time taken to get there )

then as long as you have two buttons, or two triggers (one for each of the directions) it should work
email me if you have any problems, j@higgs0029.freeserve.co.uk


~Dark
{NJO}*Dark is offline   you may: quote & reply,