SetFilmView

Category: Player / View
Since engine version: 1.0 OC

Description

Sets film playback view to the specified player.

Syntax

int SetFilmView(int for_player);

Parameter

for_player:
Number of the player whose view is to be displayed.

Example

protected func InitializePlayer(int player)
{
	if (GetPlayerName(player) eq "Camera") SetFilmView(player);
}
This scenario script sets the playback view of the recorded round to the player with the name "Camera".
Sven2, 2002-05