9
3

aSapswillscout3.lua 659 B

123456789101112131415161718192021222324252627282930
  1. --[[
  2. Script Name : SpawnScripts/QueensColony/aSapswillscout3.lua
  3. Script Author : Premierio015
  4. Script Date : 2020.07.18 07:07:21
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. AddTimer(NPC, 5000, "EmoteLoop")
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. end
  14. function respawn(NPC)
  15. spawn(NPC)
  16. end
  17. function EmoteLoop(NPC)
  18. local choice = math.random(1, 2)
  19. if choice == 1 then
  20. PlayAnimation(NPC, 11256)
  21. AddTimer(NPC, 7000, "EmoteLoop")
  22. else
  23. PlayAnimation(NPC, 11976)
  24. AddTimer(NPC, 8500, "EmoteLoop")
  25. end
  26. end