We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Instead of writing the icon styles into global vars and reading them with params use CBA name spaces instead.
Example from commy2
// preInit commy_rankIcons = [] call CBA_fnc_createNamespace; commy_rankIcons setVariable ["PRIVATE", _rank_private]; commy_rankIcons setVariable ["CORPORAL", _rank_corporal]; commy_rankIcons setVariable ["SERGEANT", _rank_sergeant]; commy_rankIcons setVariable ["LIEUTENANT", _rank_lieutenant]; commy_rankIcons setVariable ["CAPTAIN", _rank_captain]; commy_rankIcons setVariable ["MAJOR", _rank_major]; commy_rankIcons setVariable ["COLONEL", _rank_colonel]; // script private _icon = commy_rankIcons getVariable [rank _unit, _rank_private];
The text was updated successfully, but these errors were encountered:
Icon and color caching added.
Sorry, something went wrong.
No branches or pull requests
Instead of writing the icon styles into global vars and reading them with params use CBA name spaces instead.
Example from commy2
The text was updated successfully, but these errors were encountered: