SetPlayerSkin: Difference between revisions
DrinkyBird (talk | contribs) (Documented SetPlayerSkin) Tag: Source edit |
DrinkyBird (talk | contribs) (Link to GetPlayerSkin) Tag: Source edit |
||
Line 16: | Line 16: | ||
== Examples == | == Examples == | ||
{{noexamples}} | {{noexamples}} | ||
== See also == | |||
* [[GetPlayerSkin]] | |||
[[Category: ACS functions]] | [[Category: ACS functions]] |
Latest revision as of 23:27, 14 March 2024
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. |