14.03.2013, 17:58
If a variable changes, you KNOW when it changes (because YOU changed it with an operation) so why would you want to check thousands of times a second if it was changed? Just call a function to set the variable, and in that function do whatever.
EDIT: @LarzI beat me by a max of 15 seconds :/
EDIT: @LarzI beat me by a max of 15 seconds :/