9
3

Warland.lua 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. --[[
  2. Script Name : Warland.lua
  3. Script Purpose : Waypoint Path for Warland.lua
  4. Script Author : Auto Generated
  5. Script Date : 04/08/2020 10:30:14 PM
  6. Script Notes : Locations collected from Live
  7. --]]
  8. function spawn(NPC)
  9. waypoints(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. local choice = math.random(1,2)
  14. if choice == 1 then
  15. PlayFlavor(NPC, "voiceover/english/human_eco_good_1/ft/service/guard/human_guard_service_good_1_hail_gm_ebfceda5.mp3", "Greetings, citizen. I am on guard duty. Should you get into trouble, seek me out.", "attention", 1945337199, 2685949436, Spawn)
  16. elseif choice == 2 then
  17. PlayFlavor(NPC, "voiceover/english/human_eco_good_1/ft/service/guard/human_guard_service_good_1_hail_gm_c865a827.mp3", "Duty above all else, citizen, except honor!", "scold", 4141262779, 4227030045, Spawn)
  18. else
  19. end
  20. end
  21. function respawn(NPC)
  22. spawn(NPC)
  23. end
  24. function waypoints(NPC)
  25. MovementLoopAddLocation(NPC, 705.82, -20.64, -22.54, 2, 0)
  26. MovementLoopAddLocation(NPC, 740.93, -21.44, -22.18, 2, 0)
  27. MovementLoopAddLocation(NPC, 757.61, -20.88, -35.3, 2, 0)
  28. MovementLoopAddLocation(NPC, 764.83, -21.84, -55.37, 2, 0)
  29. MovementLoopAddLocation(NPC, 727.1, -21.24, -63.05, 2, 0)
  30. MovementLoopAddLocation(NPC, 710.11, -21.06, -83.53, 2, 20)
  31. MovementLoopAddLocation(NPC, 727.1, -21.24, -63.05, 2, 0)
  32. MovementLoopAddLocation(NPC, 764.83, -21.84, -55.37, 2, 0)
  33. MovementLoopAddLocation(NPC, 757.61, -20.88, -35.3, 2, 0)
  34. MovementLoopAddLocation(NPC, 740.93, -21.44, -22.18, 2, 0)
  35. MovementLoopAddLocation(NPC, 705.82, -20.64, -22.54, 2, 0)
  36. end