2020-04-07, 02:33 PM
(2020-04-07, 11:38 AM)ChampDotChamp Wrote:(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 DestroyObject, 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.
Thank you so much. Now everything works !!
:)