aShroombacultivator3.lua 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. --[[
  2. Script Name : SpawnScripts/GreaterFaydark/aShroombacultivator3.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, -37.30, -32.48, -286.42, 3, 0)
  10. MovementLoopAddLocation(NPC, -32.70, -32.56, -287.75, 3, 0)
  11. MovementLoopAddLocation(NPC, -27.33, -32.93, -288.51, 3, 0)
  12. MovementLoopAddLocation(NPC, -24.45, -33.66, -291.42, 3, 0)
  13. MovementLoopAddLocation(NPC, -20.75, -34.78, -297.80, 3, 0)
  14. MovementLoopAddLocation(NPC, -19.32, -35.35, -301.71, 3, 0)
  15. MovementLoopAddLocation(NPC, -15.30, -35.85, -304.51, 3, 0)
  16. MovementLoopAddLocation(NPC, -11.54, -36.41, -308.52, 3, 0)
  17. MovementLoopAddLocation(NPC, -11.80, -36.62, -311.61, 3, 0)
  18. MovementLoopAddLocation(NPC, -7.48, -37.27, -319.21, 3, 0)
  19. MovementLoopAddLocation(NPC, -7.80, -37.40, -321.31, 3, 0)
  20. MovementLoopAddLocation(NPC, -3.70, -37.75, -326.00, 3, 0)
  21. MovementLoopAddLocation(NPC, 2.35, -37.95, -330.94, 3, 0)
  22. end
  23. function hailed(NPC, Spawn)
  24. FaceTarget(NPC, Spawn)
  25. end
  26. function respawn(NPC)
  27. spawn(NPC)
  28. end