Hmm. I'm not sure what the problem is, but try instead turning the player's enable_detect flag on and then if(event_type == event_detect && you == whoever) { do your stuff; }, within the player's event. I don't know if it'll help but it may.