awilddogPath1.lua 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. --[[
  2. Script Name : SpawnScripts/TheSprawl_Classic/awilddogPath1.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.11.26 09:11:54
  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, -45.62, -2.67, 91.25, 2, MakeRandomInt(8,15))
  21. MovementLoopAddLocation(NPC, -45.62, -2.67, 91.25, 2, 0)
  22. MovementLoopAddLocation(NPC, -38.28, -2.61, 91.58, 2, 0)
  23. MovementLoopAddLocation(NPC, -28.85, -2.47, 87.61, 2, MakeRandomInt(8,15))
  24. MovementLoopAddLocation(NPC, -28.85, -2.47, 87.61, 2, 0)
  25. MovementLoopAddLocation(NPC, -35.43, -2.52, 88.5, 2, 0)
  26. MovementLoopAddLocation(NPC, -44.15, -2.67, 84.27, 2, MakeRandomInt(8,15))
  27. MovementLoopAddLocation(NPC, -44.15, -2.67, 84.27, 2, 0)
  28. MovementLoopAddLocation(NPC, -40.79, -2.52, 88.33, 2, MakeRandomInt(8,15))
  29. MovementLoopAddLocation(NPC, -40.79, -2.52, 88.33, 2, 0)
  30. MovementLoopAddLocation(NPC, -33.55, -2.66, 101.9, 2, 0)
  31. MovementLoopAddLocation(NPC, -35.25, -2.67, 98.71, 2, MakeRandomInt(8,15))
  32. MovementLoopAddLocation(NPC, -35.25, -2.67, 98.71, 2, 0)
  33. MovementLoopAddLocation(NPC, -35.39, -2.54, 90.62, 2, MakeRandomInt(8,15))
  34. MovementLoopAddLocation(NPC, -35.39, -2.54, 90.62, 2, 0)
  35. MovementLoopAddLocation(NPC, -41.91, -2.52, 86.23, 2, 0)
  36. MovementLoopAddLocation(NPC, -44.05, -2.6, 80.34, 2, 0)
  37. MovementLoopAddLocation(NPC, -43.5, -2.58, 75.6, 2, MakeRandomInt(8,15))
  38. MovementLoopAddLocation(NPC, -43.5, -2.58, 75.6, 2, 0)
  39. MovementLoopAddLocation(NPC, -42.87, -2.65, 83.59, 2, MakeRandomInt(8,15))
  40. MovementLoopAddLocation(NPC, -42.87, -2.65, 83.59, 2, 0)
  41. end