RaskHelstot.lua 579 B

123456789101112131415161718192021222324
  1. --[[
  2. Script Name : SpawnScripts/qeynos_combined02/RaskHelstot.lua
  3. Script Author : Rylec
  4. Script Date : 2021.02.19 10:02:38
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. SetPlayerProximityFunction(NPC, 20, "InRange")
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. end
  14. function respawn(NPC)
  15. spawn(NPC)
  16. end
  17. function InRange(NPC, Spawn)
  18. FaceTarget(NPC, Spawn)
  19. PlayFlavor(NPC, "", "Welcome to the Elddar grove, young one. Enjoy the shelter which the trees provide.", "", 0, 0, Spawn)
  20. end