GetPlrView

Category: Player / View
Since engine version: 4.6.5.0 CP

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 0 (also see GetPlrViewMode).

Syntax

object GetPlrView (int iPlr);

Parameter

iPlr:
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 GetViewMode). This can be determined using GetCursor.
See also: SetPlrView
PeterW, Juni 2003