Jump to content
Synixe

Curator via script can't use some modules

Recommended Posts

If I place down a Game Master module and assign it to "#adminLogged" everything works fine, however, when creating the curator via a script I can not use any module that requires a dialog. Play Music is one that doesn't work. Upon placing select music while in the Zeus interface the module does nothing.RFf3mlJ.jpg

 

I am using the following code.

 

SynixeCur = SynixeCur_group createunit["ModuleCurator_F", [0, 90, 90], [], 0.5, "NONE"];	//Logic Server
SynixeCur setVariable ["showNotification",false];
SynixeCur setVariable ["TFAR_curatorCamEars", true];
unassignCurator SynixeCur;
_cfg = (configFile >> "CfgPatches");
_newAddons = [];
for "_i" from 0 to((count _cfg) - 1) do {
  _name = configName(_cfg select _i);
  _newAddons pushBack _name;
};
if (count _newAddons > 0) then {SynixeCur addCuratorAddons _newAddons};
SynixeCur setcuratorcoef["place", 0];
SynixeCur setcuratorcoef["delete", 0];
zeus assignCurator SynixeCur;

A unit is placed in the editor with the variable name "zeus"

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×