brownlee219
Member
So I just updated to GM 2 version 2.2.2 and now I get this error about DoConv :1: illegal undefined/null use. I've never seen this error before and I can't figure it out.
___________________________________________
############################################################################################
FATAL ERROR in
action number 1
of Step Event0
for object obj_controller:
DoConv :1: illegal undefined/null use
at gml_Object_obj_controller_Step_0 (line 376) - with unit
############################################################################################
--------------------------------------------------------------------------------------------
stack frame is
gml_Object_obj_controller_Step_0 (line 376)gml_Object_obj_controller_Step_0 (line 376)
Here is the code:
if ds_list_size(global.control_group_1) > 0
{
//LOOP THROUGH THE GROUP TO SELECT THEM ALL
for (i = 0; i <= list_size; i += 1)
{
unit = ds_list_find_value(global.control_group_1, i);
with unit
{
selected = true
}
}
}
Do you see what the problem is? Thanks!
___________________________________________
############################################################################################
FATAL ERROR in
action number 1
of Step Event0
for object obj_controller:
DoConv :1: illegal undefined/null use
at gml_Object_obj_controller_Step_0 (line 376) - with unit
############################################################################################
--------------------------------------------------------------------------------------------
stack frame is
gml_Object_obj_controller_Step_0 (line 376)gml_Object_obj_controller_Step_0 (line 376)
Here is the code:
if ds_list_size(global.control_group_1) > 0
{
//LOOP THROUGH THE GROUP TO SELECT THEM ALL
for (i = 0; i <= list_size; i += 1)
{
unit = ds_list_find_value(global.control_group_1, i);
with unit
{
selected = true
}
}
}
Do you see what the problem is? Thanks!