aChrykoriguard_patroller2.lua 903 B

1234567891011121314151617181920212223242526
  1. --[[
  2. Script Name : SpawnScripts/TimorousDeep/aChrykoriguard_patroller2.lua
  3. Script Purpose : Roaming guards
  4. Script Author : Scatman
  5. Script Date : 2008-09-01
  6. Script Notes :
  7. --]]
  8. function spawn(NPC)
  9. MovementLoopAddLocation(NPC, -402.93, 1.80, -0.26, 2, 0)
  10. MovementLoopAddLocation(NPC, -447.74, 1.80, -0.42, 2, 0)
  11. end
  12. function hailed(NPC, Spawn)
  13. FaceTarget(NPC, Spawn)
  14. choice = math.random(1, 2)
  15. if choice == 1 then
  16. PlayFlavor(NPC, "voiceover/english/rok_questvo/a_chrykori_lookout/_exp04/exp04_rgn_timorous_deep/sarnak/sarnak_lookout_hail_a639754.mp3", "We can converse later if you like.", "", 2866606885, 2815871155, Spawn)
  17. elseif choice == 2 then
  18. PlayFlavor(NPC, "voiceover/english/rok_questvo/a_chrykori_lookout/_exp04/exp04_rgn_timorous_deep/sarnak/sarnak_lookout_hail_dd9a183e.mp3", "Now is not the time.", "", 1408102759, 3899540373, Spawn)
  19. end
  20. end
  21. function respawn(NPC)
  22. end