aBlackshieldsmugglerPath.lua 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. --[[
  2. Script Name : SpawnScripts/Commonlands/aBlackshieldsmugglerPath.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2024.01.31 04:01:27
  5. Script Purpose :
  6. :
  7. --]]
  8. require "SpawnScripts/Generic/NPCModule"
  9. function spawn(NPC, Spawn)
  10. NPCModule(NPC, Spawn)
  11. human(NPC)
  12. AddTimer(NPC, 6000, "waypoints")
  13. end
  14. function hailed(NPC, Spawn)
  15. FaceTarget(NPC, Spawn)
  16. end
  17. function respawn(NPC)
  18. spawn(NPC)
  19. end
  20. function waypoints(NPC)
  21. MovementLoopAddLocation(NPC, -596.61, -145.62, -879.3, 2, 6)
  22. MovementLoopAddLocation(NPC, -592.55, -145.13, -878.11, 2, 0)
  23. MovementLoopAddLocation(NPC, -586.81, -142.64, -875.93, 2, 0)
  24. MovementLoopAddLocation(NPC, -576.01, -138.05, -877.41, 2, 0)
  25. MovementLoopAddLocation(NPC, -542.73, -124.13, -891.91, 2, 0)
  26. MovementLoopAddLocation(NPC, -499.94, -108.79, -910.24, 2, 0)
  27. MovementLoopAddLocation(NPC, -472.84, -96.4, -925.18, 2, 0)
  28. MovementLoopAddLocation(NPC, -466.64, -93.32, -928.65, 2, 0)
  29. MovementLoopAddLocation(NPC, -463.17, -91.84, -931.08, 2, 0)
  30. MovementLoopAddLocation(NPC, -460.98, -90.89, -936.1, 2, 0)
  31. MovementLoopAddLocation(NPC, -457.28, -90.8, -944.59, 2, MakeRandomInt(8,15))
  32. MovementLoopAddLocation(NPC, -457.28, -90.8, -944.59, 2, 0)
  33. MovementLoopAddLocation(NPC, -457.91, -90.66, -942.88, 2, 0)
  34. MovementLoopAddLocation(NPC, -461.38, -90.95, -936.12, 2, 0)
  35. MovementLoopAddLocation(NPC, -467.97, -93.5, -930.86, 2, 0)
  36. MovementLoopAddLocation(NPC, -493.78, -106.37, -915.46, 2, 0)
  37. MovementLoopAddLocation(NPC, -513.53, -113.29, -904.24, 2, 0)
  38. MovementLoopAddLocation(NPC, -535.26, -121.34, -896.48, 2, 0)
  39. MovementLoopAddLocation(NPC, -550.44, -126.96, -890.56, 2, 0)
  40. MovementLoopAddLocation(NPC, -579.21, -139.55, -879.26, 2, 0)
  41. MovementLoopAddLocation(NPC, -588.2, -143.32, -878.41, 2, 0)
  42. end