GivePlayerMedal

Revision as of 00:37, 27 May 2024 by AKMDM (talk | contribs) (Created a page for the GivePlayerMedal ACS function.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
This article documents a Zandronum-specific ACS feature which may not be supported by ZDoom and its other child ports.
This article documents an ACS function which is only available in development builds of Zandronum 3.2 and newer.

int GivePlayerMedal (int player, str medal, bool silent)

Usage

Awards a player with a medal.

Parameters

  • player: The player number to award the medal to.
  • medal: The name of the medal to be awarded.
  • silent: If true, then when the player receives the medal, it won't appear on the screen or above their head, and no sounds will be played.

Return value

Returns 1 on success or 0 on failure.

Examples

This article lists no examples, please add one.