Jump to content
  • 0
Sign in to follow this  
MrSky

Error in bg modification

Question

Hi guys,

my error is

firstly i create a bg (.team), then create more 2 with te same variable used by hercules' bg, but always when i do this, the second person to enter, which goes for team 2, always leave bg just after enter, anyone can find the bug? D=

OnStart:	$@TierraBG2_id1 = createbgid( "bat_a02",50,374, "start#bat_a02::OnGuillaumeQuit","" );	$@TierraBG2_id2 = createbgid( "bat_a02",42,16, "start#bat_a02::OnCroixQuit","");	getbgusers(.team);	for (set .@i,0; .@i < $@arenamembersnum; ++.@i)		setbgid ( .@i % 2 )? $@TierraBG2_id1 : $@TierraBG2_id2,$@arenamembers[.@i];	if ($@bgqueueon == 0) donpcevent "start#bat_a02::OnEnable";	bg_warp $@TierraBG2_id1,"bat_a02",352,342;	bg_warp $@TierraBG2_id2,"bat_a02",353,52;	if ($@bgqueueon == 0) announce "It Started!",bc_all,0x00CED1;	if ($@bgqueueon == 0) set $@bgqueueon,1;	bg_updatescore "bat_a02",0,0;	end;

 

Share this post


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