View Single Post
  #20  
Old 01-28-2006, 11:21 PM
jake13jake jake13jake is offline
Former Classic Staff
jake13jake's Avatar
Join Date: Dec 2002
Location: Northwest Vermont
Posts: 1,452
jake13jake will become famous soon enough
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.

Last edited by jake13jake; 01-28-2006 at 11:37 PM..