But every frame he needs to check whether he is within distance to use
the object capping key.
Jeffrey "botman" Broome wrote:

Tony "omega" Sergi wrote:

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


It's just more CPU efficient to only call a function when something has
changed, not during every frame.  :)

--
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



Reply via email to