9
3

aShroombacultivator2.lua 695 B

1234567891011121314151617181920212223
  1. --[[
  2. Script Name : SpawnScripts/GreaterFaydark/aShroombacultivator2.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, -59.50, -32.48, -282.04, 3, 0)
  10. MovementLoopAddLocation(NPC, -64.61, -33.52, -270.39, 3, 0)
  11. MovementLoopAddLocation(NPC, -67.55, -34.13, -265.84, 3, 0)
  12. MovementLoopAddLocation(NPC, -74.28, -37.07, -255.57, 3, 0)
  13. MovementLoopAddLocation(NPC, -81.84, -40.42, -231.17, 3, 0)
  14. end
  15. function hailed(NPC, Spawn)
  16. FaceTarget(NPC, Spawn)
  17. end
  18. function respawn(NPC)
  19. spawn(NPC)
  20. end