HGHiddens 0 Posted May 31, 2018 Hello, I need help for set a role description by script. a idea ? Share this post Link to post Share on other sites
Harzach 2269 Posted May 31, 2018 Don't think it's possible, but more information is needed. What exactly are you trying to do? Share this post Link to post Share on other sites
fn_Quiksilver 1624 Posted May 31, 2018 not possible to set lobby role description in mission script 3 Share this post Link to post Share on other sites
HazJ 1287 Posted June 1, 2018 You can use skipLobby in description and then make your own lobby UI. Or just have UI with roles or something. https://community.bistudio.com/wiki/Description.ext#skipLobby Share this post Link to post Share on other sites
HGHiddens 0 Posted June 1, 2018 thank you, for more informations, with my initplayerlocal.sqf, I configure slots. but to completely automate, I also want to rename the slots. Share this post Link to post Share on other sites
HazJ 1287 Posted June 12, 2018 Sorry for late reply. Not sure if you are still needing this but the only way is custom UI. You could set all descriptions to "Player" or something. Load in, UI opens with custom slot names, can be changed at anytime during mission. Share this post Link to post Share on other sites
Belbo 458 Posted June 12, 2018 I don't think it's possible. No mission script is being executed before or during the lobby. Even with the preInit-tag a function will only be called right after the lobby. It would have to be executed via description.ext - and I don't think the preprocessor commands offer any solution for that. You might take a look at the way CBA does their group name changing. They take the roleDescription in a format abc@xyz, change the groupID to xyz and the roleDescription back to abc. So there might still be a way. Share this post Link to post Share on other sites
HazJ 1287 Posted June 12, 2018 On 6/1/2018 at 2:06 AM, HazJ said: You can use skipLobby in description and then make your own lobby UI. Or just have UI with roles or something. https://community.bistudio.com/wiki/Description.ext#skipLobby You can use normal playable units and just have the name change on the UI or whatever. Share this post Link to post Share on other sites