Jump to content
  • 0
Sign in to follow this  
Helena

Waitingroom min and max players to start?

Question

Hello Hercules, i have a request but I am not even sure if this is possible. 

 

I know how the waiting room event script works, but I wonder if there is a way to make it so:

 

1. You can have a minimum of 3 players and a maximum of 5 players in the chat/waitingroom.

2. To make the above happen it would not have a insta-start. It checks every 10 seconds how many players are in there. If it has 3, it will run the event after the 10 seconds check, but if it has 4 or 5 it will also run the event. The number has to be equal though, so if one side has 5 the other can't have 3. 

 

I need this for a bg based event. I don't want to have a strict amount to start so that I don't have to lock possible participants out but at the same time offer more space in the chat-/waitingroom for peak hours. If it helps anything I'm using Annie's BG script for this purpose. Thank you so much. :)

 

turbo_room,106,117,3	script	Red Team	733,{	end;OnInit:	sleep 50;	set getvariableofnpc( .rednpcname$, "custom_bg#control" ), strnpcinfo(0);OnStart:	waitingroom "Red Team", getvariableofnpc( .minplayer2start, "custom_bg#control" ) +1, "custom_bg#control::OnStart", 1;	end;}turbo_room,93,117,5	script	Blue Team	734,{	end;OnInit:	sleep 50;	set getvariableofnpc( .bluenpcname$, "custom_bg#control" ), strnpcinfo(0);OnStart:	waitingroom "Blue Team", getvariableofnpc( .minplayer2start, "custom_bg#control" ) +1, "custom_bg#control::OnStart", 1;	end;}

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

@@Helena

it would help a lot if you post the full battleground script

I lost my old hard-disk so I don't have anything to refer on

 

also, I don't think your request can be done with simple *waitingroom

this might need my custom battleground script commands

Share this post


Link to post
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
Answer this question...

×   Pasted as rich text.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

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