aShroombacultivator5.lua 940 B

123456789101112131415161718192021222324252627
  1. --[[
  2. Script Name : SpawnScripts/GreaterFaydark/aShroombacultivator5.lua
  3. Script Purpose : Shroomba Cultivator wanderer
  4. Script Author : John Adams
  5. Script Date : 2009.03.29
  6. Script Notes : There are a few of these, different wander paths.
  7. --]]
  8. function spawn(NPC)
  9. MovementLoopAddLocation(NPC, -41.56, -37.86, -377.56, 3, 0)
  10. MovementLoopAddLocation(NPC, -27.47, -38.07, -367.70, 3, 0)
  11. MovementLoopAddLocation(NPC, -23.42, -37.96, -367.50, 3, 0)
  12. MovementLoopAddLocation(NPC, -14.07, -38.32, -360.40, 3, 0)
  13. MovementLoopAddLocation(NPC, -16.16, -38.28, -360.46, 3, 0)
  14. MovementLoopAddLocation(NPC, -10.24, -38.31, -352.91, 3, 0)
  15. MovementLoopAddLocation(NPC, -7.47, -38.33, -350.15, 3, 0)
  16. MovementLoopAddLocation(NPC, -6.03, -38.37, -345.24, 3, 0)
  17. MovementLoopAddLocation(NPC, -2.93, -38.33, -341.59, 3, 0)
  18. end
  19. function hailed(NPC, Spawn)
  20. FaceTarget(NPC, Spawn)
  21. end
  22. function respawn(NPC)
  23. spawn(NPC)
  24. end