9
3

atormentedbattlemage_A.lua 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. --[[
  2. Script Name : SpawnScripts/FallenGate/atormentedbattlemage_A.lua
  3. Script Purpose : Waypoint Path for atormentedbattlemage_A.lua
  4. Script Author : Auto Generated
  5. Script Date : 03/23/2019 12:54:09 PM
  6. Script Notes : <special-instructions>
  7. --]]
  8. function spawn(NPC)
  9. waypoints(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. end
  14. function respawn(NPC)
  15. end
  16. function waypoints(NPC)
  17. MovementLoopAddLocation(NPC, 160.65, 18.4, -44.34, 2, 0)
  18. MovementLoopAddLocation(NPC, 169.88, 18.4, -56.99, 2, 0)
  19. MovementLoopAddLocation(NPC, 173.57, 18.4, -60.24, 2, 0)
  20. MovementLoopAddLocation(NPC, 178.67, 18.47, -70.24, 2, 0)
  21. MovementLoopAddLocation(NPC, 182.11, 18.4, -77.21, 2, 0, "Change_Grid_A")
  22. MovementLoopAddLocation(NPC, 184.17, 18.4, -84.63, 2, 0)
  23. MovementLoopAddLocation(NPC, 183.4, 18.4, -91.12, 2, 0)
  24. MovementLoopAddLocation(NPC, 196.08, 18.47, -94.69, 2, 0)
  25. MovementLoopAddLocation(NPC, 201.83, 18.47, -95.27, 2, 0)
  26. MovementLoopAddLocation(NPC, 205.46, 18.47, -96.42, 2, 0)
  27. MovementLoopAddLocation(NPC, 207.15, 18.47, -97.48, 2, 0)
  28. MovementLoopAddLocation(NPC, 208.84, 18.47, -100.21, 2, 0)
  29. MovementLoopAddLocation(NPC, 208.81, 18.47, -102.18, 2, 0)
  30. MovementLoopAddLocation(NPC, 207.69, 18.47, -104.47, 2, 0)
  31. MovementLoopAddLocation(NPC, 206.65, 18.47, -105.37, 2, 0)
  32. MovementLoopAddLocation(NPC, 204.97, 18.47, -106.05, 2, 0)
  33. MovementLoopAddLocation(NPC, 203.68, 18.47, -105.96, 2, 0)
  34. MovementLoopAddLocation(NPC, 201.58, 18.47, -104.93, 2, 0)
  35. MovementLoopAddLocation(NPC, 198.1, 18.47, -102.97, 2, 0)
  36. MovementLoopAddLocation(NPC, 196.02, 18.47, -103.58, 2, 0)
  37. MovementLoopAddLocation(NPC, 192.43, 18.47, -106.4, 2, 0)
  38. MovementLoopAddLocation(NPC, 188.05, 18.47, -110.87, 2, 0)
  39. MovementLoopAddLocation(NPC, 186.67, 18.47, -113.14, 2, 0)
  40. MovementLoopAddLocation(NPC, 186.4, 18.47, -115.13, 2, 0)
  41. MovementLoopAddLocation(NPC, 187.26, 18.47, -116.72, 2, 0)
  42. MovementLoopAddLocation(NPC, 192.82, 18.47, -122.98, 2, 0)
  43. MovementLoopAddLocation(NPC, 194.72, 18.47, -124.58, 2, 0)
  44. MovementLoopAddLocation(NPC, 196.99, 18.47, -125.52, 2, 0)
  45. MovementLoopAddLocation(NPC, 198.25, 18.47, -125.38, 2, 0)
  46. MovementLoopAddLocation(NPC, 199.99, 18.47, -124.45, 2, 0)
  47. MovementLoopAddLocation(NPC, 202.75, 18.47, -122.31, 2, 0)
  48. MovementLoopAddLocation(NPC, 208.14, 18.47, -116.91, 2, 0)
  49. MovementLoopAddLocation(NPC, 208.94, 18.47, -115.44, 2, 0)
  50. MovementLoopAddLocation(NPC, 209.45, 18.47, -113.76, 2, 0)
  51. MovementLoopAddLocation(NPC, 209.48, 18.47, -112.61, 2, 0)
  52. MovementLoopAddLocation(NPC, 209.24, 18.47, -108.13, 2, 0)
  53. MovementLoopAddLocation(NPC, 207.35, 18.47, -100.85, 2, 0)
  54. MovementLoopAddLocation(NPC, 205.73, 18.47, -98.81, 2, 0)
  55. MovementLoopAddLocation(NPC, 201.05, 18.47, -96.26, 2, 0)
  56. MovementLoopAddLocation(NPC, 194.88, 18.47, -94.65, 2, 0)
  57. MovementLoopAddLocation(NPC, 188.22, 18.47, -94.32, 2, 0)
  58. MovementLoopAddLocation(NPC, 184.14, 18.4, -92.62, 2, 0)
  59. MovementLoopAddLocation(NPC, 181.3, 18.4, -75.58, 2, 0, "Change_Grid_B")
  60. MovementLoopAddLocation(NPC, 174.21, 18.4, -59.21, 2, 0)
  61. MovementLoopAddLocation(NPC, 163.09, 18.4, -42.89, 2, 0)
  62. MovementLoopAddLocation(NPC, 161.77, 18.4, -43.49, 2, 0)
  63. end
  64. function Change_Grid_A(NPC)
  65. Say(NPC, "This is the Change_Grid_A function")
  66. SetGridID(NPC, 3104458931)
  67. end
  68. function Change_Grid_B(NPC)
  69. Say(NPC, "This is the Change_Grid_B function")
  70. SetGridID(NPC, 908295842)
  71. end