Maybe show your current script of the 2 NPCs?
Should be as simple as this:
NPC 1
PHP Code:
function onCreated(){
this.level.obj1 = this;
}
function onPlayerTouchsMe(){
this.level.obj2.wasTouched();
}
public function wasTouched(){
this.hide();
}
NPC 2
PHP Code:
function onCreated(){
this.level.obj2 = this;
}
function onPlayerTouchsMe(){
this.level.obj1.wasTouched();
}
public function wasTouched(){
this.hide();
}