This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (!isServer) exitWith {}; | |
PZG_EnableSound = true; | |
params ["_logic"]; | |
private _allSounds = [ | |
["A3\Sounds_F\environment\ambient\battlefield\battlefield_explosions1.wss", 20], | |
["A3\Sounds_F\environment\ambient\battlefield\battlefield_explosions2.wss", 23], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ------------------------------------------- | |
Macro: NS_NULL | |
Description: | |
Returns a undefined (null) CBA namespace. | |
Parameters: | |
None | |
Example: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//init.sqf | |
My_fnc_addCustomUniform = { | |
params [["_unit", objNull, [objNull]], ["_uniform", "", [""]], ["_texture", "", [""]]]; | |
_unit addUniform _uniform; | |
if (_texture != "") then { | |
_unit setObjectTextureGlobal [0, _texture]; | |
(uniformContainer _unit) setVariable ["custom_texture", _texture, true]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// by commy2 | |
params ["_group", "_position"]; | |
private _index = currentWaypoint _group; | |
_group enableAttack false; | |
private _units = units _group; | |
private _staticWeapons = _position nearObjects ["StaticWeapon", 50] select {_x emptyPositions "gunner" > 0}; | |
private _buildings = (_position nearObjects ["Building", 50]) apply {_x buildingPos -1} select {count _x > 0}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ID1 = player addEventHandler ["fired", { | |
systemChat str 1; | |
player removeEventHandler ["fired", ID1]; | |
}]; | |
player addEventHandler ["fired", { | |
systemChat str 2; | |
}]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private _e = []; | |
private _c = "true" configClasses (configFile >> "CfgVehicles"); | |
{ | |
private _ce = "true" configClasses (_x >> "DestructionEffects") apply {toLower getText (_x >> "type")} select {(_x find "\") isEqualTo -1}; | |
_e append _ce; | |
_e = _e arrayIntersect _e; | |
} forEach _c; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_r = configFile >> "CfgWeapons" >> "ItemInfo"; | |
_w = "true" configClasses (configFile >> "CfgWeapons"); | |
_w = _w select {inheritsFrom (_x >> "ItemInfo") == _r} apply {configName _x}; | |
copyToClipBoard str _w; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CBA_fnc_findLoadableWeapon = {// | |
params [["_unit", objNull, [objNull]], ["_magazine", "", [""]]]; | |
_magazine = toLower _magazine; | |
private _weaponsMagazines = [ | |
[primaryWeapon _unit, primaryWeaponMagazine _unit], | |
[handgunWeapon _unit, handgunMagazine _unit], | |
[secondaryWeapon _unit, secondaryWeaponMagazine _unit], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
===================================================================== | |
== C:\Program Files (x86)\Steam\steamapps\common\Arma 3\arma3.exe | |
== "C:\Program Files (x86)\Steam\steamapps\common\Arma 3\arma3.exe" "-mod=C:\Program Files (x86)\Steam\steamapps\common\Arma 3\!Workshop\@CBA_A3;C:\Program Files (x86)\Steam\steamapps\common\Arma 3\!Workshop\@ace" | |
Original output filename: Arma3Retail_DX11 | |
Exe timestamp: 2016/09/21 16:15:19 | |
Current time: 2016/10/03 23:43:12 | |
Type: Public | |
Build: Stable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
===================================================================== | |
== C:\Program Files (x86)\Steam\steamapps\common\Arma 3\arma3.exe | |
== "C:\Program Files (x86)\Steam\steamapps\common\Arma 3\arma3.exe" -mod= | |
Original output filename: Arma3Retail_DX11 | |
Exe timestamp: 2016/09/21 16:15:19 | |
Current time: 2016/10/09 10:37:00 | |
Type: Public | |
Build: Stable |
OlderNewer