awilddogPath3.lua 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. --[[
  2. Script Name : SpawnScripts/TheSprawl_Classic/awilddogPath3.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.11.26 09:11:23
  5. Script Purpose :
  6. :
  7. --]]
  8. require "SpawnScripts/Generic/NPCModule"
  9. function spawn(NPC, Spawn)
  10. NPCModule(NPC, Spawn)
  11. waypoints(NPC)
  12. end
  13. function hailed(NPC, Spawn)
  14. FaceTarget(NPC, Spawn)
  15. end
  16. function respawn(NPC)
  17. spawn(NPC)
  18. end
  19. function waypoints(NPC)
  20. MovementLoopAddLocation(NPC, -42.02, -2.67, 65.81, 2, MakeRandomInt(8,15))
  21. MovementLoopAddLocation(NPC, -42.02, -2.67, 65.81, 2, 0)
  22. MovementLoopAddLocation(NPC, -39.62, -2.67, 61.84, 2, 0)
  23. MovementLoopAddLocation(NPC, -30.28, -2.67, 51.46, 2, MakeRandomInt(8,15))
  24. MovementLoopAddLocation(NPC, -30.28, -2.67, 51.46, 2, 0)
  25. MovementLoopAddLocation(NPC, -33.06, -2.67, 53.53, 2, 0)
  26. MovementLoopAddLocation(NPC, -39.45, -2.67, 62.01, 2, 0)
  27. MovementLoopAddLocation(NPC, -39.69, -2.67, 62.33, 2, 0)
  28. MovementLoopAddLocation(NPC, -43.33, -2.66, 68.16, 2, 0)
  29. MovementLoopAddLocation(NPC, -43.48, -2.62, 74.44, 2, 0)
  30. MovementLoopAddLocation(NPC, -44.54, -2.53, 78.63, 2, MakeRandomInt(8,15))
  31. MovementLoopAddLocation(NPC, -44.54, -2.53, 78.63, 2, 0)
  32. MovementLoopAddLocation(NPC, -43.19, -2.67, 71.09, 2, MakeRandomInt(8,15))
  33. MovementLoopAddLocation(NPC, -43.19, -2.67, 71.09, 2, 0)
  34. MovementLoopAddLocation(NPC, -43.31, -2.6, 75.43, 2, 0)
  35. MovementLoopAddLocation(NPC, -47.72, -2.53, 80.87, 2, MakeRandomInt(8,15))
  36. MovementLoopAddLocation(NPC, -47.72, -2.53, 80.87, 2, 0)
  37. MovementLoopAddLocation(NPC, -43.59, -2.57, 80.01, 2, MakeRandomInt(8,15))
  38. MovementLoopAddLocation(NPC, -43.59, -2.57, 80.01, 2, 0)
  39. MovementLoopAddLocation(NPC, -41.78, -2.55, 87.8, 2, MakeRandomInt(8,15))
  40. MovementLoopAddLocation(NPC, -41.78, -2.55, 87.8, 2, 0)
  41. MovementLoopAddLocation(NPC, -44.75, -2.67, 85.87, 2, 0)
  42. MovementLoopAddLocation(NPC, -43.83, -2.53, 76.93, 2, 0)
  43. MovementLoopAddLocation(NPC, -42.95, -2.67, 67.84, 2, 0)
  44. MovementLoopAddLocation(NPC, -39.11, -2.66, 61.04, 2, MakeRandomInt(8,15))
  45. MovementLoopAddLocation(NPC, -39.11, -2.66, 61.04, 2, 0)
  46. end