My.First.MMO
Active Member
With the latest update, how do you get the currently opened/viewing vending container?
Maybe there's a better way. If I just want to run through a single container (like the one I have currently have opened) to check for the best prices. Is it possible without actually coding that specific container in the code? Perhaps a loop for ${Me.Vending.IsOpened}? Something simple like:
If not, not a huge deal. The new/current way of doing the vending[].consignment[] is a much better way of handling items. It opens up a whole lot more possibilities which I'm sure someone will take full advantage of.
Previously, the current opened container was the only one that was used. I want to check an item on whichever container I have currently opened in the broker window is it possible without hard coding the Vending into the script?* The "Vending" Member of the 'character' datatype will now change your current vending container based upon the one you are using via the member.
For example, if you're currently viewing the first container, and you do something like "echo ${Me.Vending[2].Consignment[1]}" ISXEQ2 will change
your vending container to make this items available to you.
Code:
echo ${Me.Vending[i].Consignment[1].Name}
Code:
MyCurrentContainer:Set[${Me.Vending.CurrentlyOpenedContainer}]
echo ${Me.Vending[${MyCurrentContainer}].Consignment[i].Name}