Draft: ACS functions: "SetPlayerColor" and "SetPlayerColorSet"
On the subject of finding use cases for ConsoleCommand
, Who Dun It has a script that changes the player's colour randomly (e.g. ConsoleCommand( "color FF0000" );
). This must be done in a CLIENTSIDE
script, which on top of using ConsoleCommand
also runs into the risk of triggering client command floods if executed too quickly.
This seems like a niche feature, but I created SetPlayerColor
to enable modders to change a player's colour temporarily, and for the sake of completion I also added SetPlayerColorSet
that works with colour sets. However, the latter might not be necessary since colour sets are just basic translations that could easily be replicated using CreateTranslation
and Thing_SetTranslation
.