Jump to content

penge chain quest npc ung ganto


Recommended Posts


  • Group:  Members
  • Topic Count:  161
  • Topics Per Day:  0.04
  • Content Count:  429
  • Reputation:   5
  • Joined:  11/21/11
  • Last Seen:  

map: Questshop1 ,Questshop2

example

1st npc [Level 1 Quest]

requirements

607,100;

pag katpos nya matapos ung level 1 quest makakawarp na sya sa sa Questshop 1

tapos bago nya din makausap ung quest shop 2 dpat matapos nyo muna ung quest shop 1 qng hindi hindi sya makakapag quest sa quest shop 2

 

2nd npc [level 2 quest]

requirements

607,200;

pag katapos nito makakawarp na sya sa mapa ng QuestShop2

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

Typical quest can be done using getitem, delitem and countitem.

prontera,150,150,0    script    Quest1    100,{
    // when done 
    set #done, 1; // Remove # if you want it to be character based
    end;
}

prontera,100,100,0    script    Quest2    100,{
    if ( #done ) {
        // You complete Quest1 do anything...
    } else {
        // You don't complete Quest1 yet. Either terminate or do anything
    }
}
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  161
  • Topics Per Day:  0.04
  • Content Count:  429
  • Reputation:   5
  • Joined:  11/21/11
  • Last Seen:  

sir can you help me more :) can you add the name of the player who complete the quest? :) and also the format ? :)

 

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  50
  • Topics Per Day:  0.01
  • Content Count:  1702
  • Reputation:   238
  • Joined:  09/05/12
  • Last Seen:  

sir can you help me more :) can you add the name of the player who complete the quest? :) and also the format ? :)

 

// when done 
set #done, 1; // Remove # if you want it to be character based
announce strcharinfo(0)+ " has completed the quest!",0; // <- add
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.

×
×
  • Create New...