InquisitorIrizan.lua 703 B

1234567891011121314151617181920212223242526272829
  1. --[[
  2. Script Name : SpawnScripts/Commonlands/InquisitorIrizan.lua
  3. Script Author : Premierio015
  4. Script Date : 2021.01.02 08:01:27
  5. Script Purpose :
  6. :
  7. --]]
  8. function spawn(NPC)
  9. SetPlayerProximityFunction(NPC, 15, "InRange", "LeaveRange", Spawn)
  10. end
  11. function hailed(NPC, Spawn)
  12. FaceTarget(NPC, Spawn)
  13. end
  14. function respawn(NPC)
  15. spawn(NPC)
  16. end
  17. function InRange(NPC, Spawn)
  18. FaceTarget(NPC, Spawn)
  19. PlayFlavor(NPC, "voiceover/english/inquisitor_irizan/commonlands/guard/025_inquisitor_irizan_callout_c2c3956c.mp3", "Stop! Get over here, now!", "", 15134358, 3354118545, Spawn)
  20. end
  21. function LeaveRange(NPC, Spawn)
  22. end