Walterson.lua 495 B

1234567891011121314151617181920212223242526
  1. --[[
  2. Script Name : SpawnScripts/WillowWood/Walterson.lua
  3. Script Purpose : Walterson <Guard>
  4. Script Author : Scatman
  5. Script Date : 2009.09.25
  6. Script Notes :
  7. --]]
  8. dofile("SpawnScripts/Generic/GenericGuardVoiceOvers.lua")
  9. function spawn(NPC)
  10. SetPlayerProximityFunction(NPC, 10, "InRange")
  11. end
  12. function respawn(NPC)
  13. spawn(NPC)
  14. end
  15. function InRange(NPC, Spawn)
  16. CheckFaction(NPC, Spawn, "Qeynos")
  17. end
  18. function hailed(NPC, Spawn)
  19. FaceTarget(NPC, Spawn)
  20. GenericGuardHail(NPC, Spawn)
  21. end