//the table in your house holds the variable "di" //in create event for obj_table global.di = 0
//collision with obj_player event for obj_diamond //it just has a timeline so that after 1 second it destroys itself
//collision with obj_diamond for obj_player global.di += 1
//collision with obj_player event for obj_gate
if global.di = 1{
instance_destroy()
}
my problem is the gate wont destroy itself
please help!
Edited by Quazarr, 12 March 2012 - 02:43 AM.











