Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: shaun9991 on Wed 06/05/2020 22:22:07

Title: Character description in action text issue
Post by: shaun9991 on Wed 06/05/2020 22:22:07
Hey guys,

I'm working on our next game and I want to try an interface where the player hovers over an object or character, and the action box text will say a description (in effect, removing a right click and replacing it with mouse-over description). To do this I'm just putting the description of the object/character in the Object Description/Character RealName box.

I've noticed that for characters, this doesn't work if the character RealName is too long. It cuts the description short and adds the ScriptName instead. It's sort of hard to describe but you can see it in the images below (forgive the unfinished art!). You can see the second image shows the cMan3 ScriptName has somehow added itself to the description and cut off the RealName text.

[imgzoom]https://i.ibb.co/D989WjX/cards.png[/imgzoom]

[imgzoom]https://i.ibb.co/RYJgcdm/cards2.png[/imgzoom]

Does anyone know how I might fix this?

Many thanks,
Shaun
Title: Re: Character description in action text issue
Post by: Khris on Wed 06/05/2020 22:55:33
Yeah, descriptions have a hard length limit of 50 characters or so.
Use can use a custom text property instead.
Title: Re: Character description in action text issue
Post by: shaun9991 on Thu 07/05/2020 12:09:38
Thanks Khris!

Good to know. I will make a custom setting :)