CaptainRonia.lua 1.3 KB

12345678910111213141516171819202122232425262728293031323334
  1. --[[
  2. Script Name : SpawnScripts/ScaleYard/CaptainRonia.lua
  3. Script Purpose : Captain Ronia <Guard>
  4. Script Author : John Adams
  5. Script Date : 2008.10.01
  6. Script Notes : Auto-Generated Conversation from PacketParser Data
  7. --]]
  8. function spawn(NPC)
  9. SetMount(NPC, 6831)
  10. SetMountColor(NPC, 1, 1, 1, 255, 1, 1)
  11. MovementLoopAddLocation(NPC, 1.35, -4.83, 5.19, 3, 0)
  12. MovementLoopAddLocation(NPC, -2.36, -5.30, 2.25, 3, 0)
  13. MovementLoopAddLocation(NPC, -7.02, -5.57, -9.58, 3, 0)
  14. MovementLoopAddLocation(NPC, -1.16, -5.05, 2.85, 3, 0)
  15. MovementLoopAddLocation(NPC, 6.69, -4.59, 9.05, 3, 0)
  16. MovementLoopAddLocation(NPC, 17.25, -4.38, 11.80, 3, 0)
  17. MovementLoopAddLocation(NPC, 20.80, -4.38, 23.54, 3, 0)
  18. MovementLoopAddLocation(NPC, 19.88, -4.38, 31.79, 3, 0)
  19. MovementLoopAddLocation(NPC, 8.54, -4.38, 71.47, 3, 0)
  20. MovementLoopAddLocation(NPC, 20.18, -4.38, 24.56, 3, 0)
  21. MovementLoopAddLocation(NPC, 16.46, -4.38, 12.78, 3, 0)
  22. MovementLoopAddLocation(NPC, 4.75, -4.83, 9.05, 3, 0)
  23. end
  24. function hailed(NPC, Spawn)
  25. FaceTarget(NPC, Spawn)
  26. PlayFlavor(NPC, "voiceover/english/human_eco_evil_freeportmilitia/ft/eco/evil/human_eco_evil_freeportmilitia_10_gf_1236a75.mp3", "The Freeport Militia demands unconditional obedience among its ranks.", "", 70786309, 2889649459, Spawn)
  27. end
  28. function respawn(NPC)
  29. spawn(NPC)
  30. end