Page MenuHomeContribution Center

Promote Zeus Code
ActivePublic

Authored by MajJames on Feb 10 2021, 6:51 PM.
{
private _unit = _x;
if (isNull (getAssignedCuratorLogic _unit) && getPlayerUID _unit == "76561198085365312") exitWith {
private _grp = createGroup sideLogic;
private _curator = _grp createUnit ["ModuleCurator_F",[0,0,0],[],0,"NONE"];
_curator setVariable ["Addons",3,true];
_curator addCuratorEditableObjects [vehicles,true];
_curator addCuratorEditableObjects [(allMissionObjects "Man"), false];
_curator addCuratorEditableObjects [(allMissionObjects "Air"), true];
_curator addCuratorEditableObjects [(allMissionObjects "Ammo"), false];
_curator setVariable ["birdType", ""];
_curator setVariable ["showNotification", false];
[_curator, [-1, -2, 2]] call BIS_fnc_setCuratorVisionModes;
_curator addEventHandler ["CuratorPinged", {
private _curator = _this select 0;
private _zeus = getAssignedCuratorUnit _curator;
if (isNull _zeus) then {
unassignCurator _curator;
deleteVehicle _curator;
};
}];
_unit assignCurator _curator;
};
nil;
} count allPlayers;

Event Timeline

MajJames created this paste.Feb 10 2021, 6:51 PM

Drop into Code Execution Module, or Debug and Run this (replacing the Player UID with the player to promote) and run on SERVER only.

Only to be used in emergencies.

MajJames changed the visibility from "All Users" to "Public (No Login Required)".Feb 10 2021, 6:52 PM