CryptidProductions
Member
The code within the outside room event
The object falling out the bottom of the screen because it was shot works correctly to destroy the instance and set the variable
The object flying off the top because it wasn't shot and absolutely nothing happening. Variable not set and instance still active
The duck you see on screen is Duck_OBJ, not the Bot_Right instance in question.
Code:
///Destroy upon leaving room
//define if dead or escaped
if !image_speed = 0{
Control.bot_right = "escaped";
}
else{
Control.bot_right = "destroyed";
}
//goodbye
instance_destroy ();
The object flying off the top because it wasn't shot and absolutely nothing happening. Variable not set and instance still active
The duck you see on screen is Duck_OBJ, not the Bot_Right instance in question.