redburn
Member-
Content Count
74 -
Joined
-
Last visited
-
Medals
-
S.O.G Preairie classname factions
redburn replied to redburn's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Thanks a lot for you answer:馃槃 I thought this was: bluefor "B_MACV" opfor: "O_PAVN" independent: "O_VC" Civilian: "C_VIET" I'll take your answer. -
redburn started following Kill Diferent Side, S.O.G Preairie classname factions, setCaptive true only determinated player x and and 1 other
-
Hi, I want to know, what's the classname for each factions of the new DLC S.O.G Preairie for edits missions? In the game base I know the main factions BLU_F, OPF_F, CIV_F, but don't for this DLC somebody can help me with this?
-
setCaptive true only determinated player x
redburn replied to redburn's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Thank you! I'll be testing it and then I'll tell you! -
setCaptive true only determinated player x
redburn replied to redburn's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Well, look, I'm doing a mission where there will be two groups of players, Put it this way, one team of players will be group A1 and another team of players will be group A2, one of the two groups (who do not know which group they want to be) will go undercover to one base, while the other group will also go to another. What I do not want is that if the group of players A1 open fire against some enemy, that the group A2 does not receive fire from the enemy for that, if it did not open fire. Thanks man, I'll be testing and then I'll tell you! -
setCaptive true only determinated player x
redburn replied to redburn's topic in ARMA 3 - MISSION EDITING & SCRIPTING
yes, but in this case, what I would like to do is: make two groups of players, one of the groups shoots out of the enemies, the event is activated, but only to that group in particular, without the other group of players being affected and that's what I do not know how to do it. -
setCaptive true only determinated player x
redburn posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hello guys, written this:, { _x addEventHandler ["Fired", { if(side player == west) then { a1 setCaptive false; } else { a2 setCaptive false; } }]; } foreach allUnits; does nothing because I do not want all players to go from false to true when activating the event. How can I make a player pass to true, but not to others? -
scriting Conditional in mision server
redburn replied to redburn's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Thanks for the help man, and thanks for the indication of the EH ddMissionEventHandler ["EntityKilled", { params ["_killed", "_killer", "_instigator"]; if (isNull _instigator) then {_instigator = UAVControl vehicle _killer select 0}; // UAV/UGV player operated road kill if (isNull _instigator) then {_instigator = _killer}; // player driven vehicle road kill //_westSide = [objNull, true] call BIS_fnc_objectSide; if (side group _killed == WEST) then {[1,11] call FAM_fnc_puntaje}; }]; -
scriting Conditional in mision server
redburn replied to redburn's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Appropriate method to create mission conditionals, if an action is fulfilled the objective is fulfilled and I wanted to know if I'm doing it properly, Sorry my bad english -
scriting Conditional in mision server
redburn replied to redburn's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Would this be fine in this way? private _files = datosInfo; // files objetivoSecundario = 0; publicVariable "objetivoSecundario"; //Markers _mrk1 = createMarker ["mrk1", icon1]; //Creation Marker _mrk2 = createMarker ["mrk2", icon2]; //Creation Marker _mrk3 = createMarker ["mrk3", icon3]; //Creation Marker _mrk4 = createMarker ["mrk4", icon4]; //Creation Marker //Mision One _files addEventHandler ["Deleted", { objetivoSecundario = objetivoSecundario + 8; publicVariable "objetivoSecundario"; ["objSecond", ["Members Add 8 PTS!"]] remoteExecCall ["BIS_fnc_showNotification"]; //Markers _mrk1 setMarkerShape "ICON"; _mrk1 setMarkerType "mil_unknown"; "mrk1" setMarkerColor "ColorWEST"; //"mrk1" setMarkerText "Conseguir Archivos."; _mrk2 setMarkerShape "ICON"; _mrk2 setMarkerType "mil_unknown"; "mrk2" setMarkerColor "ColorWEST"; //"mrk2" setMarkerText "Conseguir Archivos."; _mrk3 setMarkerShape "ICON"; _mrk3 setMarkerType "mil_unknown"; "mrk3" setMarkerColor "ColorWEST"; //"mrk3" setMarkerText "Conseguir Archivos."; _mrk4 setMarkerShape "ICON"; _mrk4 setMarkerType "mil_unknown"; "mrk4" setMarkerColor "ColorWEST"; //"mrk4" setMarkerText "Conseguir Archivos."; }]; Using events like this would be better on the server? -
scriting Conditional in mision server
redburn posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hi all: I have been doing missions where always in the initServer.sqf I do conditionals for missions in the following way: initServer.sqf private _run = true; private _files = datosInfo; // files private _doc_adquirido = true; //notifications documents adquires objetivoSecundario = 0; publicVariable "objetivoSecundario"; //Markers _mrk1 = createMarker ["mrk1", icon1]; //Creation Marker _mrk2 = createMarker ["mrk2", icon2]; //Creation Marker _mrk3 = createMarker ["mrk3", icon3]; //Creation Marker _mrk4 = createMarker ["mrk4", icon4]; //Creation Marker while {_run} do { //Mision One if (!alive _files && _doc_adquirido ) then { objetivoSecundario = objetivoSecundario + 8; publicVariable "objetivoSecundario"; ["objSecond", ["Members Add 8 PTS!"]] remoteExecCall ["BIS_fnc_showNotification"]; //Markers _mrk1 setMarkerShape "ICON"; _mrk1 setMarkerType "mil_unknown"; "mrk1" setMarkerColor "ColorWEST"; //"mrk1" setMarkerText "Conseguir Archivos."; _mrk2 setMarkerShape "ICON"; _mrk2 setMarkerType "mil_unknown"; "mrk2" setMarkerColor "ColorWEST"; //"mrk2" setMarkerText "Conseguir Archivos."; _mrk3 setMarkerShape "ICON"; _mrk3 setMarkerType "mil_unknown"; "mrk3" setMarkerColor "ColorWEST"; //"mrk3" setMarkerText "Conseguir Archivos."; _mrk4 setMarkerShape "ICON"; _mrk4 setMarkerType "mil_unknown"; "mrk4" setMarkerColor "ColorWEST"; //"mrk4" setMarkerText "Conseguir Archivos."; _doc_adquirido = false; }; //END MISSION CONDITIONAL. }; //END WHILE But now I realize that in a bad way I'm doing it wrong, because the server will stay working only that conditional, leaving aside any process that is part of this, since additional scripts for the server do not work for me when I use the while and until the process finishes, but is there another way to execute a conditional when it is fulfilled in initServer.sqf without using while? to make the server continue to work on other scripts and not make a practically infinite loop? -
scripts Kill Diferent Side
redburn replied to redburn's topic in ARMA 3 - MISSION EDITING & SCRIPTING
I'm sorry to say that as I mentioned in previous posts I'm still new and I'm beginning to understand how each variable works, among other things, that's why I ask questions in that way, because if it costs me a little, I do not give up. Thanks for the book before -
scripts Kill Diferent Side
redburn replied to redburn's topic in ARMA 3 - MISSION EDITING & SCRIPTING
32/5000 I could do this in the init.sqf? //init.sqf if (!local isServer) exitWith {onPlayerConnected "updates.sqf"}; In updates.sqf //updates.sqf publicVariable "publicTime"; publicVariable "penaTiempo"; publicVariable "objetivoPrimario"; publicVariable "objetivoSecundario"; publicVariable "objetivoTarea"; publicVariable "bonoBandera"; publicVariable "civilesFinal"; publicVariable "vehEnemigoFinal"; publicVariable "PuntajeFinal"; //Misiones publicVariable "objetivoPrimarioOne"; publicVariable "objetivoPrimarioDos"; //Objetivo Secundario publicVariable "objetivoSecundario"; //Tareas publicVariable "objetivoTareaUno"; publicVariable "objetivoTareaDos"; publicVariable "objetivoTareaTres"; //Veh铆culos neutralizados publicVariable "vehAliadoFinalUno"; publicVariable "vehAliadoFinalDos"; publicVariable "vehAliadoFinalTres"; //Otros publicVariable "FAM_granDamage"; publicVariable "FAM_ambushEnemy"; publicVariable "FAM_libres"; publicVariable "FAM_DeadCivilianCount"; publicVariable "FAM_DeadPlayerCount"; publicVariable "FAM_DeadPEnemyCount"; I could be doing it right? -
scripts Kill Diferent Side
redburn replied to redburn's topic in ARMA 3 - MISSION EDITING & SCRIPTING
thanks for your help! I managed to update the script so far, doing it this way too, if I'm wrong or you think I have to optimize the code just tell me. FAM_DeadCivilianCount = 0; FAM_DeadPlayerCount = 0; FAM_DeadPEnemyCount = 0; publicVariable "FAM_DeadCivilianCount"; publicVariable "FAM_DeadPlayerCount"; publicVariable "FAM_DeadPEnemyCount"; { if (side _x == Civilian && _x iskindof "Man") then { _x addEventHandler ["killed", { ["Civil", ["Han Matado un Civil. Penzalizaci贸n -2 Puntos!"]] remoteExecCall ["BIS_fnc_showNotification"]; FAM_DeadCivilianCount = FAM_DeadCivilianCount + 2; publicvariable "FAM_DeadCivilianCount"; //FAM_DeadCivilianCount call FAM_fnc_deadCivilians; }]; }; if (side _x == EAST && _x iskindof "Man") then { _x addEventHandler ["killed", { FAM_DeadPEnemyCount = FAM_DeadPEnemyCount + 1; publicVariable "FAM_DeadPEnemyCount"; }]; }; if (side player == WEST && player iskindof "Man") then { player addEventHandler ["killed", { ["JugadorDead", ["Miembro de equipo Muerto. Penzalizaci贸n -1 Puntos!"]] remoteExecCall ["BIS_fnc_showNotification"]; FAM_DeadPlayerCount = FAM_DeadPlayerCount + 1; publicvariable "FAM_DeadPlayerCount"; }]; }; } foreach allunits; [] spawn { if (FAM_DeadPEnemyCount == 20) then { publicVariable "FAM_DeadPEnemyCount"; objetivoTareaTres = objetivoTareaTres + 2; publicVariable "objetivoTareaTres"; ["tareaTres", ["20 Enemigos Muertos. Reciben 2 Puntos!"]] remoteExecCall ["BIS_fnc_showNotification"]; }; }; thanks and regards. -
Good guys, I would like you to help me with this script: It turns out that I made this script with the purpose that when a unit is eliminated depending on the side it is, it does an action, but I do not know what it would be doing wrong. this script if it worked as it wanted in dedicated server: FAM_DeadCivilianCount = 0; publicVariable "FAM_DeadCivilianCount"; { if (side _x == Civilian && _x iskindof "Man") then { _x addEventHandler ["killed", { ["Civil", ["Han Matado un Civil. Penzalizaci贸n -2 Puntos!"]] remoteExecCall ["BIS_fnc_showNotification"]; FAM_DeadCivilianCount = FAM_DeadCivilianCount + 2; publicvariable "FAM_DeadCivilianCount"; }]; }; } foreach allunits; But when I combine it in this way for the other side: FAM_DeadCivilianCount = 0; FAM_DeadPlayerCount = 0; FAM_DeadPEnemyCount = 0; publicVariable "FAM_DeadCivilianCount"; publicVariable "FAM_DeadPlayerCount"; publicVariable "FAM_DeadPEnemyCount"; { if (side _x == Civilian && _x iskindof "Man") then { _x addEventHandler ["killed", { ["Civil", ["Han Matado un Civil. Penzalizaci贸n -2 Puntos!"]] remoteExecCall ["BIS_fnc_showNotification"]; FAM_DeadCivilianCount = FAM_DeadCivilianCount + 2; publicvariable "FAM_DeadCivilianCount"; }]; } else { if (side player == WEST && player iskindof "Man") then { player addEventHandler ["killed", { ["JugadorDead", ["Miembro de equipo Muerto. Penzalizaci贸n -1 Puntos!"]] remoteExecCall ["BIS_fnc_showNotification"]; FAM_DeadPlayerCount = FAM_DeadPlayerCount + 1; publicvariable "FAM_DeadPlayerCount"; }]; }; } else { if (side _x == EAST && _x iskindof "Man") then { if (FAM_DeadPEnemyCount == 20) then { publicVariable "FAM_DeadPEnemyCount"; objetivoTareaTres = objetivoTareaTres + 2; publicVariable "objetivoTareaTres"; ["tareaTres", ["20 Enemigos Muertos. Reciben 2 Puntos!"]] remoteExecCall ["BIS_fnc_showNotification"]; //hint str cash; }; _x addEventHandler ["killed", { ["JugadorDead", ["Miembro de equipo Muerto. Penzalizaci贸n -1 Puntos!"]] remoteExecCall ["BIS_fnc_showNotification"]; FAM_DeadPEnemyCount = FAM_DeadPEnemyCount + 1; publicVariable "FAM_DeadPEnemyCount"; }]; }; }; } foreach allunits; It throws me an error and I would like to know how they help me in Server to work correctly. thanks and regards.
-
script EventHandler "Hit"
redburn replied to redburn's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Thanks, is that I still try to learn about the scope of everything, I wanted to learn about the events and that's why I was doing an EH, but you're also right if I simplify in that way, I still have a long way to go, but I do not I faint for things that I still do not understand at all, little by little I will understand it. There is a book that I have that talks about the use of variables and other things, but does not speak for example of the white list and that I would also like to learn, if you have something that I can use to learn it more thoroughly I would thank you very much and thank you for aid.