aShroombacultivator1.lua 916 B

123456789101112131415161718192021222324252627
  1. --[[
  2. Script Name : SpawnScripts/GreaterFaydark/aShroombacultivator1.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, -82.36, -31.72, -300.98, 3, 0)
  10. MovementLoopAddLocation(NPC, -61.74, -32.41, -286.65, 3, 0)
  11. MovementLoopAddLocation(NPC, -55.17, -32.44, -285.26, 3, 0)
  12. MovementLoopAddLocation(NPC, -42.96, -32.35, -285.70, 3, 0)
  13. MovementLoopAddLocation(NPC, -57.95, -32.44, -284.10, 3, 0)
  14. MovementLoopAddLocation(NPC, -62.57, -32.42, -288.96, 3, 0)
  15. MovementLoopAddLocation(NPC, -74.56, -31.57, -292.37, 3, 0)
  16. MovementLoopAddLocation(NPC, -79.73, -31.08, -299.55, 3, 0)
  17. MovementLoopAddLocation(NPC, -82.31, -31.99, -302.37, 3, 0)
  18. end
  19. function hailed(NPC, Spawn)
  20. FaceTarget(NPC, Spawn)
  21. end
  22. function respawn(NPC)
  23. spawn(NPC)
  24. end