9
3

aShroombacultivator4.lua 1.0 KB

1234567891011121314151617181920212223242526272829
  1. --[[
  2. Script Name : SpawnScripts/GreaterFaydark/aShroombacultivator4.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, -1.12, -38.15, -337.43, 3, 0)
  10. MovementLoopAddLocation(NPC, -2.92, -38.36, -343.18, 3, 0)
  11. MovementLoopAddLocation(NPC, -6.57, -38.35, -346.78, 3, 0)
  12. MovementLoopAddLocation(NPC, -9.25, -38.31, -352.26, 3, 0)
  13. MovementLoopAddLocation(NPC, -7.18, -38.33, -352.04, 3, 0)
  14. MovementLoopAddLocation(NPC, -14.03, -38.33, -359.53, 3, 0)
  15. MovementLoopAddLocation(NPC, -12.99, -38.33, -359.51, 3, 0)
  16. MovementLoopAddLocation(NPC, -19.66, -38.13, -363.79, 3, 0)
  17. MovementLoopAddLocation(NPC, -28.06, -38.08, -369.64, 3, 0)
  18. MovementLoopAddLocation(NPC, -37.48, -37.98, -375.70, 3, 0)
  19. MovementLoopAddLocation(NPC, -40.94, -37.90, -378.42, 3, 0)
  20. end
  21. function hailed(NPC, Spawn)
  22. FaceTarget(NPC, Spawn)
  23. end
  24. function respawn(NPC)
  25. spawn(NPC)
  26. end