9
3

Mina.lua 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. --[[
  2. Script Name : SpawnScripts/ElddarGrove/Mina.lua
  3. Script Purpose : Mina
  4. Script Author : John Adams
  5. Script Date : 2008.09.28
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. function hailed(NPC, Spawn)
  9. FaceTarget(NPC, Spawn)
  10. choice = math.random(1,3)
  11. if choice == 1 then
  12. PlayFlavor(NPC, "voiceover/english/human_eco_good_1/ft/human/human_eco_good_1_hail_gf_43b0278c.mp3", "Good day to you. I trust your journey to our village was not overly hazardous.", "fullcurtsey", 374004507, 2165503793, Spawn)
  13. elseif choice == 2 then
  14. PlayFlavor(NPC, "voiceover/english/human_eco_good_1/ft/human/human_eco_good_1_hail_gf_bf6c3bd5.mp3", "Hello there, friend, I hope the day finds you well.", "nod", 2878226663, 595387800, Spawn)
  15. elseif choice == 3 then
  16. PlayFlavor(NPC, "voiceover/english/human_eco_good_1/ft/human/human_eco_good_1_hail_gf_c5cb5ec8.mp3", "Hail to you as well, traveler. There is much work to be done in Qeynos, might as well get started on it now.", "smile", 3197561806, 3190128247, Spawn)
  17. else
  18. end
  19. end
  20. function spawn(NPC)
  21. waypoints(NPC)
  22. end
  23. function respawn(NPC)
  24. end
  25. function waypoints(NPC)
  26. MovementLoopAddLocation(NPC, 610.73, -21.11, -232.03, 2, math.random(0,15))
  27. MovementLoopAddLocation(NPC, 634.45, -19.4, -257.15, 2, math.random(0,15))
  28. MovementLoopAddLocation(NPC, 653.33, -19.06, -269.45, 2, math.random(0,15))
  29. MovementLoopAddLocation(NPC, 683.06, -19.57, -277.29, 2, math.random(0,15))
  30. MovementLoopAddLocation(NPC, 699.51, -17.27, -324.09, 2, math.random(0,15))
  31. MovementLoopAddLocation(NPC, 716.17, -17.04, -329.63, 2, math.random(0,15))
  32. MovementLoopAddLocation(NPC, 734.96, -17.92, -326.29, 2, math.random(0,15))
  33. MovementLoopAddLocation(NPC, 743.56, -20.67, -334.42, 2, math.random(0,15))
  34. MovementLoopAddLocation(NPC, 734.96, -17.92, -326.29, 2, math.random(0,15))
  35. MovementLoopAddLocation(NPC, 716.17, -17.04, -329.63, 2, math.random(0,15))
  36. MovementLoopAddLocation(NPC, 699.51, -17.27, -324.09, 2, math.random(0,15))
  37. MovementLoopAddLocation(NPC, 683.06, -19.57, -277.29, 2, math.random(0,15))
  38. MovementLoopAddLocation(NPC, 653.33, -19.06, -269.45, 2, math.random(0,15))
  39. MovementLoopAddLocation(NPC, 634.45, -19.4, -257.15, 2, math.random(0,15))
  40. MovementLoopAddLocation(NPC, 610.73, -21.11, -232.03, 2, math.random(0,15))
  41. end