E
Eisot
Guest
I have data in an ini file and it is read in to a variable. An "instance_create" is then called where the variable is in the place of the objects name. I am getting an "illegal type" error so I presume one can not do it this way.
Is that the correct conclusion?
The below code is in a script which is called in "room start" in a control object.
Is that the correct conclusion?
The below code is in a script which is called in "room start" in a control object.
Code:
ini_open("UHstats.ini");
saddle = ini_read_string("transport","saddle", "");
ini_close();
if (saddle != ""){
instance_create(375,403,saddle);
}