LabAPI icon indicating copy to clipboard operation
LabAPI copied to clipboard

[IDEA] Add Dictionary of Players and Roles to RoundStarting event

Open CasualVideoGameEnjoyer opened this issue 1 year ago • 4 comments

Goal Description

It would be super cool to have a dictionary of players in the RoundStarting event so you can do something like

private Player player;
public override void OnServerRoundStarting(RoundStartingEventArgs ev)
  {
      ev.Players[player] = RoleTypeId.Scp049;
  }

Or whatever else to be able to change the roles people start as Would be a difficult implementation but would be so awesome

Notes

No response

CasualVideoGameEnjoyer avatar Jul 31 '25 10:07 CasualVideoGameEnjoyer

Love that but i think the implemantation would be easier in the RoleAssigner class and add there a seperated new event like OnRoleAssignment or smth like this.

reversum avatar Jul 31 '25 10:07 reversum

I love both ideas, but I feel like having them all in a single event (like WaveSpawning does). Ill surely work on it.

davidsebesta1 avatar Jul 31 '25 14:07 davidsebesta1

Thank you for your suggestion! We've logged this issue in our internal git system for further review and tracking. Please note that this doesn't guarantee acceptance or implementation at this stage. If we need any additional information or clarification, we'll be sure to reach out to you.

Jesus-QC avatar Oct 14 '25 09:10 Jesus-QC

We've reopened this suggestion to prevent confusion and duplicate posts. As stated before, the issue has been added to our internal tracker, but that does not guarantee acceptance nor implementation.

Axwabo avatar Apr 27 '26 18:04 Axwabo