Jump to content
  • 0

[SOLVED]getitem loop for a specific times


pajodex

Question


  • Group:  Members
  • Topic Count:  78
  • Topics Per Day:  0.03
  • Content Count:  436
  • Reputation:   167
  • Joined:  12/12/17
  • Last Seen:  

hi,

i dont know what title to use but here is what i mean.

how to make npc loop get item until specific times are reached? example:

i want to make ITEM A x 10.

instead of using getitem ID,AMT; i want it to loop getitem for 10 times.

why? i want to add 50% chance to get ITEM A when being produced by the npc. so the end result, i would only get ITEM A x SUCCESSFUL ITEM PRODUCED instead of getting 10 pcs.

yes, im making my self complicated for one of my crazy stuff in mind. thanks to whoever is willing to help.

 

Edit: 

found my answer at script_command.txt thanks ???

Edited by pajodex
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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