dancing_script.lua 438 B

12345678910111213141516171819202122232425
  1. --[[
  2. Script Name : SpawnScripts/Generic/dancing_script.lua
  3. Script Author : Cynnar
  4. Script Date : 2018.06.02 11:06:55
  5. Script Purpose : because I am bored
  6. :
  7. --]]
  8. function spawn(NPC)
  9. MakeDance(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. end
  14. function respawn(NPC)
  15. end
  16. function MakeDance(NPC)
  17. PlayFlavor(NPC, "", "", "dance", 0, 0)
  18. AddTimer(NPC, 8500, "MakeDance")
  19. end