another thing, im working on an objective system for multiplayer maps. its highly
> cusomizable and u can have as many objectives as you want and set different > dependancys if other objectives need completion status before others can be > triggered. as well as custom sounds, messages, times and so on for each objective. > everything at this point works great except for one thing. when u are using an > objective, there needs to be a progress counter. basically it just shows the time > remaining for that objective. it works except you have to keep hitting the use key > really fast for it too work. is there anyway to have my entities use function to > keep being called if the button is held down. it seems the use function is only > being triggered 1 time everytime the button is pressed. ive looked all over and > i cant see how u would make it do that. any help???
Don't use the USE function.
Bind a key to your command, for example "bind x capture".
In ClientCommand() look for the "+capture" and "-capture" commands. "+capture" will be sent when the key is depressed. "-capture" will be sent when the key is released.
Start the timer when "+capture" is received and keep it running. Stop the timer when "-capture" is received (or when the timer reaches zero).
-- Jeffrey "botman" Broome
_______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

