darkfriend77
Member
- Joined
- Jun 14, 2011
- Messages
- 467
- Reaction score
- 2
hi,
there ... for some adjustment ... in the new trinity project we need to have inventory open when moving items ... like the sort stash or inventory ... or the weaponswap ...
thinking that ...
public void MoveItem(int itemId, int ownerId, Zeta.Internals.Actors.InventorySlot slot, int column, int row)
Member von Zeta.Internals.Actors.DiaActivePlayer.InventoryManager
would invoke an open Inventory window automaticly ... was wrong ...
so it seems that we get in the need to manage that our self?
with UIElment .. isvisible ...and open it ...
can u help us and just write which function would provide us with that functionality and how is a proper implementation ....
UIActions.ActionUIQuickInventoryKey .... ToggleInventoryMenu() ....
pseudo code:
if Inventory is not visible
open inventory window
move item
if Inventory is visible
close inventory window
maybee it would be easier to invoke it in all necessary functions ... so we dont have to care about ....
thx ..
there ... for some adjustment ... in the new trinity project we need to have inventory open when moving items ... like the sort stash or inventory ... or the weaponswap ...
thinking that ...
public void MoveItem(int itemId, int ownerId, Zeta.Internals.Actors.InventorySlot slot, int column, int row)
Member von Zeta.Internals.Actors.DiaActivePlayer.InventoryManager
would invoke an open Inventory window automaticly ... was wrong ...
so it seems that we get in the need to manage that our self?
with UIElment .. isvisible ...and open it ...
can u help us and just write which function would provide us with that functionality and how is a proper implementation ....
UIActions.ActionUIQuickInventoryKey .... ToggleInventoryMenu() ....
pseudo code:
if Inventory is not visible
open inventory window
move item
if Inventory is visible
close inventory window
maybee it would be easier to invoke it in all necessary functions ... so we dont have to care about ....
thx ..
Last edited: