Hi,
In a step of an object I was seeing
[live][16:14:27] Runtime error: obj_Boulder:Step_0[L2,c15] obj_Boulder:Step_0[L2,c15] Can't add number and undefined
The offending code was this:
verticalSpeed += global.gravity;
If I replace the global variable by some literal value the error goes away. The global variable in question is declared in an initialisation script but even if I do a show_debug_message it is being shown as undefined. Is there some problem with global variables being used in "live" scripts?