:) Hi AGS forums user, i need a little help. I just stared a new game and i have this scene, style of broken sword or monkey island, when the main character have to be seated while he's speaking, but the problem is, i don't know what's the right command to do that.
I put cReaper.LockView(6)
cReaper.Animate(0, 3, eRepeat, eNoBlock, eForewards)
cReaper.Say("Hi");
Of course is wrong, completly wrong, but has i said, i'm a bigginer. What i should do for the Reaper (my character) speak while he's seated on a chair?
Thanks.
You can change the speech view like this:
cReaper.SpeechView = 6;
Just change it back to their normal one after they stood up again.
Also, to help make things more readable, you can give your views names. So you could then do something like:
cReaper.SpeechView = VREAPERSITSPEECH;
// say some things while sitting
cReaper.SpeechView = VREAPERSPEECH;
Oh, and you can put your code between the [code] and [/code] tags to format it like we did, which helps make it easier for us to see as your code (especially when you have longer snippets ;)).