Quote:
|
Originally Posted by Stefan
Right, do setshape and use onPlayertouchsMe()
|
Stefan, onPlayertouchsMe() only works when:
1. the player moved in the direction of the npc
2. the player's 2x2 shape offsets or overlap the NPC
3. the playerdir is facing towards the NPC or sideways away from that.
Problems:
1. no way to reciprocate it when an NPC moves to touch the player
2. the player might be moving backwards.
Level links present the same problem as Problem #2, except more exclusively they only link when the player is facing them.
I'm happy that I've at least seen some great improvements in playertouchsme.