GetPlrViewMode
Player
View
5.1 OC
int
int
player
Number of the player whose view mode you want to determine.
Determines the current view mode of a player. The function returns the following values:
- 0: Cursor - The player view follows the currently selected clonk (see GetCursor).
- 1: Target - The player view follows the object set by SetPlrView. Also see GetPlrView.
- 2: Scroll - The player is scrolling his view using the mouse.
As mouse scrolling behaviour differs on every computer, this function always returns -1 whenever in Record, Replay, or network game mode.
SetPlrView
GetPlrView
PeterW2003-06