Is there a function similar to ruby's "eval", where you have a string like "@object.property = value", and have it run that code?
eval-type function in GML?
Script SupportI think these two pretty much do what you want.
execute_string(str,arg0,arg1,...) Execute the piece of code in the string str with the indicated arguments.
execute_file(fname,arg0,arg1,...) Execute the piece of code in the file with the indicated arguments.
execute_string(str,arg0,arg1,...) Execute the piece of code in the string str with the indicated arguments.
execute_file(fname,arg0,arg1,...) Execute the piece of code in the file with the indicated arguments.
Oh, thanks hima.
Original thread: https://www.hbgames.org/forums/viewtopic.php?t=69449