2020-04-04, 09:37 PM
(2020-04-04, 09:26 PM)Ezio_Auditore Wrote: Seems like you're messing up with some IDs. Maybe somewhere in your script you're using functions for deleting specific objects for any reason, isnt it? Do you currently check and reset the variables linked to those objects everytime you delete them?
I mean, do you do something like this?
Code:if(object_id != -1) DestroyDynamicObject(object_id), object_id?= -1;
If not and if youre using functions such as?DestroyDynamicObject or CreateObject, its most likely that?your problem is due to this bad handling. Everytime youre deleting something, you must first check the variable and then reset it after you have successfully deleted the item.
I will try that and let you know if that helped.