getDistanceToPlayer Lua export - VanaDev/Vana GitHub Wiki

getDistanceToPlayer

Script Type(s): NPC Scripts

Category: Miscellaneous Exports

Return(s):

  • distance: number
Argument(s):
  • N/A
Notes: Returns the distance from the NPC to the player.
⚠️ **GitHub.com Fallback** ⚠️