9
3

anicemanepatriarch_(2).lua 714 B

123456789101112131415161718192021222324
  1. --[[
  2. Script Name : SpawnScripts/FrostfangSea/anicemanepatriarch_(2).lua
  3. Script Purpose : for an icemane patriarch with a unique path
  4. Script Author : theFoof
  5. Script Date : 2013.6.6
  6. Script Notes :
  7. --]]
  8. function spawn(NPC)
  9. MovementLoopAddLocation(NPC, 571.74, 56.41, -405.34, 2, math.random(5,20))
  10. MovementLoopAddLocation(NPC, 582.2, 53.27, -400.71, 2, 0)
  11. MovementLoopAddLocation(NPC, 586.1, 44.33, -372.47, 2, 0)
  12. MovementLoopAddLocation(NPC, 590.7, 43.18, -359.4, 2, math.random(5,20))
  13. MovementLoopAddLocation(NPC, 586.1, 44.33, -372.47, 2, 0)
  14. MovementLoopAddLocation(NPC, 582.2, 53.27, -400.71, 2, 0)
  15. end
  16. function respawn(NPC)
  17. spawn(NPC)
  18. end
  19. function hailed(NPC, Spawn)
  20. FaceTarget(NPC, Spawn)
  21. end