03-08-2010, 07:33 PM
(This post was last modified: 03-08-2010, 07:43 PM by Pulverizer.)
Triggers always evaluate condition every 0.5s. The test is simple:
Make trigger, condition:
call{hint format["%1", time];false}
Just realized two things from this:
A trigger that is set to activate once, unnecessarily evaluates the condition ad infinitum even after being triggered once. To save performance, you can deleteVehicle triggerName. Secondly, it doesn't trigger the deactivated event when its condition becomes false again.
Make trigger, condition:
call{hint format["%1", time];false}
Just realized two things from this:
A trigger that is set to activate once, unnecessarily evaluates the condition ad infinitum even after being triggered once. To save performance, you can deleteVehicle triggerName. Secondly, it doesn't trigger the deactivated event when its condition becomes false again.