9
3

adecayingdeadling.lua 586 B

1234567891011121314151617181920212223242526
  1. --[[
  2. Script Name : SpawnScripts/SunkenCity_Classic/adecayingdeadling.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2023.10.21 03:10:50
  5. Script Purpose :
  6. :
  7. --]]
  8. require "SpawnScripts/Generic/NPCModule"
  9. function spawn(NPC, Spawn)
  10. NPCModule(NPC, Spawn)
  11. RandomMovement(NPC, Spawn, 5, -5, 2, 8, 15)
  12. SetSpawnAnimation(NPC, 13016)
  13. if GetClass(NPC) ==31 then
  14. SetSeeHide(NPC,1)
  15. end
  16. end
  17. function respawn(NPC, Spawn)
  18. spawn(NPC)
  19. end
  20. function hailed(NPC, Spawn)
  21. FaceTarget(NPC, Spawn)
  22. end