Top/left speech suddenly is centered and without portrait

Started by antineff, Thu 05/06/2008 08:42:21

Previous topic - Next topic

antineff

Ich got a strange issue with a 2.72 compiled game. Strange, because I can't find an error in my coding since the dialog behaviour is defined in the "general settings" and with the character definition itself. Now what is defined and what happens?:

I defined the speech to be displayed in the left top corner and of course I defined a speech view for every character.  Now lets focus on one room with one additional character besides the EGO. The visible second character is definded as an object. Now it happens that the character disappears during the game and appears later after some special conditions are set (means, you did something right in the game). Now it is, that as long as the character is visible the first time, the dialog works properly. But, after it reappears, the dialog still works, with speech and so, but only the EGO speech is displayed correct. The speech of the second character is centered on the screen and appears without portrait (still in the colored character speech, not only plain text), although it is still the same dialog as before.

Is there anybody who has an idea of what could be the reason for that?
coming soon (or later, sorry!)

Pumaman

If the character is not visible in the current room, their speech will be displayed in the centre of the screen.

To avoid this, put the character into the room, but set them to a position off the edge of the screen (for example) where they won't be seen.

antineff

Wow, sometimes it's so easy...

Maybe you transfer this thread to the beginners Forum.   ::)

Thank you very much!!!

In fact to work around this prob, I run a script under "Player enters room" and put the line "character[BOY].ChangeRoom(25);" on top (where 25 stands for the number of the *current* room). I think I do not need to place the character somewhere with a further script command, since I defined an empty picture frame as the normal view of the character. In the game the player is actually talking to an animated object which looks like the character. (Of course I have defined a starting position in the characters definition, but it is somewhere in the picture. It doesn't matter.) (Hope thie might help somebody else...)
coming soon (or later, sorry!)

SMF spam blocked by CleanTalk