SetViewOffset
Category: Player
/ View
Since engine version: 5.1 OC
Description
Moves the view of a player permanently by a given offset. Calling the function again will set a new offset. Calling the function with 0,0 parameters will reset to normal, centered view.
Syntax
bool SetViewOffset(int player, int x, int x);
Parameters
- player:
Player whose view offset you want to change.
- x:
X offset value in pixels.
- x:
Y offset value in pixels.
PeterW, 2004-09