Why does the command reapet 2 times?

Started by T_ed89, Mon 28/03/2005 15:11:02

Previous topic - Next topic

T_ed89

In one room (where you don't see the charakter)
I display 3 messages after echader, i'ts on the any click command, so you first click and a message displays then one more click and another message displays and the old goes away. After this three messages your supposed to be removed to another room but instead, the game repeat the messages again 2 times and then you go to the room. Thanks for helping

Ashen

I know what you're thinking ... Don't think that.

MillsJROSS

My suggestions, look in your script and see if you've had DisplayMessage(XX) more than once. If this isn't the case, it would be nice to see the code you are using in this room, as it's hard to help you if we have nothing to go on.

The best way to go about doing this originally, would be using the message editor, and clicking "include next message" or something similar (I don't have access to AGS at my current locale), except the last one. Then in your script just have it DisplayMessage(FirstMessage); and then a NewRoom command, and it all should work, without problems.

Also, sometime it's better to start from scratch, so if you're really having trouble, make a new room and save it over the room you're having problems with.

-MillsJROSS

T_ed89

Thank you guys, i did start the room all over and no it works good.

SMF spam blocked by CleanTalk