Need a fast help with Messages!!!!

Started by , Sat 21/01/2006 13:46:50

Previous topic - Next topic

Tamlinn

Hi,
I'm working on my first game, and I'm constructing an interaction in the first room now. I tried to create some messages to display while you move your cursor over the hotspots and when you want to interact with them. The problem is that when I'm testing the game i I'm trying to move the cursor over a hotspot the game crashes and it displays the message: "Error:Message error:Invalid message number to display"
I have no idea what to do? What's wrong?
Please help.
THX.

strazer

There are two types of messages:
Each room can have messages 0-499 that are only available when the room is loaded. They can be edited from the "Room" menu in the "Room settings" pane, I think.
Then there are messages 500-999 which are available all the time, from all rooms and all scripts. These are the global messages and can be edited in the "Global messages" pane of the editor.

So what kind of message do you want to display and what script/action do you use to display the message?
I suspect that either the room containing your message isn't loaded or you're trying to display a global message and used the wrong message number.

TerranRich

I can help with a massage, I'm really good at them.

...

Oh, you mean MESSAGES. Whoops!
Status: Trying to come up with some ideas...

Tamlinn

Ok, so that's what I have done already:
In the area menu I have created several hotspots, and I want my character to interact with them (I want the character to say something about them). So in the INTERACT menu I have choosen the Interact option (Game - diplay a message), and then wrote a message (each has a number from 0 to 5). But when I'm testing the room the game crashes when I try to interact with a hotspot. When I tried to create a message that should be viewed as the cursor moves over hotspot the result was the same.
What is the reason of the situation?

P.S. Massage???? Yeah, my mistake.... Nice;)

strazer

Where have you wrote the messages? Remember, the messages you enter in the "Global messages" pane start at 500.

Personally, I find it easier to work with scripts (add "Run script" action and enter
  Display("This is message 1");
  Display("This is message 2");
for example).

Tamlinn

I've wrote the messages in the:
Areas=>Interaction=>interact hotspot (for example)
I'm a begginer, these are my first steps, so I don't know how to worl with the scripts, so the point&click default menu is much clearer for me.

But after your information, I managed to set the global message and It works!!!! Thanks very much!!! But tell my why I can't set the other type (room message)?? I try to set it with number 1 and I can't (to say the truth, after I re-enter the interact window and the particular message proerities window this function is again set to GLOBAL MESSAGE instead of ROOM MESSAGE... even if changed it earlier... Why??

pro_designer

I had same problem what you do is when putting in your message theres a white space next 2 it you have to put a number in there

SMF spam blocked by CleanTalk