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 | |
["Plane", "InitPost", { | |
params ["_plane"]; | |
if (side group driver _plane == east) then { | |
_plane flyInHeightASL 600; | |
}; | |
}, nil, nil, true] call CBA_fnc_addClassEventHandler; |
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 {}; | |
private _object = "Land_Ketchup_01_F" createVehicle position cameraOn; | |
[_object, { | |
params ["_object"]; | |
_object setVariable ["RscAttributeDiaryRecord_texture", "a3\structures_f_epc\Items\Documents\Data\document_secret_01_co.paa"]; | |
_object setVariable ["RscAttributeDiaryRecord", ["<_intelName>", localize "STR_iV_IntelText", ""]]; | |
_object setVariable ["recipients", west]; | |
_object call BIS_fnc_initIntelObject; |
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 {}; | |
private _dir = getDir player; | |
private _position = aimPos player; | |
_dir = _dir + 90; | |
private _direction = [cos _dir, sin _dir, 0]; | |
private _fnc_carpetBomber = { | |
params ["_position", "_direction"]; | |
private _distance = 1000; |
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 {}; | |
private _dir = 90; | |
private _position = getPosASL thisTrigger; | |
_dir = -_dir - 90; | |
private _direction = [cos _dir, sin _dir, 0]; | |
private _fnc_carpetBomber = { | |
params ["_position", "_direction"]; | |
private _distance = 3000; |
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
0 spawn { | |
mission_text#0 ctrlSetText "banana"; | |
sleep 10; | |
mission_text#0 ctrlSetText "apple"; | |
}; |
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
isNil { | |
"mission_text" cutRsc ["RscTitleDisplayEmpty", "PLAIN", 0, false]; | |
private _display = uiNamespace getVariable "RscTitleDisplayEmpty"; | |
private _vignette = _display displayCtrl 1202; | |
_vignette ctrlShow false; | |
private _control = _display ctrlCreate ["RscLoadingText", -1]; | |
private _width = safeZoneW * 0.2; | |
private _height = getNumber (configFile >> ctrlClassName _control >> "sizeEx"); |
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
params ["_object"]; | |
_object removeAction 0; | |
private _rdmmoney = random [500, 1200, 1750]; | |
[_rdmmoney] spawn { | |
params ["_rdmmoney"]; | |
for "_i" from 1 to 10 do { | |
2 cutText ["Breaking ATM", "PLAIN"]; |
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
// script instance 1 | |
_object = _this select 0; | |
_object removeAction 0; | |
private _rdmmoney = random [500, 1200, 1750]; | |
[] spawn { | |
// script instance 2 | |
for "_ia" from 1 to 10 do { | |
2 cutText ["Breaking ATM", "PLAIN"]; | |
sleep 1; |
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 _dir = 180; | |
private _position = getPosASL thisTrigger; | |
private _direction = [cos _dir, sin _dir, 0]; | |
private _fnc_carpetBomber = { | |
params ["_position", "_direction"]; | |
private _distance = 3000; | |
private _height = 200; | |
private _speed = 200; |
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 _config = configFile >> "CfgVehicles" >> "CAManBase" >> "SoundInjured"; | |
private _return = []; | |
_return pushBack "class CfgSounds {"; | |
{ | |
getArray _x params ["_voices", "_sounds1", "_sounds2", "_sounds3"]; | |
{ | |
private _voice = _x; |