Disabling buttons
Hey there guys I have what may seem like an idiotic question but here gose.
I have been working a lot with long and complicated button sequences, what I mean is when you press a button the button will do something for example:
?OnDamage / sound / playsound? at time 0.00
Then after that it will do the next thing on list:
?OnDamage / sound2 / playsound? at time 5.00
Anyhow the sequence I am doing takes over a minute to complete and if it is interrupted, it begins to do it over again before it?s done and messes things up really badly. What I have been trying to do is make the button unusable for the duration of the sequence, so it can?t be messed up. Ideally I would like the button to be pressed (or shot) and if it is pressed again it will have no affect. I have tried to have a separate button to lock the first one but it doesn?t work, and there are no enable/disable options on it. Anyone know how to do this without the help of a multisouce (because hl2 doesn?t have em)?
Thanks