MrSky 0 Posted November 5, 2014 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; Quote Share this post Link to post Share on other sites
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=
Share this post
Link to post
Share on other sites