I have caterogire of objects, controllers and controled who each have a variable control which determines who they controll/who there controller is and a variable pos, 0 if controller, 1 if controlled.
Exemple: Controller is a button, Controlled is a door and they both have variable control of 1, which means they are associated. When the button is press, the door opens for 3 seconds. My probleme is how would I check all the mobs for all the ones pos of 1 and control of 1