Status bar

Started by Edward Becket, Mon 21/07/2003 10:19:03

Previous topic - Next topic

Edward Becket

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?
Excuse my english! I'm Italian! And not so good at school :-àž

Necro

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

Edward Becket

Soorryy... but i don't find it... can you explain me better?
Excuse my english! I'm Italian! And not so good at school :-àž

SMF spam blocked by CleanTalk