Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: foz on Thu 12/02/2009 12:32:35

Title: Having trouble i am trying to just display info in a GUI label..........
Post by: foz on Thu 12/02/2009 12:32:35
Having trouble working out the scripting name changes since i used older versions....

What i want to do is place a few game stats in the GUI....labels.

But cant understand how....the Label.text command wont allow me to place an INT value in it...

All i need is for the Label to display the info held in a INT.....so i get it in the GUI Labels.....

whilst the game continues....so the display function is no good...

Thanks
Title: Re: Having trouble i am trying to just display info in a GUI label..........
Post by: Khris on Thu 12/02/2009 13:17:35
Label.Text = String.Format("%d", i);
Title: Re: Having trouble i am trying to just display info in a GUI label..........
Post by: foz on Thu 12/02/2009 15:38:38
Thanks mate......still trying to suss what all the old commands are now.....its like starting from scratch.
Title: Re: Having trouble i am trying to just display info in a GUI label..........
Post by: Trent R on Thu 12/02/2009 21:59:41
Quote from: foz on Thu 12/02/2009 15:38:38
Thanks mate......still trying to suss what all the old commands are now.....its like starting from scratch.
Well, the manual states the old commands under the entry of the new command that obsoletes it. (Don't know if that sentence made sense...)


~Trent
Title: Re: Having trouble i am trying to just display info in a GUI label..........
Post by: foz on Sat 14/02/2009 09:12:13
Yes it made sense.......still having a bit of trouble...lots of trial and error...thanks