How to have an arsenal easily on a crate in an Arma 3 RHS mission.
More Arma 3 scripts.
Read MoreMore Arma 3 scripts.
Read MoreTo save the player`s loadout after they close the arsenal in Arma 3, put this code in the initPlayerLocal.sqf file. This code will save the player loadout after the arsenal is closed. [missionnamespace,"arsenalClosed", { [player, [missionNamespace, "inventory_var"]] call BIS_fnc_saveInventory; titletext ["Arsenal loadout saved.", "PLAIN DOWN"]; }] call bis_fnc_addScriptedEventhandler;[missionnamespace,"arsenalClosed", { [player,…
Read MoreThis very useful code will end a mission when three triggers have been activated and there are no enemies in the trigger area. adt = createTrigger ["EmptyDetector", Loc]; adt setTriggerArea [1800, 1800, 0, false]; adt setTriggerActivation ["EAST", "NOT PRESENT", false]; adt setTriggerStatements ["this","",""]; waitUntil { sleep 1; ((triggeractivated adt)…
Read MoreTo set the arsenal action on all crates in your base, use this code. This will give the Arsenal action to the Cargo Net Box item. Put this in the initPlayerLocal.sqf file. { [_x, "Open the Arsenal", "a3\Ui_f\data\GUI\Cfg\RespawnRoles\assault_ca.paa", "a3\Ui_f\data\GUI\Cfg\RespawnRoles\assault_ca.paa", "(_this distance _target < 6) && (isNull (findDisplay 162))", "isNull (findDisplay…
Read MoreDetect if a player has the APEX DLC. if (395180 in getDLCs 1) then { (_this select 0) ctrlsettext ‘\a3\Ui_f\Data\Logos\arma3apex_white_ca.paa’; };if (395180 in getDLCs 1) then { (_this select 0) ctrlsettext ‘\a3\Ui_f\Data\Logos\arma3apex_white_ca.paa’; }; Remove all NVG goggles and weapons from enemies. { if (side _x == east) then { _x…
Read MoreArma 3 scripting samples for creating MP missions This code sample inserted into the initServer.sqf will protect buildings 900m around your base from destruction by retards with a grudge against your server. { _x allowdamage false; } foreach (nearestTerrainObjects [crat99,["house"],900]);{ _x allowdamage false; } foreach (nearestTerrainObjects [crat99,["house"],900]); Name an object…
Read MoreVery useful Arma 3 scripting samples This scripting sample will remove the solar panels and doors from the Orange DLC tents and make them look like a good old fashioned MASH tent. med1 animateSource ["MedSign_Hide",1,true]; med1 animateSource ["Door_Hide",1,true]; med1 setObjectTextureGlobal [0,"\A3\Structures_F_Orange\Humanitarian\Camps\Data\MedicalTent_01_tropic_F_CO.paa"];med1 animateSource ["MedSign_Hide",1,true]; med1 animateSource ["Door_Hide",1,true]; med1 setObjectTextureGlobal [0,"\A3\Structures_F_Orange\Humanitarian\Camps\Data\MedicalTent_01_tropic_F_CO.paa"]; Add…
Read MoreThere is an ambitious plan to send colonists to Mars to begin the conquest of the red planet. I am not sure if this is a good idea, it would take years to get to the red planet and the radiation you would be exposed to on the way is…
Read MoreThe best thing to purchase if you are interested in Christmas gifts for a computer user in your household; other than a Laptop which is very useful these days would have to be an external hard disk that they could use to backup their precious data. Backing up data that…
Read MoreIndia are planning to send a probe to Mars, this will only be an orbiting probe to take photos of the surface of Mars and send them back to Earth. This is very interesting, with the tech boom in India, they are really moving ahead, the formerly third world country…
Read MoreThe NASA Curiosity rover is due to land on the Martian surface and bring us many new images of the Martian surface. This craft is travelling at over 13,000 Miles an hour and it needs to be able to slow down to a full stop before it creates a new…
Read MoreThere was a story on Slashdot regarding the Command Line Interface in modern operating systems. The Graphical User Interfaces in modern operating systems can perform some useful tasks, but I believe that the CLI still has it`s place. I always use the command-line when I am updating my Ubuntu and…
Read MoreThere is a mission planned to the International Space Station. This mission is planning to carry goods to the space station as the first private enterprise space mission to perform this duty. With the retirement of the space shuttle, private enterprise is one way that the future of space travel…
Read More