GetPlayerChasecam: Difference between revisions

From Zandronum Wiki
(3.1 is released, so Devfeature templates have been removed)
No edit summary
Tag: Source edit
Line 1: Line 1:
{{Template:ACSWarning}}
{{Template:ACSWarning}}
int '''GetPlayerChasecam''' (int ''player'')
bool '''GetPlayerChasecam''' (int ''player'')


==Usage==
=== Usage ===
=== Parameters ===
* ''player'': The player to check.


Checks if ''player'' is currently using the chasecam cheat, which can be toggled on or off by the [https://zdoom.org/wiki/CCMDs:Debug#chase chase] console command.
=== Return value ===
Returns true if ''player'' is currently using the chasecam cheat, which can be toggled on or off by the {{Zdoomwiki|CCMDs:Debug#chase|chase}} console command. Returns false otherwise.


[[category:ACS Functions]]
== Examples ==
{noexamples}
 
[[category:ACS functions]]

Revision as of 17:25, 2 July 2022

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

bool GetPlayerChasecam (int player)

Usage

Parameters

  • player: The player to check.

Return value

Returns true if player is currently using the chasecam cheat, which can be toggled on or off by the chase console command. Returns false otherwise.

Examples

{noexamples}