Fixer90
Member
The syntax in the documentation for array_create is array_create(size, [value]);
The [value] part lets me set a default value for every variable in the array. However, despite the documentation clearly saying I can do this, I get an error when I try to put something in the value slot. I even copied over the documentation's example perfectly (instance_array = array_create(100, noone);) - still an error.
I don't know if this was changed in an update or what; but I'd like to know if there's at least a way around this.
The [value] part lets me set a default value for every variable in the array. However, despite the documentation clearly saying I can do this, I get an error when I try to put something in the value slot. I even copied over the documentation's example perfectly (instance_array = array_create(100, noone);) - still an error.
I don't know if this was changed in an update or what; but I'd like to know if there's at least a way around this.