Elevator Stop AND a go go

Avatar
Tertty Curlyfries
5 Posts
Posted Mar 19, 2014
Ahoy! I'm Tertty Curlyfries a new member AND A HUGE Portal fan! I've just started mapping in Hammer so I apologize in advance if I ask too many questions. Now Gentlemen (and Gentleladies for that matter) I'm trying to get an elevator at the start of the test to go up like it normally does, stop for a couple of seconds, then start back up. How would I go about doing this? Thanks in advance!
Advertisement
Registered users don't see ads! Register now!
Avatar
TeamSpen210
608 Posts
Posted Mar 19, 2014
Replied 43 minutes later
Func_movelinears have a setPosition input, which will make it move to a fraction of the set distance (0=to starting, 1=to end position, 0.5=halfway, 2= twice the distance, -1=the distance in the opposite direction, etc). What you'd want is to send a SetPosition input with a parameter 0.5 or so, then a SetPosition input with a parameter of 1 after a time delay. (The speed parameter is in hammer units per second.)
Avatar
josepezdj
2,386 Posts
Posted Mar 20, 2014
Replied 12 hours later
You can also use a func_tracktrain (parenting your elevator prop to it) and several path_tracks; you can place a path_track right at the height you want a given event to happen, like a temporal stop, and use the path_track's output OnPass to stop the train there.