Jump to content
  • 0

R>Monster Hunt NPC?


Rocky Road

Question


  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  72
  • Reputation:   0
  • Joined:  11/08/14
  • Last Seen:  

Hi guys,

 

Does anyone have an Monster Hunting NPC that will ask for an item before he ask you a favor to kill atleast 3 type of monster and after killing that monster he will grant you a 1 item? please i need some of this script thanks

Link to comment
Share on other sites

11 answers to this question

Recommended Posts

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

  • 0

  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  72
  • Reputation:   0
  • Joined:  11/08/14
  • Last Seen:  

Uhmm i know this script but does this script will ask you first for an item before he ask you a favor to kill a monster?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  77
  • Reputation:   0
  • Joined:  05/23/15
  • Last Seen:  

Check if ( item ( "item ID > "x amount") )

I'm not sure if I type it out correctly, but just add that check at the front of your script. Then the npc will only proceed to giving out mission if they have requirement.

Note I'm at work so I can't provide more accurate information

Edited by Rain408
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  72
  • Reputation:   0
  • Joined:  11/08/14
  • Last Seen:  

Check if ( item ( "item ID > "x amount") )

I'm not sure if I type it out correctly, but just add that check at the front of your script. Then the npc will only proceed to giving out mission if they have requirement.

Note I'm at work so I can't provide more accurate information

Thanks i will try it boss thanks for the help

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  77
  • Reputation:   0
  • Joined:  05/23/15
  • Last Seen:  

 

Check if ( item ( "item ID > "x amount") )

I'm not sure if I type it out correctly, but just add that check at the front of your script. Then the npc will only proceed to giving out mission if they have requirement.

Note I'm at work so I can't provide more accurate information

Thanks i will try it boss thanks for the help

 

 

Here the correct text:

 

if (countitem(7189) > 19) {

}

 

Here an exmaple

 

if (countitem("Item ID") > " item number") {

"your txt/quest"

}

else {

mes "sorry.";    // put whatever message you want

close;

}

 

There you go, an outline of how to set the item check

Edited by Rain408
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  72
  • Reputation:   0
  • Joined:  11/08/14
  • Last Seen:  

 

 

Check if ( item ( "item ID > "x amount") )

I'm not sure if I type it out correctly, but just add that check at the front of your script. Then the npc will only proceed to giving out mission if they have requirement.

Note I'm at work so I can't provide more accurate information

Thanks i will try it boss thanks for the help

 

 

Here the correct text:

 

if (countitem(7189) > 19) {

}

 

Here an exmaple

 

if (countitem("Item ID") > " item number") {

"your txt/quest"

}

else {

mes "sorry.";    // put whatever message you want

close;

}

 

There you go, an outline of how to set the item check

 

Do i just need to put that on the top of the script??

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  77
  • Reputation:   0
  • Joined:  05/23/15
  • Last Seen:  

 

 

 

Check if ( item ( "item ID > "x amount") )

I'm not sure if I type it out correctly, but just add that check at the front of your script. Then the npc will only proceed to giving out mission if they have requirement.

Note I'm at work so I can't provide more accurate information

Thanks i will try it boss thanks for the help

 

 

Here the correct text:

 

if (countitem(7189) > 19) {

}

 

Here an exmaple

 

if (countitem("Item ID") > " item number") {

"your txt/quest"

}

else {

mes "sorry.";    // put whatever message you want

close;

}

 

There you go, an outline of how to set the item check

 

Do i just need to put that on the top of the script??

 

 

if (countitem("Item ID") > " item number") {

"your txt/quest"// Add your script right here

}

else {

mes "sorry.";    // put whatever message you want

close;

}

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.01
  • Content Count:  452
  • Reputation:   33
  • Joined:  12/18/14
  • Last Seen:  

Something like this:

 

prt_in,89,72,6	script	Hunter Association	951,{

if(countitem(item_here)) > item_quantity){

function Chk;

...
}

else{

mes "Not enough.";
close;
}
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  72
  • Reputation:   0
  • Joined:  11/08/14
  • Last Seen:  

 

Something like this:

 

prt_in,89,72,6	script	Hunter Association	951,{

if(countitem(item_here)) > item_quantity){

function Chk;

...
}

else{

mes "Not enough.";
close;
}

then i will just add the whole script of monster hunting buttom of that script?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  34
  • Topics Per Day:  0.01
  • Content Count:  72
  • Reputation:   0
  • Joined:  11/08/14
  • Last Seen:  

Yup. The else would be at most bottom part.

cool thanks i will try it

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
Answer this question...

×   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...