9
3

Oemor.lua 737 B

1234567891011121314151617181920212223242526272829
  1. --[[
  2. Script Name : SpawnScripts/TheHiddenVillageofKugup/Oemor.lua
  3. Script Purpose : Oemor
  4. Script Author : neatz09
  5. Script Date : 2023.04.03
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  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,2)
  19. if choice == 1 then
  20. PlayFlavor(NPC, "", "Thank you for bringing us back together. I just love my flowers!", "fullcurtsey", 0, 0, Spawn, 0)
  21. elseif choice == 2 then
  22. PlayVoice(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1015.mp3", 0, 0, Spawn)
  23. end
  24. end