Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: on Sat 19/06/2004 19:25:10

Title: Setting label text
Post by: on Sat 19/06/2004 19:25:10
I've got an serious problem. I want to display on label text which is an character variable (string, but one of he's properties)
Please help.
Title: Re: Setting label text
Post by: Ashen on Sat 19/06/2004 19:30:03
string buffer;
GetCharacterPropertyText(EGO, "Property", buffer);
SetLabelText(GUI, LABEL, buffer);

(Obviously set what chracter, property, GUI and LABEL you want).

As for where you put it, that would depend how you want it to behave.