9
3

aDervishthugPath1.lua 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. --[[
  2. Script Name : SpawnScripts/Commonlands/aDervishthugPath1.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2024.03.07 09:03:00
  5. Script Purpose :
  6. :
  7. --]]
  8. require "SpawnScripts/Generic/NPCModule"
  9. function spawn(NPC, Spawn)
  10. NPCModule(NPC, Spawn)
  11. ogre(NPC)
  12. DervishThug(NPC)
  13. IdleAggressive(NPC)
  14. AddTimer(NPC, 6000, "waypoints")
  15. end
  16. function hailed(NPC, Spawn)
  17. FaceTarget(NPC, Spawn)
  18. end
  19. function respawn(NPC)
  20. spawn(NPC)
  21. end
  22. function waypoints(NPC)
  23. MovementLoopAddLocation(NPC, 1315.52, -39.9, 309.75, 2, 0)
  24. MovementLoopAddLocation(NPC, 1304.61, -38.81, 331.46, 2, 0)
  25. MovementLoopAddLocation(NPC, 1285.44, -37.55, 352.9, 2, 0)
  26. MovementLoopAddLocation(NPC, 1272.77, -34.04, 370.05, 2, 0)
  27. MovementLoopAddLocation(NPC, 1257.84, -28.24, 390.04, 2, 0)
  28. MovementLoopAddLocation(NPC, 1243.77, -25.57, 399.86, 2, MakeRandomInt(8,15))
  29. MovementLoopAddLocation(NPC, 1243.77, -25.57, 399.86, 2, 0)
  30. MovementLoopAddLocation(NPC, 1255.04, -27.14, 393.77, 2, 0)
  31. MovementLoopAddLocation(NPC, 1266.76, -31.26, 379.54, 2, 0)
  32. MovementLoopAddLocation(NPC, 1275.19, -37.44, 355.24, 2, 0)
  33. MovementLoopAddLocation(NPC, 1284.7, -40.38, 320.99, 2, 0)
  34. MovementLoopAddLocation(NPC, 1316.89, -41, 263.45, 2, 0)
  35. MovementLoopAddLocation(NPC, 1320.01, -41.52, 223.6, 2, 0)
  36. MovementLoopAddLocation(NPC, 1316.87, -41.29, 180.22, 2, MakeRandomInt(8,15))
  37. MovementLoopAddLocation(NPC, 1316.87, -41.29, 180.22, 2, 0)
  38. MovementLoopAddLocation(NPC, 1320.8, -41.52, 236.11, 2, 0)
  39. MovementLoopAddLocation(NPC, 1331.83, -40.36, 269.42, 2, 0)
  40. MovementLoopAddLocation(NPC, 1315.52, -39.9, 309.75, 2, 0)
  41. end