UlfgjerdPrimloch.lua 1.4 KB

123456789101112131415161718192021222324252627282930313233343536
  1. --[[
  2. Script Name : SpawnScripts/FrostfangSea/UlfgjerdPrimloch.lua
  3. Script Purpose : Ulfgjerd Primloch
  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, -67.35, 147.09, -19.74, 2, 0)
  10. MovementLoopAddLocation(NPC, -87.36, 146.89, -9.17, 2, 0)
  11. MovementLoopAddLocation(NPC, -96.48, 146.24, 18.45, 2, 0)
  12. MovementLoopAddLocation(NPC, -122.15, 146.3, 16.75, 2, 0)
  13. MovementLoopAddLocation(NPC, -135.78, 146.49, 55.33, 2, 0)
  14. MovementLoopAddLocation(NPC, -131.98, 146.7, 26.02, 2, 0)
  15. MovementLoopAddLocation(NPC, -113.06, 146, 2.94, 2, 0)
  16. MovementLoopAddLocation(NPC, -112.37, 144.96, -22.06, 2, 0)
  17. MovementLoopAddLocation(NPC, -95.54, 145.71, -38.41, 2, 0)
  18. MovementLoopAddLocation(NPC, -112.25, 146.75, -56.73, 2, 0)
  19. MovementLoopAddLocation(NPC, -165.18, 148.54, -49.67, 2, 0)
  20. MovementLoopAddLocation(NPC, -197.51, 149.65, -79.5, 2, 0)
  21. MovementLoopAddLocation(NPC, -165.18, 148.54, -49.67, 2, 0)
  22. MovementLoopAddLocation(NPC, -112.25, 146.75, -56.73, 2, 0)
  23. MovementLoopAddLocation(NPC, -88.93, 145.74, -39.28, 2, 0)
  24. MovementLoopAddLocation(NPC, -20.19, 145.93, -53.38, 2, 0)
  25. MovementLoopAddLocation(NPC, -19.78, 146.3, -21.45, 2, 0)
  26. end
  27. function respawn(NPC)
  28. spawn(NPC)
  29. end
  30. function hailed(NPC, Spawn)
  31. FaceTarget(NPC, Spawn)
  32. PlayFlavor(NPC, "", "", "hello", 0, 0, Spawn)
  33. end