From 7aa9e6e8b1036a74281c990f850a0c398701c298 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Mon, 29 Jul 2013 18:14:24 -0300 Subject: BG Queue Fixes Cleared 3 out of 5, #69 Support for the cancel button, for pre-game position to return afterwards and fix to the queue position problem after first game. Signed-off-by: shennetsind --- npc/custom/bgqueue/flavius.txt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'npc') diff --git a/npc/custom/bgqueue/flavius.txt b/npc/custom/bgqueue/flavius.txt index 8f195f288..7e30bdd99 100644 --- a/npc/custom/bgqueue/flavius.txt +++ b/npc/custom/bgqueue/flavius.txt @@ -26,6 +26,7 @@ OnInit: //$@bg_queue_id is cleared after this event ends OnPlayerListReady: + set $@FlaviusBG1_id1, bg_create_team("bat_b01",10,290); set $@FlaviusBG1_id2, bg_create_team("bat_b01",390,10); @@ -121,9 +122,9 @@ L_OnPlayerQuit: OnMatchOver: if( $@FlaviusBG1_id1 || $@FlaviusBG1_id2 ) { - bg_match_over("Flavius"); queuedel($@Croix_QueueBG1); queuedel($@Guill_QueueBG1); + bg_match_over("Flavius"); } if( $@FlaviusBG1_id1 ) { bg_destroy $@FlaviusBG1_id1; set $@FlaviusBG1_id1, 0; } if( $@FlaviusBG1_id2 ) { bg_destroy $@FlaviusBG1_id2; set $@FlaviusBG1_id2, 0; } @@ -186,11 +187,9 @@ OnMyMobDead: donpcevent "time#bat_b01::OnEnable"; donpcevent "start#bat_b01::onReset"; } - donpcevent "#bat_b01_timer::OnStop"; bg_updatescore "bat_b01",$@Guill_ScoreBG1,$@Croix_ScoreBG1; bg_warp $@FlaviusBG1_id1,"bat_b01",10,290; bg_warp $@FlaviusBG1_id2,"bat_b01",390,10; - donpcevent "#bat_b01_timer::OnEnable"; } end; } -- cgit v1.2.3-70-g09d2