Jump to content
  • 0

Delitem3 can't delete items without random options.


FaelC

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  1
  • Reputation:   0
  • Joined:  12/09/19
  • Last Seen:  

Hello all,

Please, see if you guys can help me or if I need to suggest some changes to Delitem3 command.

 

I'm trying to delete and item without random options, and giving it back the exactly same item with random options.

I'm using Delitem2 to delete the item in question and using Getitem3 to give it back with the random options.

Ok, thats is good.

BUT

I came across a scenario that deletes an item WITH random options and is giving it back again with different random options. How?

Well, I have 2 Great bows, one has random options and the other don't.

When I use Delitem2 i'm deleting the wrong great bow (the one with the random options) and I'm giving it back to the player with different random options according to my system.

Basically giving the item a reroll for it's random options.

 

What I tried doing was using Delitem3 putting no info on the random options arrays, like this:
delitem3 <Great bow ID>, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0;

IT CRASHES, I need to inform the random options of the item. But if I do I can't delete the other Great bow which doesn't have random options.

Can someone help me how to solve this without using the getequipid / delequip ?

I'm trying to make a system so I can use the items on the inventory, not only the items equipped.

Thanks!!

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