Game Development Community

Main chat hud length?

by Randy Thomas · in Torque Game Engine · 09/14/2008 (9:44 am) · 1 replies

I found a tutorial that shows me how to add triggers that will print a message to the main message Hud, but I need the limit to be larger than 255. Changing the maxlength in mainchathud and chathud and messagehud don't seem to have an effect. Basically I want my students to walk through a trigger and information about where they are shows up. For example: the message Hud talks about the way goods were shipped in the 27th century. Does anyone know how I can make the messageHud expand it's limit of 255? Is there a better way to do something like this?

#1
09/14/2008 (11:48 am)
Ok, I found in the file guiTextCtrl.h the following line:
S32 mMaxStrLen; // max string len, must be less then or equal to 255
Does this mean that I am stuck with 255 characters or less? If I am, is there a way to get a trigger to show a message in a popup window that would allow more information?