SetPlayerChasecam: Difference between revisions
(Added page for SetPlayerChasecam.) |
DrinkyBird (talk | contribs) No edit summary Tag: Source edit |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Template:ACSWarning}} | {{Template:ACSWarning}} | ||
bool '''SetPlayerChasecam''' (int ''player'', bool ''enable'') | |||
==Usage== | == Usage == | ||
Enables or disables a player's chasecam cheat, which can also be toggled on or off by the | Enables or disables a player's chasecam cheat, which can also be toggled on or off by the {{Zdoomwiki|CCMDs:Debug#chase|chase}} console command. | ||
==Parameters== | === Parameters === | ||
*player: The number of the player. | * ''player'': The number of the player. | ||
*enable: Set this to ''true'' to enable the chasecam, ''false'' to disable it. | * ''enable'': Set this to ''true'' to enable the chasecam, ''false'' to disable it. | ||
==Return | === Return value === | ||
Returns | Returns true if the player's chasecam was successfully changed, false on failure (i.e. the player doesn't exist). | ||
[[ | == Examples == | ||
{{noexamples}} | |||
== See also == | |||
* [[GetPlayerChasecam]] | |||
[[Category: ACS functions]] |
Latest revision as of 00:58, 3 July 2022
This article documents a Zandronum-specific ACS feature which may not be supported by ZDoom and its other child ports. |
bool 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 true if the player's chasecam was successfully changed, false on failure (i.e. the player doesn't exist).
Examples
This article lists no examples, please add one. |