Dmi7ry
Member
Hi there.
I think will be useful support for destroy multiple lists/etc, like from:
to:
and same for other data structures.
I know that it's easy to do like this:
but if GMS will support this, it will be useful.
I think will be useful support for destroy multiple lists/etc, like from:
Code:
ds_list_destroy(enemies);
ds_list_destroy(items);
ds_list_destroy(food);
Code:
ds_list_destroy(enemies, items, food);
I know that it's easy to do like this:
Code:
for (var i=0; i<argument_count; i++)
{
if ds_exists(ds_type_list, argument[i])
ds_list_destroy(argument[i]);
}