I have made some progress i think,
To get the CIVs to share a vic with their captors:
Code: Select all
// Captives
// Arma 3 Flix https://www.youtube.com/watch?v=woAQ_4mi8K8&feature=youtu.be
SUV_1 allowFleeing 0; this addaction ["<t color='#ff0000'>Take Captive","[E1] join player;"]; this addaction ["<t color='#ff0000'>Disarm","removeAllWeapons E1;"];
0 = allowFleeing 0; this addaction ["<t color='#ff0000'>Take Captive","[E1] join player;"]; this addaction ["<t color='#ff0000'>Disarm","removeAllWeapons E1;"];
this allowFleeing 0; this addaction ["<t color='#ff0000'>Take Captive","[E1] join player;"]; this addaction ["<t color='#ff0000'>Remove All Weapons","removeAllWeapons E1;"];
And to make the replacement radio channels:
Code: Select all
// Radio Stuff
// https://community.bistudio.com/wiki/radioChannelCreate
if (isServer) then
{
private _channelName = "Q-dance Radio";
private _channelID = radioChannelCreate [[0.96, 0.34, 0.13, 0.8], _channelName, "%UNIT_NAME", []];
if (_channelID == 0) exitWith {diag_log format ["Custom channel '%1' creation failed!", _channelName]};
[_channelID, {_this radioChannelAdd [player]}] remoteExec ["call", [0, -2] select isDedicated, _channelName]; // I think the [player] here needs to be an array of all the unit names on the AAF side or can it simply be [independent]? | Not sure what the [0, -2] is about...
};
// then below is what i think i need in init.sqf is that right?
if (isServer) then
{
{
private _channelName = "AAF COMMAND NET";
private _channelID = radioChannelCreate [[0.3, 0.9, 1, 1], _channelName, "%UNIT_NAME", []];
if (_channelID == 0) exitWith {diag_log format ["Custom channel '%1' creation failed!", _channelName]};
[_channelID, {_this radioChannelAdd ["IND_CO","IND_CO_M","IND_ASL","IND_BSL","IND_CSL","IND_DSL","IND_IFV1_SL","IND_IFV2_SL",}] remoteExec ["call", [0, -2] select isDedicated, _channelName]; // replaced [player] with an array of unit names in the AAF Command structure...
};
{
private _channelName = "AAF SIDE CH";
private _channelID = radioChannelCreate [[0, 1, 1, 1], _channelName, "%UNIT_NAME", []];
if (_channelID == 0) exitWith {diag_log format ["Custom channel '%1' creation failed!", _channelName]};
[_channelID, {_this radioChannelAdd [Independent]}] remoteExec ["call", [0, -2] select isDedicated, _channelName]; // replaced [player] here with AAF side...
};
{
private _channelName = "NATO COMMAND NET";
private _channelID = radioChannelCreate [[0.3, 0.9, 1, 1], _channelName, "%UNIT_NAME", []];
if (_channelID == 0) exitWith {diag_log format ["Custom channel '%1' creation failed!", _channelName]};
[_channelID, {_this radioChannelAdd ["BLU_CO","BLU_ASL","BLU_BSL","BLU_V1_SL","BLU_V2_SL",]}] remoteExec ["call", [0, -2] select isDedicated, _channelName];
};
{
private _channelName = "NATO SIDE CH";
private _channelID = radioChannelCreate [[0, 1, 1, 1], _channelName, "%UNIT_NAME", []];
if (_channelID == 0) exitWith {diag_log format ["Custom channel '%1' creation failed!", _channelName]};
[_channelID, {_this radioChannelAdd [blufor]}] remoteExec ["call", [0, -2] select isDedicated, _channelName];
};
};
Will test and will be back asking for help soon!