Exavior
Newbie
- Joined
- Nov 27, 2004
- Messages
- 105
- Reaction score
- 0
I am in the process of making an elevator that can go to any one of 3 floors, depending on which button the user hits.
The new func_tracktrain appears to only be able to go from one track point to another. For example if you have 3 points, you can move from point 1 to point 2, but you can not go from point 1 to point 3. And the only movement control appears to be move forward or move backward, not move to target x.
In the past (for HL1) I had a great elevator that could go to any floor I desired, by using a "trigger_changetarget" which would allow me to change the target track point for my elevator. That way I could tell the elevator to go directly to floor 4, floor 1, etc. The entity "trigger_changetarget" is now obsolete in HL2, but I've yet to find what it has been replaced by.
Anyone know how to emulate the functionality of a trigger_changetarget, or how to make an elevator go to a specific location/track point rather than moving forward/backward one track point at a time?
Thanks!
/Exavior
The new func_tracktrain appears to only be able to go from one track point to another. For example if you have 3 points, you can move from point 1 to point 2, but you can not go from point 1 to point 3. And the only movement control appears to be move forward or move backward, not move to target x.
In the past (for HL1) I had a great elevator that could go to any floor I desired, by using a "trigger_changetarget" which would allow me to change the target track point for my elevator. That way I could tell the elevator to go directly to floor 4, floor 1, etc. The entity "trigger_changetarget" is now obsolete in HL2, but I've yet to find what it has been replaced by.
Anyone know how to emulate the functionality of a trigger_changetarget, or how to make an elevator go to a specific location/track point rather than moving forward/backward one track point at a time?
Thanks!
/Exavior