9
3

aDuskProwler_(3).lua 784 B

1234567891011121314151617181920
  1. --[[
  2. Script Name : SpawnScripts/Darklight/aDuskProwler_(3).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 579884)
  7. Script Notes : Between Hate's Envy and the Thexian burial chamber
  8. --]]
  9. function spawn(NPC)
  10. MovementLoopAddLocation(NPC, -440.22, -62.06, 202.13, 2, math.random(5, 15))
  11. MovementLoopAddLocation(NPC, -436.73, -62.59, 210.57, 2, math.random(5, 15))
  12. MovementLoopAddLocation(NPC, -430.28, -62.31, 202.35, 2)
  13. MovementLoopAddLocation(NPC, -423.73, -62.66, 196.53, 2, math.random(5, 15))
  14. MovementLoopAddLocation(NPC, -435.33, -60.32, 189.45, 2, math.random(5, 15))
  15. end
  16. function respawn(NPC)
  17. spawn(NPC)
  18. end