Hey GiL,
I have like enchanting process in the game, that when finished, needs to change item's icon so then it can be displayed in other menus for better visibility.
To ease out things, player has this item always equipped on equipment part 23.
Can you please tell me how do I access the shared player inventory item ID:0 that is already equipped and change the icon?
I assume that I have to use resources folder, where I'll put image name Hammer01, which would be
#resources.iconHammer01#.
First I just need to check what equipment variable the equipment has. In order to identify which icon to set, I'm using equipment variables
ItemName that always has each equipment name in it:
ORK.Game.Combatant.GetEquipment(int 23).Variables.Get (ItemName, value);
Then based on it I can change the icon:
If (ItemName.value => Hammer01)
ORK.Game.Combatant.GetEquipment(int 23).Icon.Set.resources.iconHammer01;
I have no idea what I'm doing here :)