Those are the events you need, player has line of sight of floor, it picks the instance of floor that is true. Then as a sub event you can say if floor.var = X then do actions, it uses the floor that was picked earlier and therefore its instance variable.