Jump to content
  • 0

battleground team creation


Nokia

Question


  • Group:  Members
  • Topic Count:  43
  • Topics Per Day:  0.01
  • Content Count:  150
  • Reputation:   5
  • Joined:  12/28/11
  • Last Seen:  

hey, im currently using this src add on from annie -> http://rathena.org/board/topic/72571-battleground-system-without-waitingroom/

 

plus this script:

 

waitingroom "blub bg", .minplayer2start, strnpcinfo(0) +"::OnStart", .minplayer2start,0,90,99;
OnStart:
	getmapxy .@map$, .@x, .@y, 1;
	warpwaitingpc .@map$, .@x, .@y;
	callfunc "rand__", .minplayer2start, $@rand;
	for ( .@i = 0; .@i < $@warpwaitingpcnum; .@i++ )
		setbgid ( .@i % 2 )? .red : .blue, $@warpwaitingpc[ $@rand[.@i] ];
	delwaitingroom strnpcinfo(0);
	bg_warp .red, "bat_c01", 50,124;
	bg_warp .blue, "bat_c01", 149,59;
	sleep 500;
	setwall "bat_c01",54,122,6,7,0,"batc01wall_a";
	setwall "bat_c01",55,122,5,7,0,"batc01wall_b";
	setwall "bat_c01",140,56,6,7,0,"batc01wall_c";
	setwall "bat_c01",140,57,5,7,0,"batc01wall_d";
	bg_updatescore "bat_c01", 0, 0;

OnInit:
	.red = 3; // red team bg ID
	.blue = 4; // blue team bg ID
	set .minplayer2start, 6; // minimum player to start
 

my question is, how to make this script without use waitingrooms?

Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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.   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...