NPC Collision detection
ModCS.Npc.TouchLeftWall()
ModCS.Npc.TouchLeftWall(npc)
Returns true if npc
is touching a left wall.
ModCS.Npc.TouchRightWall()
ModCS.Npc.TouchRightWall(npc)
Returns true if npc
is touching a right wall.
ModCS.Npc.TouchCeiling()
ModCS.Npc.TouchCeiling(npc)
Returns true if npc
is touching a ceiling.
ModCS.Npc.TouchFloor()
ModCS.Npc.TouchFloor(npc)
Returns true if npc
is touching a floor.
ModCS.Npc.TouchSlopeRight()
ModCS.Npc.TouchSlopeRight(npc)
Returns true if npc
is touching a right slope.
ModCS.Npc.TouchSlopeLeft()
ModCS.Npc.TouchSlopeLeft(npc)
Returns true if npc
is touching a left slope.
ModCS.Npc.TouchTile()
ModCS.Npc.TouchTile(npc)
Returns true if npc
is touching any type of collision tile.
ModCS.Npc.TouchPlayer()
ModCS.Npc.TouchPlayer(npc)
Returns true if npc
is touching the player.