9
3

aDuskProwler_(2).lua 784 B

1234567891011121314151617181920
  1. --[[
  2. Script Name : SpawnScripts/Darklight/aDuskProwler_(2).lua
  3. Script Purpose : To Keep a dusk prowler from walking through walls
  4. Script Author : Cynnar
  5. Script Date : 10/14/2015
  6. Script Notes : A Dusk Prowler (spawn_id 340054) (spawn_location_id 579886)
  7. Script Notes : Between Hate's Envy and the Thexian burial chamber
  8. --]]
  9. function spawn(NPC)
  10. MovementLoopAddLocation(NPC, -420.55, -61.99, 187.73, 2, math.random(5, 15))
  11. MovementLoopAddLocation(NPC, -421.35, -61.55, 184.83, 2)
  12. MovementLoopAddLocation(NPC, -433.86, -60.58, 189.97, 2, math.random(5, 15))
  13. MovementLoopAddLocation(NPC, -436.84, -62.35, 204.51, 2, math.random(5, 15))
  14. MovementLoopAddLocation(NPC, -426.16, -62.16, 198.32, 2, math.random(5, 15))
  15. end
  16. function respawn(NPC)
  17. spawn(NPC)
  18. end