Thread: onwall2
View Single Post
  #18  
Old 02-06-2002, 04:53 AM
TDK_RC6 TDK_RC6 is offline
Registered User
TDK_RC6's Avatar
Join Date: Jan 2002
Location: Earth
Posts: 0
TDK_RC6 is on a distinguished road
Quote:
Originally posted by LiquidIce00


i dislike onwall.
Even when I do arrayed values like .25,.5 and so on and do loops checking it, it still doesnt work very well. Onwall2 saves that trouble.
then use this, this is real great onwall detection

NPC Code:

onwall(playerx+1.5+vecx(playerdir)*2,playery+2+vec y(playerdir)*2)

__________________
Staff on Renegade


email: [email protected]
aim: papivicente
Reply With Quote