9
3

aDuskProwler_(1).lua 843 B

123456789101112131415161718192021
  1. --[[
  2. Script Name : SpawnScripts/Darklight/aDuskProwler_(1).lua
  3. Script Purpose : To Keep a dusk prowler from walking through walls
  4. Script Author : Cynnar
  5. Script Date : 10/13/2015
  6. Script Notes : A Dusk Prowler (spawn_id 340054) (spawn_location_id 579885)
  7. Script Notes : Between Hate's Envy and the Thexian burial chamber
  8. --]]
  9. function spawn(NPC)
  10. MovementLoopAddLocation(NPC, -407.46, -60.48, 174.23, 2, math.random(5, 15))
  11. MovementLoopAddLocation(NPC, -420.76, -60.86, 180.15, 2, math.random(5, 15))
  12. MovementLoopAddLocation(NPC, -425.42, -61.32, 186.58, 2)
  13. MovementLoopAddLocation(NPC, -424.20, -61.98, 190.47, 2, math.random(5, 15))
  14. MovementLoopAddLocation(NPC, -410.19, -62.87, 189.81, 2, math.random(5, 15))
  15. MovementLoopAddLocation(NPC, -406.82, -60.56, 174.38, 2, math.random(5, 15))
  16. end
  17. function respawn(NPC)
  18. spawn(NPC)
  19. end