X
xpii
Guest
Hello, I'm the first to use this community and I have a question about "instance_create_layer".
"instance_create_layer" requires object name as argument 4.
If I simply write the object name, it works.
However, I write the return value of my script, it doesn't work and I get the following code error.
>> instance_create_layer argument 4 incorrect type (undefined) expecting a Number (YYGI32)
How can I write the return value of a script in "instance_create_layer"?
I'm sorry about my poor English.
"instance_create_layer" requires object name as argument 4.
If I simply write the object name, it works.
However, I write the return value of my script, it doesn't work and I get the following code error.
>> instance_create_layer argument 4 incorrect type (undefined) expecting a Number (YYGI32)
How can I write the return value of a script in "instance_create_layer"?
I'm sorry about my poor English.