SetPlayerSkin

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 SetPlayerSkin (int player, str skin[, bool overrideWeaponPreferredSkin])

Usage

Returns a player's skin.

Parameters

  • player: The player number to set the skin of.
  • skin: Name of the skin for the player to use.
  • overrideWeaponPreferredSkin: Whether this should override the weapon's skin (as set by the Weapon.PreferredSkin property)

Return value

Returns 1 on success or 0 on failure.

Examples

This article lists no examples, please add one.

See also