Jump to content

Scripting Help - Sorting Containers


wizardmirth

Recommended Posts

Ok I have it fixed in my script now anyway. I haven't tried your script yet but I will for the next container type and adapt it.

 

The last thing I want to be able to do here though is to reference the current inventory counts in the messagebox. My understanding is that you can't have more than 10 references in this way and there are 11 different ingot types. Is there a way I can call 11 or will I have to make a separate message for the 11th item and call it there?

 

What I really can't seem to figure out though is how do I call a misc object like IngotCorundum and then ref that count in the messagebox? I know how to format it in the messagebox but not in the script. Here's the best I could figure without any compile errors....

;declared....
MiscObject Property IngotCorundum Auto  
Int corundum

;in a block...
corundum = Player.GetItemCount(IngotCorundum)
Int Button = wmMHHSorterIngotsMSG.Show(0.0)


No errors but this does not return anything but 0 if I have 1 or more of this type in inventory in the message box. Oh and did set the property in the tab too.

Edited by wizardmirth
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...