Jump to content
  • 0
Sign in to follow this  
leloush

Battlegrounds Waitingroom team randomizer

Question

Good day,

 

im wondering if the default battlegrounds (KvM) is possible to make the participants gets a random team
lets say just join the waiting room and if bg starts it will randomize the participants?

 

 

thank you..

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

After a quick search, I think it's not possible with current scripting, but you can do a splitting and workaround algorithm if you want, which is just a bit complicated and doesn't assign groups directly but it's not out of your reach.

 

Just make a regular waitingroom with an event and a trigger population, then when the event triggers issue a warpwaitingpc and warp all of your users to a bogus place. This will get you a count of players you warped and their account ids. Now you can use your splitting algorithm and group them in separate.

 

With the separate groups you can do whatever you want with them, but I think you can't directly assign a BG team on scripting so your best option here is to just re-warp them to a room with an NPC waiting for the BG ;)

 

Or generate a script command that makes you a BG team and another one that lets you assign it to the users individually so you can get them all on the BG arena.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.