Recently i learned that some functions now supports structs, for example
instance_create_depth(0,0,0,obj_test,{ myNum: 0})
Using structs like these, GMLive spits out a compiler error, saying how it expected that one less argument
Code and asset live-reloading for GameMaker! · By
I’ll fix this in the next release, but for now you can use live_function_add to override the signature:
live_function_add("instance_create_depth(x, y, depth, obj, ?vars)", instance_create_depth);
live_function_add("instance_create_layer(x, y, layer, obj, ?vars)", instance_create_layer);