Zargabad

zargabad
//Single-shot support demo – modelled after CE6_EyeOfTheHurricane.Zargabad
scriptName “init.sqf: 1”;
if (isnull player) exitwith {};

if (isserver) then //will be executed on server only
{
//Enable all supports, set to false what you don’t need
BIS_SSM_AmmoDrop_AVAILABLE_WEST = TRUE; publicVariable “BIS_SSM_AmmoDrop_AVAILABLE_WEST”;
BIS_SSM_UnitsDrop_AVAILABLE_WEST = TRUE; publicVariable “BIS_SSM_UnitsDrop_AVAILABLE_WEST”;
BIS_SSM_Airstrike_AVAILABLE_WEST = TRUE; publicVariable “BIS_SSM_Airstrike_AVAILABLE_WEST”;
BIS_SSM_Mortar_AVAILABLE_WEST = TRUE; publicVariable “BIS_SSM_Mortar_AVAILABLE_WEST”;
zargabad zargabad
BIS_SSM_Artillery_AVAILABLE_WEST = TRUE; publicVariable “BIS_SSM_Artillery_AVAILABLE_WEST”;
BIS_SSM_CeaseFire_AVAILABLE_WEST = TRUE; publicVariable “BIS_SSM_CeaseFire_AVAILABLE_WEST”;
//if you need supports for EAST or GUERRILLA, add them here

//EXPRESSION is run when a support is called. If we put a disable call in expression,
//it has the effect of limiting the support to one use.
//To avoid duplicating code we can use the same expression for all of the supports.
//Support type is passed by SSM to the expression as a parameter, which we can extract with select
BIS_SSM_expression = {
_type = _this select 1;
zargabad zargabad
missionnamespace setvariable [format [“BIS_SSM_%1_ENABLED_%2”,_type,side player],false];
_sqf = [] call BIS_SSM_fnc_updateMenu;
};
//use the same expression for every support
BIS_SSM_AmmoDrop_EXPRESSION = BIS_SSM_expression;
BIS_SSM_UnitsDrop_EXPRESSION = BIS_SSM_expression;
BIS_SSM_Airstrike_EXPRESSION = BIS_SSM_expression;
BIS_SSM_Mortar_EXPRESSION = BIS_SSM_expression;
BIS_SSM_Artillery_EXPRESSION = BIS_SSM_expression;
//if you have supports for EAST or GUERRILLA, add their expression settings here
zargabad best of zargabad
//BIS_SSM_expression can be used for them as well

//update support menu
[] call BIS_SSM_fnc_updateMenu;
}
zargabad

Pawn Inclination For Fighter

Demonic Gorillas Gp Per Hour