Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Edward Becket on Mon 21/07/2003 10:19:03

Title: Status bar
Post by: Edward Becket on Mon 21/07/2003 10:19:03
Ok, another question.
I'm trying to make a status bar and i want that when a object is selected from inventory the bar change and displays something like "Use @object@ whit @hotspot@".
Now... the one question became 2 separated questions.

1) How can i modify the label in my GUI so that it change? I'm trying to use the
SetLabelText (#Label#, #GUI#, "Text");
function but it doesn't works. Where can I read the LABEL nuber to use in this script? in the tutorial was written that it is displayed in the label preference window... but is not so (i have the 2.54 version).

2) Which is the @command@ that display in a label text the inventory selected?
Title: Re:Status bar
Post by: Necro on Mon 21/07/2003 13:58:13
Setlabeltext should work, make sure its in the repeatidly execute function, there is a tutorial i think in the lucas art style GUI about this that comes with AGS
Title: Re:Status bar
Post by: Edward Becket on Tue 22/07/2003 19:26:58
Soorryy... but i don't find it... can you explain me better?