My game is in pre-development while I work on the custom GUIs.
Here, text is displayed when using "look" on an inventory item.
Code: ags
It displays in this black box...

The xy coordinates are perfect but the text is breaking to a new line too early. In the above example, it could still fit "blood is" before breaking a line. I need some help to tell the engine when to break a line; not too early, not too late. I should note that the gTextBorder GUI is using a blank 10x10 png for its border, with no background image. The black box is part of the room's background. Any help would be greatly appreciated. Thanks!
Here, text is displayed when using "look" on an inventory item.
function iScalpel_Look()
{
DisplayAt (172,555,525, "The scalpel's tempered steel is cold, the blood is still wet. You never did like sharp things.");
}
It displays in this black box...

The xy coordinates are perfect but the text is breaking to a new line too early. In the above example, it could still fit "blood is" before breaking a line. I need some help to tell the engine when to break a line; not too early, not too late. I should note that the gTextBorder GUI is using a blank 10x10 png for its border, with no background image. The black box is part of the room's background. Any help would be greatly appreciated. Thanks!
