hi,
i have yet another problem, this time with my gui. I am trying to make a scrollable inventory which displays the name of the item the player has selected. The code bellow works but the name of the selected item does not appear until you have cosed and reopened the gui. Is there a better way of coding this, or maybe using someother text box or display function?
if (player.activeinv >=1) {
Ã, Ã, Ã, string buffer;Ã,Â
GetInvName (game.inv_activated, buffer);
SetLabelText(0,5,buffer);
}
else {} //else do nothing
thanks
Where have you put that code?
If your inventory GUI isn't popup-modal, it should work if it you put it in rep_ex. Alternatively, setting the label text to @OVERHOTSPOT@ should also work.