instance_deactivate_all(notme)

notme = true / false

 

This function will stop all instances in the room from doing anything, that includes drawing itself, notme is asking if it shall stop the object that is performing the code also, this can be true or false.

 

Example

//to pause the game

if keyboard_check(vk_up) then

{

instance_deactivate_all(true);

}

else

{

instance_activate_all();

}

 

cityscape - Revision #1