follow path/ move object
Post Reply
Quote
Re: follow path/ move object
Posted by LIVEWIRE898 on Fri Dec 10th at 6:32am 2004


What I am trying to do is move an object from point A to point B using a func_button. I know how to tie the button in the O/I part. What I dont know is what entity, func or whatever I need to use to get my object/brush to move!! HELP ME PLEASE!!



Quote
Re: follow path/ move object
Posted by Nanodeath on Fri Dec 10th at 8:05am 2004


Um...if it's a linear move you can use func_movelinear, but otherwise you can use a func_tracktrain combined with path_track entities. BTW, you set the train's First Stop Target to the path_track where you want it to start, and you set where you want it to go next in the settings of the path_track entity.



Quote
Re: follow path/ move object
Posted by LIVEWIRE898 on Fri Dec 10th at 4:13pm 2004


With a func_movelinear... how do you set it to move on a trigger? I mean I dont see any flags in it to tell it to start inactive!!





Quote
Re: follow path/ move object
Posted by Nanodeath on Fri Dec 10th at 6:55pm 2004


It always starts inactive. You have to get another object to activate it with the Open output. Yes, unfortunately that func_movelinear site isn't complete. Here are the inputs that you might be interested in...(gotten from the in-Hammer help)

Open Move the brush to the end position (starting position + (move direction * move distance)).

Close Move the brush to the starting position.

SetPosition <string> Move the brush to a specific position between 0.0 and 1.0, where 0 is the starting position and 1 is the starting position + (move direction * move distance).






Post Reply