Hello, I have in my game SierraWithBackgorund as Speech style in my general settings.
But there are sometimes which I prefer not showing the mugshots.
So I'm using
Speech.Style = eSpeechLucasarts;
in my script.
The first problem is that whenever the character speaks it turns in the mugshot, as the SpeechView is still the mugshot. Then I change the SpeechView to the standard view of the caracter, and then whenever the character speaks it does the walking movement.
How can I deal with this problem?
Regards.
Which exact behavior do you want to get?
If you want to have no speech animation at all, then set SpeechView to 0.
Quote from: Crimson Wizard on Wed 07/06/2023 20:54:38Which exact behavior do you want to get?
I want my character to have the standard view while he speaks, but without movement.
Quote from: Crimson Wizard on Wed 07/06/2023 20:54:38If you want to have no speech animation at all, then set SpeechView to 0.
I have just tried and I get this error: SetCharacterView: invalid view number
Quote from: nightmarer on Wed 07/06/2023 22:31:01Quote from: Crimson Wizard on Wed 07/06/2023 20:54:38If you want to have no speech animation at all, then set SpeechView to 0.
I have just tried and I get this error: SetCharacterView: invalid view number
Looks like it should be -1:
https://adventuregamestudio.github.io/ags-manual/Character.html#characterspeechview
SetCharacterView is not only the wrong command but also from the obsolete API. Are you using a really old version of AGS still?
You're supposed to do for instance
player.SpeechView = -1;