GetPlrView

Category: Player / View
Since engine version: 1.0 OC

Description

Returns the object which is followed by a player's view. If the player view does not currently follow an object, the function returns nil (also see GetPlrViewMode).

Syntax

object GetPlrView(int player);

Parameter

player:
Number of the player whose view you want to determine.

Remark

If player view has been set using (SetPlrView), the view will follow the selected clonk (unless in view mode "Scroll", see GetPlrViewMode). This can be determined using GetCursor.
See also: SetPlrView
PeterW, 2003-06