Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: thiezar on Wed 12/10/2011 16:50:24

Title: Where do global messages are in new versions? [SOLVED]
Post by: thiezar on Wed 12/10/2011 16:50:24
I'm sorry, I looked everywhere and did a lot of searches but I can't find where to edit global messages and global strings :-S
Where are them?
Title: Re: Where do global messages are in new versions?
Post by: steptoe on Wed 12/10/2011 17:02:32
If you are using the latest version (3.2) then the Global Scripts are in the tree pane on the right of the main window. It called 'Scripts'. Above it is Global Variables where you make your own variables.

steptoe


Title: Re: Where do global messages are in new versions?
Post by: thiezar on Wed 12/10/2011 17:20:35
I'm not looking for global variables.I'm looking for for global messages, those numbered >500 in older versions.
I'm making a restyling of a game developed with version 2.7 and there are some codelines like "DisplayMessage(502)" but I can't find this Message 502!
Title: Re: Where do global messages are in new versions?
Post by: Khris on Wed 12/10/2011 18:05:11
They are obsolete and you cannot edit them any longer with newer versions of AGS.

What you can do is make a backup(!), then open Game.agf in a text/XML editor and change the string directly.
This might break your game!

Btw, this was asked by somebody else recently, please use the forum search before opening a thread.
Title: Re: Where do global messages are in new versions?
Post by: thiezar on Wed 12/10/2011 18:12:22
Thank you for your answer.
I have to say I really respect forums like this where people can help you and I try to follow rules as much as possible and so I do in this forums doing A LOT of searches. Even for this problem. But, man... this forum's search is SO INEFFICIENT!  ::)
Title: Re: Where do global messages are in new versions?
Post by: Khris on Wed 12/10/2011 18:31:19
True, it's not always easy to find a useful topic right away.

This is the thread I meant:
http://www.adventuregamestudio.co.uk/yabb/index.php?topic=44494.0