SetPlayerChasecam

From Zandronum Wiki
Jump to navigation Jump to search
Zandronum SkulltagOverlay.png Warning: This feature is Zandronum specific and may not supported by ZDoom and its other child ports!
Documentation may not be accurate, see ACS Functions.

int SetPlayerChasecam (int player, bool enable) (development version 3.1-alpha and above only)

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).