9
3

OutlandSentryLanders.lua 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. --[[
  2. Script Name : SpawnScripts/ThunderingSteppes/OutlandSentryLanders.lua
  3. Script Author : Jabantiz
  4. Script Date : 2015.07.12 02:07:53
  5. Script Purpose :
  6. :
  7. --]]
  8. require "SpawnScripts/Generic/NPCModule"
  9. function spawn(NPC, Spawn)
  10. NPCModule(NPC, Spawn)
  11. AddTimer(NPC, 6000, "waypoints")
  12. end
  13. function respawn(NPC)
  14. spawn(NPC)
  15. end
  16. function hailed(NPC, Spawn)
  17. end
  18. function death(NPC,Spawn)
  19. local choice = MakeRandomInt(1,2)
  20. if choice == 1 then
  21. PlayFlavor(NPC, "voiceover/english/optional5/human_steppes/ft/human/human_steppes_1_death_gm_85ef3300.mp3", "No! That was my friend!", "", 572896703, 552083718, Spawn, 0)
  22. elseif choice == 2 then
  23. PlayFlavor(NPC, "voiceover/english/optional5/human_steppes/ft/human/human_steppes_1_death_gm_f56b206a.mp3", "At least they died with their boots on.", "", 2785078984, 3057500781, Spawn, 0)
  24. end
  25. end
  26. function waypoints(NPC)
  27. MovementLoopAddLocation(NPC, 79.15, 2.91, -572.45, 2)
  28. MovementLoopAddLocation(NPC, 70.78, 6.95, -560.78, 2)
  29. MovementLoopAddLocation(NPC, 57.14, 8.62, -554.45, 2)
  30. MovementLoopAddLocation(NPC, 36.07, 12.80, -553.58, 2)
  31. MovementLoopAddLocation(NPC, 20.67, 16.58, -559.86, 2)
  32. MovementLoopAddLocation(NPC, -3.70, 19.40, -569.21, 2)
  33. MovementLoopAddLocation(NPC, -56.73, 19.30, -580.18, 2)
  34. MovementLoopAddLocation(NPC, -73.70, 18.98, -577.56, 2)
  35. MovementLoopAddLocation(NPC, -89.31, 18.93, -571.66, 2)
  36. MovementLoopAddLocation(NPC, -117.40, 19.60, -548.26, 2)
  37. MovementLoopAddLocation(NPC, -131.36, 18.13, -532.85, 2)
  38. MovementLoopAddLocation(NPC, -146.61, 13.67, -515.87, 2)
  39. MovementLoopAddLocation(NPC, -162.29, 8.37, -496.02, 2)
  40. MovementLoopAddLocation(NPC, -174.85, 2.48, -483.08, 2)
  41. MovementLoopAddLocation(NPC, -190.58, -0.66, -464.35, 2)
  42. MovementLoopAddLocation(NPC, -198.52, -4.40, -447.93, 2)
  43. MovementLoopAddLocation(NPC, -204.33, -8.51, -440.59, 2)
  44. MovementLoopAddLocation(NPC, -198.52, -4.40, -447.93, 2)
  45. MovementLoopAddLocation(NPC, -190.58, -0.66, -464.35, 2)
  46. MovementLoopAddLocation(NPC, -174.85, 2.48, -483.08, 2)
  47. MovementLoopAddLocation(NPC, -162.29, 8.37, -496.02, 2)
  48. MovementLoopAddLocation(NPC, -146.61, 13.67, -515.87, 2)
  49. MovementLoopAddLocation(NPC, -131.36, 18.13, -532.85, 2)
  50. MovementLoopAddLocation(NPC, -117.40, 19.60, -548.26, 2)
  51. MovementLoopAddLocation(NPC, -89.31, 18.93, -571.66, 2)
  52. MovementLoopAddLocation(NPC, -73.70, 18.98, -577.56, 2)
  53. MovementLoopAddLocation(NPC, -56.73, 19.30, -580.18, 2)
  54. MovementLoopAddLocation(NPC, -3.70, 19.40, -569.21, 2)
  55. MovementLoopAddLocation(NPC, 20.67, 16.58, -559.86, 2)
  56. MovementLoopAddLocation(NPC, 36.07, 12.80, -553.58, 2)
  57. MovementLoopAddLocation(NPC, 57.14, 8.62, -554.45, 2)
  58. end