{"action":"created","issue":{"url":"https://api.github.com/repos/CntoDev/cnto-mmt-repo/issues/89","repository_url":"https://api.github.com/repos/CntoDev/cnto-mmt-repo","labels_url":"https://api.github.com/repos/CntoDev/cnto-mmt-repo/issues/89/labels{/name}","comments_url":"https://api.github.com/repos/CntoDev/cnto-mmt-repo/issues/89/comments","events_url":"https://api.github.com/repos/CntoDev/cnto-mmt-repo/issues/89/events","html_url":"https://github.com/CntoDev/cnto-mmt-repo/issues/89","id":143405649,"number":89,"title":"Moving curator-spawned units under __SERVER__","user":{"login":"freghar","id":23681,"avatar_url":"https://avatars.githubusercontent.com/u/23681?v=3","gravatar_id":"","url":"https://api.github.com/users/freghar","html_url":"https://github.com/freghar","followers_url":"https://api.github.com/users/freghar/followers","following_url":"https://api.github.com/users/freghar/following{/other_user}","gists_url":"https://api.github.com/users/freghar/gists{/gist_id}","starred_url":"https://api.github.com/users/freghar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/freghar/subscriptions","organizations_url":"https://api.github.com/users/freghar/orgs","repos_url":"https://api.github.com/users/freghar/repos","events_url":"https://api.github.com/users/freghar/events{/privacy}","received_events_url":"https://api.github.com/users/freghar/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/CntoDev/cnto-mmt-repo/labels/Template","name":"Template","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-25T01:53:10Z","updated_at":"2016-03-25T08:32:28Z","closed_at":null,"body":"Zeus-spawned units remain under AI control of the player's client, see\r\nhttp://carpenoctem.co/forums/m/26081621/viewthread/26113770-object-locality-game-performance\r\n\r\nThe actual fix for this is simple, `(group _this) setGroupOwner 2;` wherever the unit is local. Ideally, this would be hooked to [CuratorObjectPlaced](https://community.bistudio.com/wiki/Arma_3:_Event_Handlers#CuratorObjectPlaced), so that any spawned unit is automatically transferred under \\__SERVER__ (ID 2).\r\n\r\nThis is reasonably easy for the editor-placed Curator object, but is not so clear how to hook it up to the MCC curator instance (which is a separate one). We could iterate over allCurators on mission start, but I'm not sure if the MCC curator is not created/destroyed when player logs into / out of MCC admin interface.\r\n\r\n@xand3rr , @milivojm : Any ideas how the MCC curator instance works?"},"comment":{"url":"https://api.github.com/repos/CntoDev/cnto-mmt-repo/issues/comments/201200071","html_url":"https://github.com/CntoDev/cnto-mmt-repo/issues/89#issuecomment-201200071","issue_url":"https://api.github.com/repos/CntoDev/cnto-mmt-repo/issues/89","id":201200071,"user":{"login":"milivojm","id":7799132,"avatar_url":"https://avatars.githubusercontent.com/u/7799132?v=3","gravatar_id":"","url":"https://api.github.com/users/milivojm","html_url":"https://github.com/milivojm","followers_url":"https://api.github.com/users/milivojm/followers","following_url":"https://api.github.com/users/milivojm/following{/other_user}","gists_url":"https://api.github.com/users/milivojm/gists{/gist_id}","starred_url":"https://api.github.com/users/milivojm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milivojm/subscriptions","organizations_url":"https://api.github.com/users/milivojm/orgs","repos_url":"https://api.github.com/users/milivojm/repos","events_url":"https://api.github.com/users/milivojm/events{/privacy}","received_events_url":"https://api.github.com/users/milivojm/received_events","type":"User","site_admin":false},"created_at":"2016-03-25T08:32:28Z","updated_at":"2016-03-25T08:32:28Z","body":"Hey, please see what @HellfireLx has written in:\r\n\r\nhttp://www.carpenoctem.co/forums/m/26081621/viewthread/24764187-making-nonzeus-units-controllable-by-zeus\r\n\r\nIn essence, there is a variable `MCC_curator` which represents MCC Zeus. Also, he suggests a better approach in dealing with curators. If only he was not so busy, right Hellfire? :)"}}