SapswillvillagerRunner.lua 986 B

1234567891011121314151617181920212223242526272829
  1. --[[
  2. Script Name : aSapswillvillagerRunner.lua
  3. Script Purpose : Makes the sapswill on the Queen's Colony run around the rock.
  4. Script Author : Scatman
  5. Script Date : 2008.12.15
  6. Modified Date. : 2020.04.30
  7. Modified by. : premierio015
  8. Notes : Changed speed from 4 to 7, now running around circle is more look a like Live version.
  9. --]]
  10. local ADiplomaticMission = 166
  11. function spawn(NPC)
  12. SpawnSet(NPC, "visual_state", 0)
  13. MovementLoopAddLocation(NPC, -75.98, 0.26, -238.35, 7, 0)
  14. MovementLoopAddLocation(NPC, -72.04, 0.25, -240.76, 7, 0)
  15. MovementLoopAddLocation(NPC, -73.36, 0.26, -245.79, 7, 0)
  16. MovementLoopAddLocation(NPC, -78.16, 0.35, -248.07, 7, 0)
  17. MovementLoopAddLocation(NPC, -82.81, 1.69, -245.62, 7, 0)
  18. MovementLoopAddLocation(NPC, -85.91, 2.09, -240.37, 7, 0)
  19. MovementLoopAddLocation(NPC, -82.86, 1.75, -237.19, 7, 0)
  20. end
  21. function hailed(NPC, Spawn)
  22. --FaceTarget(NPC, Spawn)
  23. end
  24. function respawn(NPC)
  25. end