JezranazRottingskin.lua 1004 B

1234567891011121314151617181920212223242526272829303132333435
  1. --[[
  2. Script Name : SpawnScripts/Freeport/JezranazRottingskin.lua
  3. Script Author : Premierio015
  4. Script Date : 2020.07.13 09:07:34
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. EmoteLoop(NPC)
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. conversation = CreateConversation()
  14. PlayFlavor(NPC, "voiceover/english/jezranaz_rottingskin/fprt_hood01/jezranazrottingskin000.mp3", "", "", 304055100, 199645713, Spawn)
  15. AddConversationOption(conversation, "Uh, I don't know, but it sure looks like you need one.")
  16. StartConversation(conversation, NPC, Spawn, "Curses, where is da doctor in the district?")
  17. end
  18. function EmoteLoop (NPC)
  19. local choice = math.random(1, 2)
  20. if choice == 1 then
  21. PlayAnimation(NPC, 308)
  22. AddTimer(NPC, 7000, "EmoteLoop")
  23. else
  24. PlayAnimation(NPC, 11676)
  25. AddTimer(NPC, 7000, "EmoteLoop")
  26. end
  27. end
  28. function respawn(NPC)
  29. spawn(NPC)
  30. end