Skip to content

Instantly share code, notes, and snippets.

View soulkobk's full-sized avatar
💭
modding arma 3 or assetto corsa :)

soulkobk soulkobk

💭
modding arma 3 or assetto corsa :)
View GitHub Profile
/*
----------------------------------------------------------------------------------------------
Copyright © 2016 soulkobk (soulkobk.blogspot.com)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
/*
----------------------------------------------------------------------------------------------
Copyright © 2016 soulkobk (soulkobk.blogspot.com)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
/*
----------------------------------------------------------------------------------------------
Copyright © 2018 soulkobk (soulkobk.blogspot.com)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
/*
----------------------------------------------------------------------------------------------
Copyright © 2018 soulkobk (soulkobk.blogspot.com)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
// ******************************************************************************************
// * This project is licensed under the GNU Affero GPL v3. Copyright © 2018 A3Wasteland.com *
// ******************************************************************************************
// @file Name: createDivingGroup.sqf
// @file Author: soulkobk
// @file Updated: 5:33 PM 23/05/2018 by soulkobk
if (!isServer) exitWith {};
private ["_unitClasses","_unitGroup","_missionPosition","_unit","_unitAmount"];
// ******************************************************************************************
// * This project is licensed under the GNU Affero GPL v3. Copyright © 2018 A3Wasteland.com *
// ******************************************************************************************
// @file Name: mission_shipWrecked.sqf - high payout for high risk.
// @file Author: soulkobk
// @file Updated: 5:33 PM 23/05/2018 by soulkobk
if (!isServer) exitwith {};
#include "moneyMissionDefines.sqf";
/*
----------------------------------------------------------------------------------------------
Copyright © 2018 soulkobk (soulkobk.blogspot.com)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
// ******************************************************************************************
// * This project is licensed under the GNU Affero GPL v3. Copyright © 2018 A3Wasteland.com *
// ******************************************************************************************
// @file Name: mission_VehicleTemplate.sqf
// @file Author: JoSchaap, AgentRev, Mokey
// @file Author: soulkobk - created a generic and easily modifiable vehicle mission template,
// scripted/coded for fractured gaming (fractured-gaming.com) 14/05/2018.
// ******************************************************************************************
if (!isServer) exitwith {};
#include "mainMissionDefines.sqf"
///////////////////////////////////////////////////////////////////////////////////////////////////
_loadOutFolder = "loadOuts"; // specify the path inside the mission file where the load outs are stored.
///////////////////////////////////////////////////////////////////////////////////////////////////
// DONT EDIT BELOW HERE!
_missionPath = [(str missionConfigFile), 0, -15] call BIS_fnc_trimString;
waitUntil {!isNull player}; // wait until the player exists.
MISSION_ROOT = call {
private "_arr";
_arr = toArray __FILE__;
_arr resize (count _arr - 8);
toString _arr
};
SL_fnc_playSound = { // declare the global variable/function.
_soundIsPlaying = missionNamespace getVariable ["playingSound",false]; // retrieve the name space variable 'playingSound', return false if not declared.
if (!_soundIsPlaying) then // if sound is NOT playing.