23 lines
No EOL
444 B
Lua
Executable file
23 lines
No EOL
444 B
Lua
Executable file
--[[
|
|
Script Name : SpawnScripts/qeynos_combined02/acaninewatcher.lua
|
|
Script Author : Rylec
|
|
Script Date : 2021.10.03 12:10:22
|
|
Script Purpose :
|
|
:
|
|
--]]
|
|
|
|
function spawn(NPC)
|
|
SetPlayerProximityFunction(NPC, 10, "InRange")
|
|
end
|
|
|
|
function hailed(NPC, Spawn)
|
|
FaceTarget(NPC, Spawn)
|
|
end
|
|
|
|
function respawn(NPC)
|
|
spawn(NPC)
|
|
end
|
|
|
|
function InRange(NPC, Spawn)
|
|
FaceTarget(NPC, Spawn)
|
|
end |