Nathan Laing
Member
Greetings,
The following code is called from say, "object A". There are other objects, and they are children of the object, "obj_parent".
Does the code below create a ds_list inside each child object? Or, as I would like to have happen, is only ONE ds_list created inside the calling instance, "object A"?
The following code is called from say, "object A". There are other objects, and they are children of the object, "obj_parent".
Does the code below create a ds_list inside each child object? Or, as I would like to have happen, is only ONE ds_list created inside the calling instance, "object A"?
Code:
with (obj_parent)
{
if (owner_id == other.id)
{
ds_list_add(other.some_list, id);
}
}