If you ensure that nothing is on the cursor before 'summoning' a filled bag, you can probably get away with it.
It would limit the event to one bag with contents, which must go onto the cursor first, and then any 'loose' items afterwards.
You could always put in safety code to check that your bag ID is on the visible cursor, and empty, and then pile in the items
that you want in it.
If it's not visible, or empty, you could then just push the items to the cursor normally.
This is very doable..but, poses a risk of item loss if you're not 100% in-tune with what's going on behind the scenes.
EDIT: I reference the cursor explicitly because if room is not found in the 'regular' inventory, the returned available slot is always
SlotCursor.
__________________
Uleat of Bertoxxulous
Compilin' Dirty
|