Page 1 of 1

adjusting the x offset of chasecam script

Posted: Fri May 14, 2010 3:04
by mathey bu
this script make a chasecam view
Spoiler:
ok, but the problem is that i dont wanna view the center of player i want something like this:

Spoiler:
how can i change the x offset and make the chasecam works normally, i want only to put the x = -45

Re: adjusting the x offset of chasecam script

Posted: Fri May 14, 2010 13:27
by Firebrand
You can add values to these lines:

Code: Select all

int x = GetActorX (0) - 0.5;
int y = GetActorY (0);
Something like this:

Code: Select all

int x = (GetActorX (0) - 0.5) - 45;
int y = GetActorY (0) - 45;
Obviously a bit of trial and error might be needed until you get the values that you want, hope this helps you out :).

Re: adjusting the x offset of chasecam script

Posted: Tue May 18, 2010 19:20
by mathey bu
have i put the ()?