Does anyone have any tips on avoiding game crashes while making your own triggers? I've had a couple of really random game crashes while testing my map without knowing for sure the cause.
Also - what is a memory leak? Just a lost bit of memory that can't be overwritten or re-used?
Two questions on variables:
-Should you always set your local variables = null at the end of your function?
-Do the global variables in the GUI get overwritten when they get set equal to something, or should you always null those before overwriting them? Is it better practice just to always clear your global variables before re-using them to avoid "leaks"?
I've got a spell being used that is allowed to run in multiple instances using local variables, so if I don't clear those variables at the end of the instance, will that cause a memory leak?
Maybe refer me to a guide to read on it, if you know of one.
Thanks for any help : )
Also - what is a memory leak? Just a lost bit of memory that can't be overwritten or re-used?
Two questions on variables:
-Should you always set your local variables = null at the end of your function?
-Do the global variables in the GUI get overwritten when they get set equal to something, or should you always null those before overwriting them? Is it better practice just to always clear your global variables before re-using them to avoid "leaks"?
I've got a spell being used that is allowed to run in multiple instances using local variables, so if I don't clear those variables at the end of the instance, will that cause a memory leak?
Maybe refer me to a guide to read on it, if you know of one.
Thanks for any help : )