I was looking through the manual to see if I could come up with a clever way to make multi colored credit texts when I stumbled across DrawMessageWrapped. Great! I think, but then I notice.. It doesn't take a string input but an integer referrring to a... room message? Seeing as I'm using AGS 3.0.2 I am therefore somewhat puzzled, as I thought global AND room messages were done away with for good... How do I define a Room Message? Or better yet, why doesn't DrawMessageWrapped take a direct string input?
Mike
EDIT: Okay I found out where to do the room messages, but I think it would be best to do away with the backwardness of this function, in line with how DisplayMessage was changed to the much simpler Display.
Hehe, uh,
http://www.adventuregamestudio.co.uk/manual/DrawingSurface.DrawStringWrapped.htm
Oops, missed that one. But that leads me to the question: if DrawStringWrapped exists, why is the other one there with it's "obsolete" implementation?
Backwards compatibility, I guess.
Global messages are obsolete and were removed, but room messages still exist. You can find them by opening a room, going to the Properties pane, finding the "Messages" entry and clicking the "..." button.
They are still useful on occasion, in particular because if you wanted a very long string it might exceed the script editor's line length limit.