HunterLatharForestdeep.lua 1.0 KB

12345678910111213141516171819202122232425262728293031
  1. --[[
  2. Script Name : SpawnScripts/WillowWood/HunterLatharForestdeep.lua
  3. Script Purpose : Hunter Lathar Forestdeep
  4. Script Author : Scatman
  5. Script Date : 2009.09.15
  6. Script Notes :
  7. --]]
  8. function spawn(NPC)
  9. SetPlayerProximityFunction(NPC, 10, "InRange", "LeaveRange")
  10. end
  11. function respawn(NPC)
  12. spawn(NPC)
  13. end
  14. function InRange(NPC, Spawn)
  15. PlayFlavor(NPC, "voiceover/english/hunter_lathar_forestdeep/qey_village05/100_hunter_woodelf_forestdeep_aoi_d409e2bd.mp3", "I don't know how he snuck past the patrols. If you approach slowly, he may let you touch him.", "", 1614740945, 3996136643, Spawn)
  16. end
  17. function LeaveRange(NPC, Spawn)
  18. end
  19. function hailed(NPC, Spawn)
  20. FaceTarget(NPC, Spawn)
  21. conversation = CreateConversation()
  22. PlayFlavor(NPC, "voiceover/english/hunter_lathar_forestdeep/qey_village05/quests/hunter_forestdeep/hunter_forestdeep.mp3", "", "", 1771449207, 2174692031, Spawn)
  23. AddConversationOption(conversation, "Sorry to have bothered you. ")
  24. StartConversation(conversation, NPC, Spawn, "What do you need? I'm very busy.")
  25. end