View Single Post
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 07-18-2010 , 20:43   Re: No Double Push - Set return time (wait) of buttons (works for any game)
Reply With Quote #5

Update: I tested the code on both steamworks and sunnyday, and the buttons are definitely being reset after the values are being assigned. However, I'm not sure if it's after round_start or if it's being done every game frame. A stripper dump shows that the values have already been reset after a round has been started, so I'm inclined to believe it's being done per frame. Using Stripper: Source, however, I'm able to set all wait values to "-1" when the map loads and those values remain. So perhaps we should look for a function that fires prior to OnMapStart?

According to dirka_dirka, round_start and round_start_post_nav fire once prior to OnMapStart.
__________________

Last edited by thetwistedpanda; 07-18-2010 at 20:47. Reason: Language fail.
thetwistedpanda is offline