SetPlayerChasecam: Difference between revisions

From Zandronum Wiki
(Added page for SetPlayerChasecam.)
 
(3.1 is released, so Devfeature templates have been removed)
Line 1: Line 1:
{{Template:ACSWarning}}
{{Template:ACSWarning}}
int '''SetPlayerChasecam''' (int ''player'', bool ''enable'') {{Devfeature|3.1|alpha}}
int '''SetPlayerChasecam''' (int ''player'', bool ''enable'')


==Usage==
==Usage==

Revision as of 20:32, 12 December 2021

This article documents a Zandronum-specific ACS feature which may not be supported by ZDoom and its other child ports.

int SetPlayerChasecam (int player, bool enable)

Usage

Enables or disables a player's chasecam cheat, which can also be toggled on or off by the chase console command.

Parameters

  • player: The number of the player.
  • enable: Set this to true to enable the chasecam, false to disable it.

Return Value

Returns 1 if the player's chasecam was successfully changed, 0 on failure (i.e. the player doesn't exist).