23 lines
No EOL
462 B
Lua
Executable file
23 lines
No EOL
462 B
Lua
Executable file
--[[
|
|
Script Name : SpawnScripts/Darklight/aghoulishNerian.lua
|
|
Script Author : theFoof
|
|
Script Date : 2013.11.27 10:11:09
|
|
Script Purpose :
|
|
:
|
|
--]]
|
|
|
|
function spawn(NPC)
|
|
local choice = math.random(1,2)
|
|
if choice == 1 then
|
|
SpawnSet(NPC, "model_type", "14043")
|
|
SpawnSet(NPC, "gender", "0")
|
|
end
|
|
end
|
|
|
|
function hailed(NPC, Spawn)
|
|
FaceTarget(NPC, Spawn)
|
|
end
|
|
|
|
function respawn(NPC)
|
|
spawn(NPC)
|
|
end |