BankerBogfoot.lua 856 B

12345678910111213141516171819202122232425262728
  1. --[[
  2. Script Name : SpawnScripts/QueensColony/BankerBogfoot.lua
  3. Script Author : Zcoretri
  4. Script Date : 2015.07.30
  5. Script Purpose : Banker Bogfoot dialog
  6. Modified Date : 2020.08.04
  7. Modified by: premierio015
  8. Notes : Added animation
  9. --]]
  10. function spawn(NPC)
  11. hailed(NPC, Spawn)
  12. EmoteLoop(NPC)
  13. end
  14. function repsawn(NPC)
  15. spawn(NPC)
  16. end
  17. function hailed(NPC, Spawn)
  18. FaceTarget(NPC, Spawn)
  19. PlayFlavor(NPC, "voiceover/english/voice_emotes/greetings/greetings_3_1040.mp3", "As a banker it is my job to hold items and coin for you for safe-keeping. If you would like to learn more, speak with Trainer Zidget Sprogrudder. She is just east of me, around the corner.", "", 0, 0, Spawn)
  20. end
  21. function EmoteLoop (NPC)
  22. PlayAnimation(NPC, 13008)
  23. AddTimer(NPC, 15000, "EmoteLoop")
  24. end