Interpolate Camera
#1

Hi there,

I have made an interpolate camera at login, but I'd like it to be different and random everytime someone connects, and gets the login box. I have a vague idea of how I could do this, but I'm not sure whether I can apply it to this.

Код:
public LoginCamera(playerid)
{
    InterpolateCameraPos(playerid, 291.079193, 62.431571, 7.633911, 619.964294, 319.335174, 24.199625, 20000);
	InterpolateCameraLookAt(playerid, 295.107452, 65.330856, 7.027944, 615.965454, 316.333953, 24.242885, 20000);
	TogglePlayerControllable(playerid, 0);
	return 1;
}
Reply
#2

All you need is a random variable!
make a random when player connects and make a switch on the random and at every case make an specified interpolating camera ^^

If you need more detailed info PM me
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)