ascarwurm.lua 417 B

1234567891011121314151617181920212223
  1. --[[
  2. Script Name : SpawnScripts/Darklight/ascarwurm.lua
  3. Script Author : Foof
  4. Script Date : 2013.11.17
  5. Script Purpose :
  6. --]]
  7. require"SpawnScripts/Generic/generic_fish_movement"
  8. function spawn(NPC)
  9. local choice = math.random(1,2)
  10. if choice == 1 then
  11. SpawnSet(NPC, "model_type", "197")
  12. end
  13. end
  14. function respawn(NPC)
  15. spawn(NPC)
  16. end
  17. function hailed(NPC, Spawn)
  18. FaceTarget(NPC, Spawn)
  19. end