Jump to content

warp quest esplicasion


Croqueta

Recommended Posts

es similar a la de Nova map_wap.quest pero con commentarios para que sepan que ase algo en la tabla y como creer algo asi

when 9009.chat."select in table " begin
   local tab={
   {469300,964200}, --mp1 1
   {55700,157900},  --mp1 2
   {969600,278400}, --mp1 3
   {217800,627200}, --des 1
   {221900,502700},  --des 2
   {344000,502500},  --des 3
   {352300,882700},  --mp2 1
   {145700,239800},  --mp2 2
   {863800,246000},  --mp2 3
   }
   say()
   if select("teleportation","cansel")==1 then
	if pc.is_gm() then
	  s= select("mp1 1","mp1 2","mp1 3","des1 1","des1 2","des1 3","next","cancel")
	 if s==8 then return end
	 if s== 7 then
	  s= select("mp2 1","mp2 2","mp2 3","cancel")+3
	 end
	else
	 return end
   else
	return
   end
   pc.warp(tab[s][1],tab[s][2])
  end
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...