9
3

TeahJNar.lua 819 B

12345678910111213141516171819202122232425262728293031323334
  1. --[[
  2. Script Name : SpawnScripts/Longshadow/TeahJNar.lua
  3. Script Purpose : Teah J'Nar
  4. Script Author : John Adams
  5. Script Date : 2008.09.29
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. function spawn(NPC)
  9. MoveToLocation(NPC, -1.79, 0, -19.09, 2, "AtDestination")
  10. end
  11. function respawn(NPC)
  12. spawn(NPC)
  13. end
  14. function hailed(NPC, Spawn)
  15. end
  16. function AtDestination(NPC)
  17. PlayFlavor(NPC, "", "Hmm, this bread tastes a bit better than normal, almost fresh.", "", 1689589577, 4560189, Spawn)
  18. Bread = GetSpawn(NPC, 1380102)
  19. Despawn(Bread, 1000)
  20. AddTimer(NPC, 3000, "Talk2")
  21. end
  22. function Talk2(NPC)
  23. PlayFlavor(NPC, "", "Wait.. Argh....", "", 1689589577, 4560189, Spawn)
  24. AddTimer(NPC, 2000, "KillTeah")
  25. end
  26. function KillTeah(NPC)
  27. KillSpawn(NPC, nil, 0)
  28. end