View Single Post
  #1  
Old 05-30-2014, 06:20 PM
i8bit i8bit is offline
Registered User
Join Date: Jul 2013
Posts: 146
i8bit is an unknown quantity at this point
Finding players in Z range

PHP Code:
  triggeraction(player.x + 1.5 + vecx(player.dir) * 1.5, player.y + 2 + vecy(player.dir) * 1.5, "Lighthurt", player.dmg); 
How do I also do a check to make sure the player in front is within a certain z-range?
Reply With Quote