ashadyfurrier2.lua 638 B

123456789101112131415161718192021222324252627282930313233
  1. --[[
  2. Script Name : SpawnScripts/OakmystForest/ashadyfurrier2.lua
  3. Script Author : Dorbin
  4. Script Date : 2022.01.16 06:01:28
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. Action(NPC)
  10. end
  11. function ChooseMovement(NPC)
  12. local choice = math.random(1, 4)
  13. if choice == 1 then
  14. clockwise1(NPC)
  15. elseif choice == 2 then
  16. clockwise2(NPC)
  17. elseif choice == 3 then
  18. counter_clockwise1(NPC)
  19. elseif choice == 4 then
  20. counter_clockwise2(NPC)
  21. end
  22. end
  23. function hailed(NPC, Spawn)
  24. FaceTarget(NPC, Spawn)
  25. end
  26. function respawn(NPC)
  27. spawn(NPC)
  28. end