• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

travel npc that gives residence

Knight God

Member
Joined
Oct 19, 2008
Messages
1,180
Reaction score
21
As the title says, it is possible that the npc to send you to another place gives you residence

My NPC of travel:

<npc name="Gregor" script="data/npc/scripts/travel4.lua" floorchange="0" access="5" level="1" maglevel="1">
<health now="150" max="150"/>
<look type="131" head="117" body="120" legs="121" feet="115" addons="3" corpse="2212"/>
<parameters>
<parameter key="module_travel" value="1"/>
<parameter key="message_greet" value="Hola |PLAYERNAME|. Para finalizar el camino del knight deves ir en este vote hasta tu main reward, para ir debes decir {main}" />
<parameter key="travel_destinations" value="main,221,658,7,0"/>
</parameters>
</npc>

SCRIPT:

local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)

function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end
function onThink() npcHandler:onThink() end

npcHandler:addModule(FocusModule:new())

Please help :)
 
Back
Top