I'm STILL getting an error message when using your camera code as a function:<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->RUNTIME ERROR - file: locations\locations_camera.c; line: 49
function must return value
RUNTIME ERROR - file: locations\locations_camera.c; line: 49
function 'locCameraRight' stack error<!--c2--></div><!--ec2-->
This is my code:<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->// a simple virtual sailor -->
bool locCameraRight(ref Character)
{
float a,b,c,locx,locy,locz,x,y,z,ay,d,e,f;
ref pchar = GetMainCharacter();
GetCharacterPos(pchar, &x, &y, &z);
a = x;
b = y;
c = z;
GetCharacterPos(Character, &x, &y, &z);
locy = b/2 + y/2 + 1.5;
d = a - x;
if (d < 0) {d = d *(-1)};
e = c - z;
if (e < 0) {e = e *(-1)};
GetCharacterAy(pchar, &ay);
f = ay + PI/2;
locx = a/3 + 2*x/3 + sin(f)*(d+e)*1.5;
locz = c/3 + 2*z/3 + cos(f)*(d+e)*1.5;
locCameraToPos(locx, locy, locz, true);
}
bool locCameraLeft(ref Character)
{
float a,b,c,locx,locy,locz,x,y,z,ay,d,e,f;
ref pchar = GetMainCharacter();
GetCharacterPos(pchar, &x, &y, &z);
a = x;
b = y;
c = z;
GetCharacterPos(Character, &x, &y, &z);
locy = b/2 + y/2 + 1.5;
d = a - x;
if (d < 0) {d = d *(-1)};
e = c - z;
if (e < 0) {e = e *(-1)};
GetCharacterAy(pchar, &ay);
f = ay - PI/2;
locx = a/3 + 2*x/3 + sin(f)*(d+e)*1.5;
locz = c/3 + 2*z/3 + cos(f)*(d+e)*1.5;
locCameraToPos(locx, locy, locz, true);
}
// a simple virtual sailor <--<!--c2--></div><!--ec2-->It DOES work as it should though. <img src="style_emoticons/<#EMO_DIR#>/doff.gif" style="vertical-align:middle" emoid="

" border="0" alt="doff.gif" />
As for the talking heads: I indeed recall that there is no lip sync anymore in the latest files. Shame, really. But not the biggest loss, I suppose. <img src="style_emoticons/<#EMO_DIR#>/dunno.gif" style="vertical-align:middle" emoid="

" border="0" alt="dunno.gif" />