I have 3 objects; obj_controller, obj_block_move_left and obj_block_move_right.
In the Create event of obj_controller I have the following Execute code:
// Speed of moving blocks
global.moveblock = random_range(1,2);
In the Create events of the other two objects I have the Move Fixed drag-and-drop icon, with "Speed: global.moveblock"
It runs fine in 8.1 (in which it was originally written in), but in Studio I get the following error:
#################################################################
VMError!! Occurred - Push :: Execution Error - Variable Get moveblock
at Object.obj_block_move_left.Create.0 (line -1) - <unknown source line>
#################################################################
Anyone know what's happening?
Edited by nickydude, 16 April 2012 - 11:47 AM.











