I haven't been able to find the list in the manual or in the forum search.
Also, how do you create your own custom global messages and room messages?
Also, I've seen references to a "room message editor" in the manual. Where is that?
Thanks!
I think, and i could be wrong here, that if you are running 3.0 there are no more global messages anymore.
So what happens if you have a game with extensive GMs and you transfer it to 3.0?
Well, you'll learn an important lesson about version compatibility, I guess :=
I think you can still get global messages using the Game.GlobalMessages[int message] command, ie. something like
Quote from: The manual ;)
String message = Game.GlobalMessages[997];
Display("Global message 997 says: %s", message);
But you can't set them or view them in the editor in AGS 3.0
Ah, here we go, another quote from the manual
Quote from: The manual
Global Messages
Global Messages are no longer supported and should be considered obsolete -- there's really no need for them now that the interaction editor has gone. Any global messages that you had will be retained and will still work, however the AGS 3 editor provides no way to edit them. If you need to change one, just replace the DisplayMessage command with a normal Display() command.
Ouch, maybe somebody should write an editor plugin for that?
Thank you. It's a relief to know I was looking for something that no longer exists. Much better than looking for something that's right there if you could only see it. :)
This may be surprising, but I would actually miss them...
They're the most convenient way of arranging an array of predefined messages.
I'm not trying to intentionally bump an old thread but I was searching for global messages information and this thread seemed relevant. So if they're obsolete, then what(if any) is the replacement for using repetitive messages?
As a sort of patchwork solution, you could declare a String in your globalscript and then export it.
at the beginning of your global script:
String Example;
In Game_Start:
Example = "Your text here"
At the end of the globalscript you write:
export Example;
In the global header (Globalscript.ash) you add:
import String Example;
You can then access Example from every script.
If this is a flawed solution, could a real programmer please correct me, and if someone released a module that would of course be more ideal.
Quote from: Twin Moon on Mon 24/03/2008 14:34:09
If this is a flawed solution, could a real programmer please correct me, and if someone released a module that would of course be more ideal.
Dunno, that's how I usually do it.
Upd: grammar grammar grammar grammar grammar