
Anyway, I think it would be nice to have the ability, using ACS, to control where the player is viewing? Something similar to a camera, but it's just controlling where the player is looking. What I mean is something like this:
Code: Select all
SetPlayerView(tid, X-angle, Y-angle);
As for fluent movement from up to down or left to right, maybe it could be set up where if you had a line of code of one viewpoint, adding another one would cause the player to turn to that viewpoint. However in this case it would have a different code so it would be more flexible. In other words, here's what I'm thinking:
Code: Select all
SetPlayerProperty(1, 1, PROP_TOTALLY_FROZEN);
SetPlayerView(1, 64, 0);
ChangePlayerView(tid, direction, speed, X-angle, Y-angle);
The direction would be determined by 0 or 1, i.e. left or right. Up and down would be unnecessary, as the up and down movement is limited as opposed to a full 360 degrees.
So, what do you think?
