Jump to content
  • 0

Npc that opens gift boxes


shinigamyusuky

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  2
  • Reputation:   0
  • Joined:  08/16/13
  • Last Seen:  

Hello, I would like to know what command to a npc open a gift box,old blue box or purple box , I will ask the npc ready, I tried but not found in wikiRA

 

thanks for helping

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Developer
  • Topic Count:  10
  • Topics Per Day:  0.00
  • Content Count:  2407
  • Reputation:   613
  • Joined:  07/05/12
  • Last Seen:  

You can give an item from an obb etc... with getrandgroupitem command.

prontera,150,150,5	script	open box	89,{
	mes "I give an item in the obb, like if I opened it.";
	getrandgroupitem(IG_BlueBox),1;
	close;
}
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  2
  • Reputation:   0
  • Joined:  08/16/13
  • Last Seen:  

thanks for trying, but do not want the NPC handed a box item but it will open the corresponding box as a gift box

 

 

prontera,150,150,5    script    open box    89,{
    mes "I give an item in the obb, like if I opened it.";

    mes " would like to open 50 gift boxes?"
 [command]   OPENGIFT BOX(IG_BlueBox),1;
    close;
}

 

 

this would be more or less

 

TY

Edited by shinigamyusuky
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...