Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: Revan on Wed 23/11/2005 12:13:17

Title: Set character name, HELP
Post by: Revan on Wed 23/11/2005 12:13:17
hi I have used the tutorial to make the player choose a name, only when using there chosen name in dialog it just comes up with the variable used (i.e %s). I know this is because the game can't determin when I want it to say the name or just say "%s"... I can get the players name to be shown only through room script and then it has to be a message and not dialog like I want it to be... Any help would be apreciated...
Title: Re: Set character name, HELP
Post by: Ishmael on Wed 23/11/2005 13:52:11
You can't put it into dialog script, AFAIK, so you'll have to run-script a char.Say("..%s..", player.name); to achieve it.