Skip to content

Instantly share code, notes, and snippets.

@commy2
Created June 2, 2018 10:05
Show Gist options
  • Select an option

  • Save commy2/100bc06fe3bc2c4879ea562f7b8ba9ee to your computer and use it in GitHub Desktop.

Select an option

Save commy2/100bc06fe3bc2c4879ea562f7b8ba9ee to your computer and use it in GitHub Desktop.
["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