Why can't he use the use function? All kinds of mods use the use function, hell flf uses the use key.
He's just neglecting to set FCAP_CONTINUOUS_USE on his entity, which I told him about in irc 4 hours ago. He apparently didn't understand :P -omega http://www.frontline2.com > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:hlcoders- > [EMAIL PROTECTED] On Behalf Of Jeffrey "botman" Broome > Sent: October 30, 2003 5:23 PM > To: [EMAIL PROTECTED] > Subject: Re: [hlcoders] objective system > > Jay Paul wrote: > > 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 > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

