GivePlayerMedal

From Zandronum Wiki
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.