9
3

NalonMesspie.lua 1.0 KB

123456789101112131415161718192021222324252627282930313233
  1. --[[
  2. Script Name : SpawnScripts/qeynos_combined02/NalonMesspie.lua
  3. Script Author : Rylec
  4. Script Date : 2021.09.08 10:09:52
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function hailed(NPC, Spawn)
  11. SpawnSet(NPC, "visual_state", 0)
  12. FaceTarget(NPC, Spawn)
  13. local choice = MakeRandomInt(1,2)
  14. if choice == 1 then
  15. PlayFlavor(NPC, "voiceover/english/halfling_eco_race_good/ft/eco/good/halfling_eco_race_good_hail_gm_34b03729.mp3", "I'm sure we've met someplace before, you look so familiar!", "", 1550233671, 4104979611, Spawn)
  16. else
  17. PlayFlavor(NPC, "voiceover/english/halfling_eco_race_good/ft/eco/good/halfling_eco_race_good_hail_gm_74b0fd50.mp3", "A good joke deserves a good audience, I always say!", "", 95315026, 2602312757, Spawn)
  18. end
  19. AddTimer(NPC, 40000, "ResetState", 1, Spawn)
  20. end
  21. function ResetState(NPC)
  22. SpawnSet(NPC, "visual_state", 11976)
  23. end
  24. function respawn(NPC)
  25. spawn(NPC)
  26. end