Hi everyone, I have been using this website for support for months but finally have to ask a question so I created an account!
I am struggling to get the following scenario to work,
There is a useable valve behind a pane of glass.
The player is to smash the glass, and then the valve can be used.
The valve is used by holding the use button, letting go will allow it to spin back to the beginning.
Once the valve is fully rotated, it will lock into place, and then trigger another event, but only once the valve is fully rotated.
The idea here is to have the player attempt to fully spin the valve while under attack, so that turning away will allow it to spin back, hopefully being tense and not annoying
So far, the main issues are:
A momentary_rot_button allows the valve to work like above, but if I get it to trigger something in the target field this will be triggered the second it is used instead of when it has completed it's rotation.
A func_rot_button will begin spinning on it's own once used and just complete the cycle itself, but will trigger something at the end of rotating. Not what I am looking for though!
And also, only allowing this button to be used when the glass is broken. I know it is to do with master entites but I am unsure of how to get this to work.
I am also using spirit of half life 1.5 if this helps!
Hope you guys can help!
If you want to check out my mod as well, I am updating frequenty here http://www.moddb.com/mods/half-life-echoes