areanimatedRyGorr.lua 824 B

1234567891011121314151617181920212223242526
  1. --[[
  2. Script Name : SpawnScripts/areanimatedRyGorr.lua
  3. Script Purpose : for the spawn a reanimated Ry'Gorr
  4. Script Author : theFoof
  5. Script Date : 2013.6.6
  6. Script Notes :
  7. --]]
  8. function spawn(NPC)
  9. MovementLoopAddLocation(NPC, 790.78, 31.46, 93.56, 2, math.random(5,15))
  10. MovementLoopAddLocation(NPC, 773.25, 36.43, 78.13, 2, 0)
  11. MovementLoopAddLocation(NPC, 743.98, 41.91, 75.01, 2, 0)
  12. MovementLoopAddLocation(NPC, 702.1, 48.18, 121.05, 2, 0)
  13. MovementLoopAddLocation(NPC, 731.22, 41.6, 160.22, 2, math.random(5,15))
  14. MovementLoopAddLocation(NPC, 702.1, 48.18, 121.05, 2, 0)
  15. MovementLoopAddLocation(NPC, 743.98, 41.91, 75.01, 2, 0)
  16. MovementLoopAddLocation(NPC, 773.25, 36.43, 78.13, 2, 0)
  17. end
  18. function respawn(NPC)
  19. spawn(NPC)
  20. end
  21. function hailed(NPC, Spawn)
  22. FaceTarget(NPC, Spawn)
  23. end