D
Daniel O'Brien
Guest
Hi all,
I've been having some issues with instance_create_layer() and wanted to see if anyone else was also experiencing issues. Straight off it appears that there is a small typo on the documentation located here whereby the 'obj' for the final argument is written down as 'y'. The bigger issue i'm having is that I have 4 properties stored in an array which i'm trying to pass to the function like so:
instance_create_layer(array[0], array[1], array[2], array[3]);
However, according to the error I get, for some reason gamemaker is trying to create an object using the X value located in array[0] and is therefore coming up with the error regarding how it couldn't create an instance with the ID of <xvalue>. Is anyone else experiencing this issue or is it just me?
Thanks in advance.
I've been having some issues with instance_create_layer() and wanted to see if anyone else was also experiencing issues. Straight off it appears that there is a small typo on the documentation located here whereby the 'obj' for the final argument is written down as 'y'. The bigger issue i'm having is that I have 4 properties stored in an array which i'm trying to pass to the function like so:
instance_create_layer(array[0], array[1], array[2], array[3]);
However, according to the error I get, for some reason gamemaker is trying to create an object using the X value located in array[0] and is therefore coming up with the error regarding how it couldn't create an instance with the ID of <xvalue>. Is anyone else experiencing this issue or is it just me?
Thanks in advance.