123456789101112131415161718192021222324252627282930313233 |
- --[[
- Script Name : SpawnScripts/Baubbleshire/Fullgrin.lua
- Script Purpose : Fullgrin <Guard>
- Script Author : Scatman
- Script Date : 2009.09.25
- Script Notes :
- --]]
- dofile("SpawnScripts/Generic/GenericGuardVoiceOvers.lua")
- function spawn(NPC)
- SetPlayerProximityFunction(NPC, 10, "InRange", "LeaveRange")
- end
- function respawn(NPC)
- spawn(NPC)
- end
- function InRange(NPC, Spawn)
- CheckFaction(NPC, Spawn, "Qeynos")
- if CheckFaction == Qeynos then
- FaceTarget(NPC, Spawn)
- GenericGuardHail(NPC, Spawn)
- end
- end
- function LeaveRange(NPC, Spawn)
- end
- function hailed(NPC, Spawn)
- FaceTarget(NPC, Spawn)
- GenericGuardHail(NPC, Spawn)
- end
|