SkjolrandrHalculloch.lua 865 B

123456789101112131415161718192021222324252627
  1. --[[
  2. Script Name : SpawnScripts/FrostfangSea/SkjolrandrHalculloch.lua
  3. Script Purpose : Skjolrandr Halculloch
  4. Script Author : theFoof
  5. Script Date : 2013.10.30
  6. Script Notes : movement loop for random npc in halas
  7. --]]
  8. function spawn(NPC)
  9. MovementLoopAddLocation(NPC, -61.57, 146.11, -50.21, 2, 0)
  10. MovementLoopAddLocation(NPC, -16.67, 146.19, -58.03, 2, 0)
  11. MovementLoopAddLocation(NPC, 12.94, 147.61, -96.37, 2, 0)
  12. MovementLoopAddLocation(NPC, 72.31, 148.34, -88.88, 2, 0)
  13. MovementLoopAddLocation(NPC, 109.63, 155.62, -137.94, 2, 0)
  14. MovementLoopAddLocation(NPC, 72.31, 148.34, -88.88, 2, 0)
  15. MovementLoopAddLocation(NPC, 12.94, 147.61, -96.37, 2, 0)
  16. MovementLoopAddLocation(NPC, -16.67, 146.19, -58.03, 2, 0)
  17. end
  18. function respawn(NPC)
  19. spawn(NPC)
  20. end
  21. function hailed(NPC, Spawn)
  22. FaceTarget(NPC, Spawn)
  23. PlayFlavor(NPC, "", "", "hello", 0, 0, Spawn)
  24. end