View Full Version : pausing non-timer callbacks
vadrian
01-25-2005, 12:29 PM
i want to pause all the OTHER callbacks (keyboard, sid, etc) but keep the timers going. basically, i need all animations to continue (via timers) but I want to prohibit all user input for x seconds (i also need the tracking to continue as well). thanks
adrian
farshizzo
01-25-2005, 12:35 PM
Hi,
To disable a callback simply set the function to the value 0:#Disable key board events
viz.callback(viz.KEYDOWN_EVENT,0)Then to resume the callback set the function back to the original value:viz.callback(viz.KEYDOWN_EVENT,onkeydown)
vBulletin® v3.8.7, Copyright ©2000-2024, vBulletin Solutions, Inc.