amaleficarachnid1.lua 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. --[[
  2. Script Name : SpawnScripts/DownBelow_Classic/amaleficarachnid1.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.01.09 08:01:32
  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, -111.34, -0.01, -183.76, 2, 4)
  21. MovementLoopAddLocation(NPC, -110.02, -0.01, -184, 2, 0)
  22. MovementLoopAddLocation(NPC, -108.95, -0.1, -182.72, 2, math.random(5,10))
  23. MovementLoopAddLocation(NPC, -108.95, -0.1, -182.72, 2, 0)
  24. MovementLoopAddLocation(NPC, -108.05, -0.11, -184.26, 2, 0)
  25. MovementLoopAddLocation(NPC, -109.78, -0.03, -184.75, 2, 0)
  26. MovementLoopAddLocation(NPC, -110.07, -0.03, -183.56, 2, math.random(5,10))
  27. MovementLoopAddLocation(NPC, -110.07, -0.03, -183.56, 2, 0)
  28. MovementLoopAddLocation(NPC, -108.89, -0.11, -183.21, 2, 0)
  29. MovementLoopAddLocation(NPC, -108.3, -0.1, -180.73, 2, math.random(5,10))
  30. MovementLoopAddLocation(NPC, -108.3, -0.1, -180.73, 2, 0)
  31. MovementLoopAddLocation(NPC, -109.1, -0.07, -180.85, 2, 0)
  32. MovementLoopAddLocation(NPC, -108.6, -0.06, -184.55, 2, math.random(5,10))
  33. MovementLoopAddLocation(NPC, -108.6, -0.06, -184.55, 2, 0)
  34. MovementLoopAddLocation(NPC, -110.05, -0.02, -184.61, 2, 0)
  35. MovementLoopAddLocation(NPC, -111.34, -0.01, -183.76, 2, 3)
  36. end