Hi there,
I'm using a Sierra-type GUI. When EGO picks up an item, I have the cursormode automatically set to 'using an inv item', and the cursor image changed from the black-and-white bag icon to the sprite used for said item. This part works.
However, in the GUI icon bar, I have this box with an @INV tag (or however it's spelled) that shows the active inventory item. How do I change this? So far it only displays the item correctly if I pop up my inventory window and select the item again, not when I first pick it up.
By the way, why is there no 'SetInvProperty[Text]' command?
Well, if you set the cursor mode with something like:
{
AddInventory(3); // to add the new item
SetActiveInventory(3); // set the new item as the active item
SetCursorMode(MODE_USEINV); // set the inv cursor mode
}
It should work... Post your code here so we can see what's wrong, if it's a scripting problem.
Ah, it works now, thanks.
I was using character[EGO].activeinv = x rather than SetActiveInv, that may have made a difference.