Created
November 10, 2020 13:26
-
-
Save tjmonsi/7766b0042e36716c9b4d185c2f704b90 to your computer and use it in GitHub Desktop.
Create a loadout text
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| _text = “<CHANGE-TEXT-HERE>”; | |
| _loadout = //paste-the-clipboard-here | |
| _this addAction | |
| [ | |
| format [“Load %1”, _text], | |
| { | |
| params ["_target", "_unit", "_actionId", "_arguments"]; | |
| _arguments params ["_loadout"]; | |
| _unit setUnitLoadout _loadout; | |
| systemChat "loadout has been set for you" | |
| }, | |
| [_loadout] | |
| ]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment