9
3

VelricTorch.lua 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. --[[
  2. Script Name : SpawnScripts/Antonica/VelricTorch.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.10.07 05:10:35
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function respawn(NPC)
  11. spawn(NPC)
  12. end
  13. function hailed(NPC, Spawn)
  14. FaceTarget(NPC,Spawn)
  15. RandomGreeting(NPC, Spawn)
  16. end
  17. function RandomGreeting(NPC, Spawn)
  18. local choice = MakeRandomInt(1,3)
  19. if choice == 1 then
  20. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1004.mp3", "Despite the good in and around these lands, you still end up with places like this dark forest. Did you ever wonder why that is?", "ponder", 0, 0, Spawn, 0)
  21. elseif choice == 2 then
  22. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1004.mp3", "It's nice to see others out and about. My wife is such a homebody.", "hello", 0, 0, Spawn, 0)
  23. elseif choice == 3 then
  24. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1004.mp3", "A great day for a picnic, wouldn't you say?", "agree", 0, 0, Spawn, 0)
  25. end
  26. end