Search the Community
Showing results for tags 'empty'.
Found 3 results
-
Good day armates. I search for some kind of intel to be filled with text depending on mission conditions on the field. If there is a mod or script structure or any kind of way to do this nice and clean, please refer to it. To be precise about what I need, I will put a situation: there are randomly placed, underwater mines in a depth range of -5 to -100 meters and in random horizontal area placement of 600 m2. They are used in exercises for underwater orientation, not as part of operation strategy. So the goal is only to provide recruits with enough info to find and disarm them in specific aquatorium using these commands: systemChat format ["АЗИМУТ: %1", (player getDir nm1)]; //azimuth systemChat format ["ДУБИНА: %1", ((getPosASL nm1) select 2)+45]; //depth systemChat format ["ДИСТАНЦА: %1", (player distance nm1)]; //dist where nm1, nm2... are names for mines of course, so a compass and depth gauge will be enough to complete the task. My question: Is there a way to place this information in intel so that looks more realistic than just providing them using systemChat . Maybe some addon with picture intel with empty fields ready to be filled with a script? It will be easy to use in normal ways but the info package is always changing and it is random for every new exercise so I need to solve that using systemChat every time a new course begins. Of course, I was searching Steam for an addon like that but every one I found was "static" intel - not changeable depending on the mission conditions. Every idea is welcome, it doesn't have to be an add-on, just to be more realistic than hints or system chats. Thanks in advance edited/added: the whole script for placing mine (if needed): .sqf //CENTAR-1 cntr1 = createVehicle ["Land_WoodenLog_F", [0,0,1000], [], 0, "CAN_COLLIDE"]; cntr1 allowDamage false; cntr1 setPos getMarkerPos "mrk_1"; cntr1 hideObject true; sleep .5; //HORIZONT POS nm1 = createMine ["UnderwaterMine", getMarkerPos "mrk_1", [], 0]; sleep .5; //POZ-1 DEFINICIJA _poz1 = [cntr1, 5, 600, 10, 2, 1, 0] call BIS_fnc_findSafePos; sleep .5; nm1 setPos _poz1; //VERTICAL POS _depth = selectRandom [40,35,30,25,20,15,10,5,0,-5,-10,-15,-20,-25,-30,-35,-40,-45,-50,-55]; sleep .5; nm1 setPos [getPos nm1 select 0, getPos nm1 select 1, (getPos nm1 select 2) +_depth];
-
Change a vehicle's variable when it's empty
ColonelKernel posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hi. How can I change a vehicle's variable when it's empty? (dynamically through the mission) -
Spawn empty vehicle and set its direction
WurschtBanane posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hi. I am spawning a jet via trigger by using this: _vehicleObject = "B_Plane_CAS_01_F" createVehicle (getMarkerPos "marker_spawn_A10");, but its always pointing towards 180. I want it to look towards 270 or so... you get it. Can anyone help me please? I know this is pretty basic and there is a thread covering this somewhere probably... couldnt find it though.