Mateos Posted Friday at 07:48 PM Share Posted Friday at 07:48 PM Good evening, I'm trying to script roles so that 2 bots get role A and all the others take role B (or there's only role A perhaps; what's important with A is that it has a different spawn/objectives) Reading the algo in goal_rolemanager.gm, I'm not sure it's possible to have that automatically If there's AllBots false, at beast half the team will get a role If I have role B with higher numbots than A, B will get all the bots except one If I set B numbots lower than A, I even had more bots getting A than its numbots (while I'd expect the role manager to respect numbots and discard AllBots-on-minded algo) Am I missing something, or will I have to manually handle roles in OnBotJoin? That would completely skip the role manager goal Thank you Quote Link to comment Share on other sites More sharing options...
Moderators palota Posted Saturday at 11:47 AM Moderators Share Posted Saturday at 11:47 AM I updated goal_rolemanager.gm now so that you can use AllBots=true to assign all other bots to that role: Roles = { ALLIES = { AllBots = true, DEFENDER1 = { numbots = 2, }, DEFENDER2 = { numbots = 2, AllBots = true, }, }, }, Mateos 1 Quote Link to comment Share on other sites More sharing options...
Mateos Posted Saturday at 11:55 AM Author Share Posted Saturday at 11:55 AM Oh wow thank you very much! 💜 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.