Jump to content
  • 0

Help Battlegrounds


allenpogi

Question


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  33
  • Reputation:   1
  • Joined:  11/16/12
  • Last Seen:  

Im using the default BG im trying to change the number of players to start. buy tested it didn't work. tried changing both tierra and flavius. this is what i changed in the script.

 

OnInit:
    waitingroom "Battle Station",5,"start#bat_b01::OnReadyCheck",1,0,80;
    end;
OnEnterBG:
    set $@FlaviusBG1_id1, waitingroom2bg("bat_b01",10,290,"start#bat_b01::OnGuillaumeQuit","");
    end;
}
bat_room,85,204,0    script    Lieutenant Thelokus    414,{
    end;
OnInit:
    waitingroom "Battle Station",5,"start#bat_b01::OnReadyCheck",1,0,80;
    end;
OnEnterBG:
    set $@FlaviusBG1_id2, waitingroom2bg("bat_b01",390,10,"start#bat_b01::OnCroixQuit","");
    end;
}
OnReadyCheck:
    if( $@FlaviusBG1 )
        end;
    set .@Guillaume, getwaitingroomstate(0,"Lieutenant Ator");
    set .@Croix, getwaitingroomstate(0,"Lieutenant Thelokus");
    if( !.@Guillaume && !.@Croix ) {
        donpcevent "#bat_b01_timer::OnStop";
        end;
    }
    if( .@Guillaume < 4 || .@Croix < 4 )
        end;
    set $@FlaviusBG1, 1;
    set $@FlaviusBG1_Victory, 0;
    set $@Croix_ScoreBG1, 0;
    set $@Guill_ScoreBG1, 0;
    bg_updatescore "bat_b01",$@Guill_ScoreBG1,$@Croix_ScoreBG1;

 

Sorry don't know how to use spoiler. I just want to make it 5v5 only. Please Help Thanks in advance.
Edited by Capuche
BBCode <> in toolbar
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  33
  • Reputation:   1
  • Joined:  11/16/12
  • Last Seen:  

up please

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

try

if( .@Guillaume != 5 || .@Croix != 5 )
        end;
Link to comment
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.   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...