Jump to content

Roles - Having n bot taking a role and all the other bots taking an other one automatically


Recommended Posts

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...