{"name":"setCuratorCoef","title":"setCuratorCoef","type":"command","url":"https://community.bistudio.com/wiki/setCuratorCoef","revid":348442,"updated":"2023-11-08T13:00:15Z","groups":["Curator"],"status":"ok","games":{"arma3":"1.16"},"since":"arma3 1.16","arma3_since":"1.16","locality":{"server_exec":true},"description":"Sets coef for some action (coef have to be bigger than -1 000 000, anything lower is considered as disabled action).","syntaxes":[{"syntax":"curatorObj setCuratorCoef [action, coef]","params":[{"name":"curatorObj","type":"Object","description":"curator module","type_expr":"Object"},{"name":"action","type":"String","description":"can be one of:\n\n- \"Place\"\n- \"Edit\"\n- \"Delete\"\n- \"Destroy\"\n- \"Group\"\n- \"Synchronize\"","type_expr":"String"},{"name":"coef","type":"Number or Boolean","type_expr":"Number | Boolean"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"binary","left":{"text":"curatorObj"},"right":{"text":"[action, coef]"}}],"examples":[{"code":["curatorModule setCuratorCoef [\"Place\", 1];"]},{"code":["curatorModule setCuratorCoef [\"Delete\", -1e10];"]}],"see_also":["Arma 3: Curator"]}