DefenderDetmer.lua 786 B

1234567891011121314151617181920212223242526272829
  1. --[[
  2. Script Name : SpawnScripts/FrostfangSea/DefenderDetmer.lua
  3. Script Author : Flunklesnarkin
  4. Script Date : 2015.10.14 09:10:02
  5. Script Purpose :
  6. : Testing guard voiceovers.. not complete
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function hailed(NPC, Spawn)
  11. FaceTarget(NPC, Spawn)
  12. local choice = math.random(1, 3)
  13. if choice == 1 then
  14. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_1_1002.mp3", "", "", 0, 0, Spawn)
  15. elseif choice == 2 then
  16. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_2_1002.mp3", "", "", 0, 0, Spawn)
  17. elseif choice == 3 then
  18. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1002.mp3", "", "", 0, 0, Spawn)
  19. end
  20. end
  21. function respawn(NPC)
  22. end