amaleficarachnid2.lua 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. --[[
  2. Script Name : SpawnScripts/DownBelow_Classic/amaleficarachnid2.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.01.09 08:01: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, -108.34, -0.14, -183.42, 2, 4)
  21. MovementLoopAddLocation(NPC, -108.3, -0.09, -179.57, 2, 0)
  22. MovementLoopAddLocation(NPC, -106.89, -0.1, -177.51, 2, math.random(5,10))
  23. MovementLoopAddLocation(NPC, -106.89, -0.1, -177.51, 2, 0)
  24. MovementLoopAddLocation(NPC, -106.77, -0.12, -179.3, 2, 0)
  25. MovementLoopAddLocation(NPC, -105.28, -0.05, -179.77, 2, 0)
  26. MovementLoopAddLocation(NPC, -104.23, -0.02, -178.47, 2, math.random(5,10))
  27. MovementLoopAddLocation(NPC, -104.23, -0.02, -178.47, 2, 0)
  28. MovementLoopAddLocation(NPC, -108.73, -0.09, -179.88, 2, 0)
  29. MovementLoopAddLocation(NPC, -109.17, 0.14, -186.81, 2, math.random(5,10))
  30. MovementLoopAddLocation(NPC, -109.17, 0.14, -186.81, 2, 0)
  31. MovementLoopAddLocation(NPC, -109.46, -0.06, -182.21, 2, 0)
  32. MovementLoopAddLocation(NPC, -105.49, -0.09, -179.22, 2, math.random(5,10))
  33. MovementLoopAddLocation(NPC, -105.49, -0.09, -179.22, 2, 0)
  34. MovementLoopAddLocation(NPC, -109.33, -0.09, -180.69, 2, 0)
  35. MovementLoopAddLocation(NPC, -108.34, -0.14, -183.42, 2, 3)
  36. end