Hello, I got RL map and now im trying to add Oken, Pyre and Gengia. But I dont get the boat to work. I added it in all boat npc and added this text in Boat.lua
and ofc I changed it in every npc. But still dont work, I can tp to gengia etc and go to Thais etc with the captain on gengia etc.
I know that is one thing to change more, more down in boat.lua. I putted this text in:
What is wrong?
thanks in adward.
PHP:
---------------------------------------GENGIA CONFIG-------------------------------------------
local AnkPosition = {x=19270, y=19180, z=6} ----> Destination from Gengia Boat <----
local AnkCost = 0 ----> Cost to Travel for Gengia <----
Ank = true ----> TRUE:Working/FALSE:Not Working <----
---------------------------------------END GENGIA CONFIG---------------------------------------
and ofc I changed it in every npc. But still dont work, I can tp to gengia etc and go to Thais etc with the captain on gengia etc.
I know that is one thing to change more, more down in boat.lua. I putted this text in:
PHP:
---Gengia-----------------------------------------------------------------------------------------------------------------------------------------
local GengiaText = 'Do you want to Travel to Gengia for 10 gold coins?'
local GengiaTextNo = 'Ok, come back when you want then!'
local NoTravel = 'Sorry, i do not travel to this city..'
local GengiaLvl = 8
local GengiaPremium = true --True/false
--Gengia--
if Gengia == true then
local travelNode = keywordHandler:addKeyword({'gengia'},
StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = GengiaText })
travelNode:addChildKeyword({'yes'}, StdModule.travel, {npcHandler = npcHandler, premium = GengiaPremium, level = GengiaLvl, cost = GengiaCost, destination = GengiaPosition })
travelNode:addChildKeyword({'no'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, reset = true, text = AnkTextNo })
else
local travelNode = keywordHandler:addKeyword({'gengia'}, StdModule.say, {npcHandler = npcHandler, onlyFocus = true, text = NoTravel })
end
--End Gengia--
---------------------------------------------------------------------------------------------------------------------------------------------------
What is wrong?
thanks in adward.