JonasRollings.lua 957 B

1234567891011121314151617181920212223242526272829303132333435
  1. --[[
  2. Script Name : SpawnScripts/OutpostOverlord/JonasRollings.lua
  3. Script Purpose : Jonas Rollings <Guard>
  4. Script Author : John Adams - broken Emote loop fixed Lemmeron
  5. Script Date : 2008.09.23 - 22.8.2020
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. function hailed(NPC, Spawn)
  9. FaceTarget(NPC, Spawn)
  10. choice = math.random(1,2)
  11. if choice == 1 then
  12. PlayFlavor(NPC, "", "Maybe I shouldn't have drank so much last night.", "", 1689589577, 4560189, Spawn)
  13. elseif choice == 2 then
  14. PlayFlavor(NPC, "", "One too many Coagulated Surprises last night is my guess.", "", 1689589577, 4560189, Spawn)
  15. else
  16. end
  17. end
  18. function spawn(NPC)
  19. EmoteLoop(NPC)
  20. end
  21. function respawn(NPC)
  22. spawn(NPC)
  23. end
  24. function EmoteLoop(NPC)
  25. Say(NPC, "Your Sacrifice will be remembered! ADD PROXIMITY FUNCTION TO STOP SPAM")
  26. PlayAnimation(NPC, 10844)
  27. AddTimer(NPC, 20000, "EmoteLoop")
  28. end