eq2emu-content/SpawnScripts/Castleview/VennipOgbin.lua
2024-10-26 11:37:28 +00:00

23 lines
No EOL
604 B
Lua
Executable file

--[[
Script Name : SpawnScripts/Castleview/VennipOgbin.lua
Script Author : Dorbin
Script Date : 2022.10.29 04:10:48
Script Purpose :
:
--]]
dofile("SpawnScripts/Generic/GenericEcologyVoiceOvers.lua")
function spawn(NPC)
SetPlayerProximityFunction(NPC, 7, "InRange", "LeaveRange")
SetInfoStructString(NPC, "action_state", "drinking_idle")
end
function hailed(NPC, Spawn)
FaceTarget(NPC, Spawn)
GenericEcologyHail(NPC, Spawn, faction)
end
function InRange(NPC,Spawn)
GenericEcologyCallout(NPC, Spawn, faction)
end