adjusting the x offset of chasecam script

Need help with your project? Ask here.
mathey bu
Posts: 46
Joined: Tue Aug 25, 2009 21:49

adjusting the x offset of chasecam script

Post 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
User avatar
Firebrand
Dev Builds Team
Posts: 126
Joined: Mon Aug 10, 2009 21:00
Location: Mexico
Contact:

Re: adjusting the x offset of chasecam script

Post 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 :).
I'm the ruler of the Fire Power.....
mathey bu
Posts: 46
Joined: Tue Aug 25, 2009 21:49

Re: adjusting the x offset of chasecam script

Post by mathey bu »

have i put the ()?
Post Reply

Return to “Editing Help”