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)