SetPlayerSkin

From Zandronum Wiki
Revision as of 23:27, 14 March 2024 by DrinkyBird (talk | contribs) (Documented SetPlayerSkin)
(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 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.