-
Content Count
193 -
Joined
-
Last visited
-
Medals
-
respawn vehicle bugs
donelsarjo replied to ANGRY_FARMER's topic in ARMA 3 - MISSION EDITING & SCRIPTING
If you hover over the code box with your mouse the is a tool tip explaining the variables passed to the code. _this select 0 is the old vehicle and _this select 1 is the newly spawned.(or the other way around) So try this code: _this select 0 addaction ["Open Virtual Arsenal", { ["Open",true] call BIS_fnc_arsenal; }]; The thing is I don't know if the code is executed on each client. Just try it. -
respawn vehicle bugs
donelsarjo replied to ANGRY_FARMER's topic in ARMA 3 - MISSION EDITING & SCRIPTING
"force respawn" means that the vehicle gets deleted right after the the mission starts and respawns immediately. There is one reason to use it: There is a possibility to add a code run on respawn. This code will only run if the object in fact respawns (yes, that sounds obvious), but at mission start the code is not run if "force respawn" is not selected, because it was only created and did not trigger the module. -
OK now I get it. Your positions consist of a x- and a y-coordinate and the last entry is the size you want the marker to have. Then: _posArray = [[8675,10225,575],[13875,8400,400],[9425,4050,350]]; _size= (selectRandom _posArray) select 2; /* if you want to use the same position / _pos = selectRandom _posArray; / _size = _pos select 2; */ This fetches the third entry of your randomly selected position array. And now : // code (_markers select 1) setMarkerSize [_size, _size]; Hope I got your question right.
-
Driver is a reserved keyword. Use something else.
-
First Script a Lil Help
donelsarjo replied to breeze's topic in ARMA 3 - MISSION EDITING & SCRIPTING
getPosATL, sleep 0.5 at the end of the loop? -
Counting Units Percentage?
donelsarjo replied to SlovakianLynx's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Try WEST<- without quotation marks, sorry if my post was misleading , shouldn't have put it in quotaion marks. I thought you knew the required data type. What _x is would exceed the purpose the the thread I think. Try googling for "magic variables arma" -
Counting Units Percentage?
donelsarjo replied to SlovakianLynx's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Jupp you are right. I was thinking of TvT. -
Counting Units Percentage?
donelsarjo replied to SlovakianLynx's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Remaining units of side / all units from one side = percentage of remaining units of one side. Condition: {alive _x && {side _x == "side"}} count playableUnits / ("side" countSide playableUnits) < 0.3 // or 0.2 whatever you wantI think that's the right condition. Probably. Don't know . Try it. I'm drunk lol -
How to limit GhostHawk Door-Gunners Ammo
donelsarjo replied to MANTIA's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Simple solution: there is a slider in the unit's properties in the editor. Use it an try it. -
Simulate a dedicated on hosted server?
donelsarjo replied to pierremgi's topic in ARMA 3 - SERVERS & ADMINISTRATION
In simple terms, no. The headless client is usually filtered by !hasInterface && !isServer. All the scripts for the HC won't work. You can start a ArmaServer (steam -> tools -> Arma server ) via the -client parameter and let it connect to your locally hosted game. Then you can do stuff from an other computer -
They are encrypted atm. So you have to wait for bis to "release" them.
-
Why not use waitUntil ?
-
[Performance] Get random unit from all units
donelsarjo replied to M1ke_SK's topic in ARMA 3 - MISSION EDITING & SCRIPTING
_dog = selectRandom ((allUnits - allPlayers) select {getVariable ["dog", false]});Should work, try it. -
null = [] spawn {sleep 1; disableSerialization; call BIS_fnc_animViewer;}; Look for your self.
-
COOP version of Iron Front campaigns in A3 - opinions and suggestions
donelsarjo replied to .kju's topic in ARMA 3 - USER MISSIONS
This is a great idea! I hope to see the sp campaign remade as a MP coop campaign. I would suggest to make a similar respawn (redrawn positions unlocked next to objective if condition fulfilled) and revive (maybe revive only with medic box ) system as present in the apex campaign. Also I would like to see the new slotting screen, looking like an old document with a nice font. The enemy scaling according to the player count would also be great in terms of difficulty. I am really looking forward to see the campaign integrated. I would be glad to help. Puhh the first mission of the soviet campaign already look problematic with the shooting range. Needs some clever task management .