Created
June 2, 2018 10:05
-
-
Save commy2/100bc06fe3bc2c4879ea562f7b8ba9ee to your computer and use it in GitHub Desktop.
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
| ["commy_registerCurator", { | |
| params ["_unit"]; | |
| private _curator = createGroup sideLogic createUnit ["ModuleCurator_F", [0, 0, 0], [], 0, "CAN_COLLIDE"]; | |
| _curator setVariable ["addons", 3, true]; | |
| _curator addCuratorEditableObjects [allMissionObjects "", true]; | |
| _unit assignCurator _curator; | |
| "Registered as Curator." remoteExec ["systemChat", _unit]; | |
| }] call CBA_fnc_addEventHandler; | |
| ["zeus", { | |
| ["commy_registerCurator", player] call CBA_fnc_serverEvent; | |
| }, "adminLogged"] call CBA_fnc_registerChatCommand; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment