Jump to content

exevankeko

Member
  • Content Count

    82
  • Joined

  • Last visited

  • Medals

Everything posted by exevankeko

  1. exevankeko

    [ASK] End by score - TDM

    to tell me to get lost in the mission,. have to change something in the file descripcion.etc or init.sqf? or both?
  2. I'm making a multiplayer mission and I have a problem, does not work when two params class. in my description.etc: class Params { class TimeOfDay { //ParamsArray[1] title = "Time of Day"; values[] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23}; texts[] = {"0000","0100","0200","0300","0400","0500","0600","0700","0800","0900","1000","1100","1200","1300","1400","1500","1600","1700","1800","1900","2000","2100","2200","2300"}; default = 16; }; class _limitScore { //ParamsArray[0] title = "Score limit:"; values[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30, 40, 50, 60, 70, 80, 90, 100, 150, 200, 250, 300, 400, 500}; texts[] = {"Unlimited", "1 point", "2 points", "3 points", "4 points", "5 points", "6 points", "7 points", "8 points", "9 points", "10 points", "15 points", "20 points", "25 points", "30 points", "40 points", "50 points", "60 points", "70 points", "80 points", "90 points", "100 points", "150 points", "200 points", "250 points", "300 points", "400 points", "500 points"}; default = 1; }; }; in my init.sqf: _limitScore = ParamsArray Select 0; timeofday = ParamsArray Select 1; skiptime (((paramsarray select 0) - daytime + 24) % 24); first parameter works the second does not the two parameters work well separately. the problem occurs when they are both together, the second does not work. *** that is what is wrong or missing something?
  3. exevankeko

    Class Params need help

    does not work, there is something wrong in the code anyone has idea how to fix it?
  4. exevankeko

    [ASK] End by score - TDM

    Now use two triggers: 2 Trigger method: timeout: 5 end#1 condition: W_Wins Activation: ForceEnd timeout: 5 end#2 condition: E_Wins Activation: ForceEnd It worked but only if I win the game, nothing happens if I lose. I'm testing against the AI​​. When I lose I need you to tell me, "You lose" -- This method I like more as the game ends because it has this: "END1" call BIS_fnc_endMission ... and works without trigger but I need to add another "END2" BIS_fnc_endMission false call to tell me when I lose the game _endmission = false; while {NOT _endmission} do { { if ((scoreSide WEST >= (paramsArray select 0)) || (scoreSide EAST >= (paramsArray select 0))) then { _endmission = true; }; } forEach allUnits; }; "END1" call BIS_fnc_endMission; [code] my new description.etc: [code]class CfgDebriefing //--- endings // blue side first { class End1 { //West winner title = "Mission Complete"; subtitle = ""; description = "Your team has won the battle."; pictureBackground = ""; picture = "b_inf"; pictureColor[] = {0.0,0.3,0.6,1}; }; class End2 { //East loser title = "Mission Failed"; subtitle = ""; description = "Your team has lost the battle."; pictureBackground = ""; picture = "b_inf"; pictureColor[] = {0.5,0.0,0.0,1}; }; class End3 { //West loser title = "Mission Failed"; subtitle = ""; description = "Your team has lost the battle."; pictureBackground = ""; picture = "b_inf"; pictureColor[] = {0.0,0.3,0.6,1}; }; class End4 { //East winner title = "Mission Complete"; subtitle = ""; description = "Your team has won the battle."; pictureBackground = ""; picture = "b_inf"; pictureColor[] = {0.5,0.0,0.0,1}; }; };[code]
  5. exevankeko

    [ASK] End by score - TDM

    I need help ! I'm doing a TDM in ARMA 3. but it does not work the php code. the mission does not end. IN description.etc class Params { class _limitScore { title = "Score limit:"; values[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20, 25, 30, 40, 50, 60, 70, 80, 90, 100, 150, 200, 250, 300, 400, 500}; texts[] = {"Unlimited", "1 point", "2 points", "3 points", "4 points", "5 points", "6 points", "7 points", "8 points", "9 points", "10 points", "15 points", "20 points", "25 points", "30 points", "40 points", "50 points", "60 points", "70 points", "80 points", "90 points", "100 points", "150 points", "200 points", "250 points", "300 points", "400 points", "500 points"}; default = 1; }; }; class CfgDebriefing { class End1 { title = "You Won!"; subtitle = ""; description = "You successfully defeated the opposing team."; }; class End2 { title = "You Lost!"; subtitle = ""; description = "You where defeated by the opposing team."; }; }; In init.sqf : this code dont work: if (_scoreWest >= (paramsArray select 0)) then { //west won, show end1 with closing shot, called on all west players via BIS_fnc_MP [["end1",true,true],"BIS_fnc_endMission", west, false] call BIS_fnc_MP; //east failed, show end2 fade to black, called on all east players via BIS_fnc_MP [["end2",true,5],"BIS_fnc_endMission", east, false] call BIS_fnc_MP; }; if (_scoreEast >= (paramsArray select 0)) then { //east won, show end1 with closing shot, called on all east players via BIS_fnc_MP [["end1",true,true],"BIS_fnc_endMission", east, false] call BIS_fnc_MP; //west failed, show end2 fade to black, called on all west players via BIS_fnc_MP [["end2",true,5],"BIS_fnc_endMission", west, false] call BIS_fnc_MP; }; code for Iceman77 not understand how to configure the trigger and how triggers should I have? ---------- Post added at 04:20 ---------- Previous post was at 02:42 ---------- this code works when the mission ends says mission complete, if you win but if I lose the game does not tell me, I need to say it help me? _endmission = false; while {NOT _endmission} do { { if ((scoreSide WEST >= (paramsArray select 0)) || (scoreSide EAST >= (paramsArray select 0))) then { _endmission = true; }; } forEach allUnits; }; "END1" call BIS_fnc_endMission;
  6. when I put the command in the chat # vote missions, it's game over and not see any list of missions to vote There Config_Vanilla.cfg the file somewhere where it gets the list of missions available?
  7. Hello how are you? I need help in the dedicated server ARMA 3, and configure the server so they can choose the players who want to play mission? by voting or otherwise?
×