9
3

GuardCarnis.lua 1.6 KB

123456789101112131415161718192021222324252627282930
  1. --[[
  2. Script Name : SpawnScripts/IsleRefuge1/GuardCarnis.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.09.04 10:09:59
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. end
  10. function hailed(NPC, Spawn)
  11. FaceTarget(NPC, Spawn)
  12. choice = MakeRandomInt(1,5)
  13. if choice == 1 then
  14. PlayFlavor(NPC, "voiceover/english/human_eco_farsea_1/ft/service/guard/human_guard_service_farsea_1_hail_gm_2b42c14f.mp3", "After twelve weeks at sea, bashing the head of a nosy landlubber sounds quite appealing!", "threaten", 3327044476, 1239580287, Spawn, 0)
  15. elseif choice == 2 then
  16. PlayFlavor(NPC, "voiceover/english/human_eco_farsea_1/ft/service/guard/human_guard_service_farsea_1_hail_gm_a837e4f4.mp3", "Once I am off duty, I will be heading straight to the tavern.", "agree", 1930964396, 481007793, Spawn, 0)
  17. elseif choice == 3 then
  18. PlayFlavor(NPC, "voiceover/english/human_eco_farsea_1/ft/service/guard/human_guard_service_farsea_1_hail_gm_f9615d93.mp3", "This ain't a show, stranger. Buy your goods and shove-off!", "no", 1735700364, 1033324383, Spawn, 0)
  19. elseif choice == 4 then
  20. PlayFlavor(NPC, "voiceover/english/human_eco_farsea_1/ft/service/guard/human_guard_service_farsea_1_hail_gm_990c7e98.mp3", "What do you think you're looking at?", "glare", 2597948053, 2836713373, Spawn, 0)
  21. elseif choice == 5 then
  22. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1002.mp3", "The Far Seas Trading company pays well for your protection.", "nod", 0, 0, Spawn, 0)
  23. end
  24. end
  25. function respawn(NPC)
  26. spawn(NPC)
  27. end