9
3

ATunarianElder.lua 733 B

1234567891011121314151617181920212223242526272829303132
  1. --[[
  2. Script Name : SpawnScripts/CircleElders/ATunarianElder.lua
  3. Script Author : premierio015
  4. Script Date : 2020.05.24 04:05:29
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. EmoteLoop(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. end
  14. function respawn(NPC)
  15. end
  16. function EmoteLoop (NPC) -- Animations
  17. local choice = math.random(1,2)
  18. local timer = math.random(2500,3500)
  19. if choice == 1 then
  20. PlayAnimation(NPC, 10961)
  21. AddTimer(NPC, timer, "EmoteLoop")
  22. else
  23. PlayAnimation(NPC, 10963)
  24. AddTimer(NPC, timer, "EmoteLoop")
  25. end
  26. end