Difference between revisions of "User:DavidJCobb/Stack dumping"

m
imported>DavidJCobb
imported>DavidJCobb
Line 21: Line 21:
*** If ''x'' events occur within ''n'' seconds of each other, you will process all of those events just one time.
*** If ''x'' events occur within ''n'' seconds of each other, you will process all of those events just one time.
** Don't use Utility.Wait() in these event handlers. It will by definition make your event handlers take longer to execute.
** Don't use Utility.Wait() in these event handlers. It will by definition make your event handlers take longer to execute.
** Minimize the amount of times you access shared resources (such as the player), in order to shorten your event handler's overall execution time.
*** Remember that your own resources can be shared. If you have a magic effect that coordinates itself via a quest, anyone with that magic effect will be sharing that quest.


=== Events that can trigger large numbers of suspended stacks ===
=== Events that can trigger large numbers of suspended stacks ===
Anonymous user