Quote:
Originally Posted by Capella2009
quest_functions
Add: warp_kords
questlib.lua
I put only 5 in this example, you should put 30.. just continue the numbers.
Quest:
Try'it ;)
P.S. Then you must control de maps .. the conditions .. so you will use always "get_first_number" ;)
like: if get_first_number == 11 then pc.warp(XXXX00,XXXX00) end
|
I added the way you spoke
Add : warp_kords - quest_functions
Add :
Code:
function warp_kords()
return {
{459800,953900}, --Dt
{459800,953900}, --Tempel
{459800,953900}, --Donner
{459800,953900}, --Roter Wald
{459800,953900}, --Kap
{459800,953900}, --AD
{459800,953900}, --Lungsam
{459800,953900}, --NW
{459800,953900}, --Berg Sohan
{459800,953900}, --Bakra
{459800,953900}, --OT
{459800,953900}, --DC
{459800,953900}, --Bokjung
{459800,953900}, --AD
{459800,953900}, --Chunjo
{459800,953900}, --Nephritibucht
{459800,953900}, --Grotte1
{459800,953900}, --Grotte2
{459800,953900}, --Grotte Boss
{459800,953900}, --Sd2
{459800,953900}, --Sd3
{459800,953900}, --Sd Boss
{459800,953900}, --Yayang
{459800,953900}, --Shinsoo
{459800,953900}, --AD
{459800,953900}, --Wüste
{459800,953900}, --Schlangenfeld
{459800,953900}, --Jinno
{459800,953900}, --Feuerland
{459800,953900}, --Gautamarkliff
}
end
- questlib.lua
Add :
Code:
when info or button begin
local i = tonumber(input(cmdchat("Teleport GetInfo")))
if type(i) != "number" then return end
local warp = warp_kords()
if warp[i] == nil then return end
local get_first_number = warp[i][1]
chat("Your result of click: "..get_first_number.."")
end
- teleport.lua
And Still did not work, I would be grateful if it were possible you level up your files as Explos.