View Single Post
  #1  
Old 09-02-2008, 02:35 AM
Understood Understood is offline
Registered User
Join Date: Jun 2006
Location: Orlando, FL
Posts: 120
Understood is on a distinguished road
playertouchsme problem

I'm working on an event where basically you're falling down a shaft and you have to dodge these spikes that randomly place themselves while you fall...However, I used onPlayerTouchsme() without knowing the player had to be facing the object z.z

The player needs to die when touching the spike, regardless of their direction! Is there anything I can do to get around this?

PHP Code:
function onPlayerTouchsme()
{
  if (
player.< (this.1.5))
  {
    
this.killPlayer();
  }

Reply With Quote