mirror of
https://github.com/emagi/eq2emu-content
synced 2026-08-12 20:23:03 -04:00
27 lines
No EOL
525 B
Lua
Executable file
27 lines
No EOL
525 B
Lua
Executable file
--[[
|
|
Script Name : SpawnScripts/Commonlands/aMilitiaGuard.lua
|
|
Script Author : Premierio015
|
|
Script Date : 2021.05.30 08:05:13
|
|
Script Purpose :
|
|
:
|
|
--]]
|
|
|
|
require "SpawnScripts/Generic/NPCModule"
|
|
|
|
function spawn(NPC)
|
|
NPCModule(NPC, Spawn)
|
|
SetAggroRadius(NPC, 20)
|
|
AddTimer(NPC, 180000, "despawn", 1)
|
|
end
|
|
|
|
function despawn(NPC, Spawn)
|
|
Despawn(NPC)
|
|
end
|
|
|
|
function hailed(NPC, Spawn)
|
|
FaceTarget(NPC, Spawn)
|
|
end
|
|
|
|
function respawn(NPC)
|
|
spawn(NPC)
|
|
end |