Files
Ardennes_02_Battle_of_St_Vi…/objectiveCommand.sqf
T

247 lines
4.4 KiB
Plaintext
Raw Normal View History

2026-05-03 17:46:36 +10:00
_createRTB = mapObjectiveCommand addAction [
"CREATE TASK - RTB",
{
params ["_target", "_caller", "_actionID"];
var_task_00_rtbCreate = true;
_target removeAction _actionID;
},
nil,
1.5,
true,
true,
"",
"_this == missionCommander",
3,
false,
"",
""
];
_setRTB = mapObjectiveCommand addAction [
"SET TASK - RTB",
{["00", "ASSIGNED"] call BIS_fnc_taskSetState;},
nil,
1.5,
true,
true,
"",
"_this == missionCommander",
3,
false,
"",
""
];
_completeRTB = mapObjectiveCommand addAction [
"COMPLETE TASK - RTB",
{["00", "SUCCEEDED"] call BIS_fnc_taskSetState;},
nil,
1.5,
true,
true,
"",
"_this == missionCommander",
3,
false,
"",
""
];
_task01DefendNorthEast = mapObjectiveCommand addAction [
"1. SET TASK - Defend Northeast Frontline",
{
params ["_target", "_caller", "_actionID"];
var_task_01_defendNortheast = true;
publicVariable "var_task_01_defendNortheast";
_target removeAction _actionID;
},
nil,
1.5,
true,
true,
"",
"_this == missionCommander",
3,
false,
"",
""
];
_task02DestroyArmor = mapObjectiveCommand addAction [
"2. SET TASK - Destroy German Armor",
{
params ["_target", "_caller", "_actionID"];
var_task_02_destroyArmor = true;
publicVariable "var_task_02_destroyArmor";
_target removeAction _actionID;
},
nil,
1.5,
true,
true,
"",
"_this == missionCommander",
3,
false,
"",
""
];
_task03EliminateHVT = mapObjectiveCommand addAction [
"3. SET TASK - Eliminate HVT",
{
params ["_target", "_caller", "_actionID"];
var_task_03_eliminateHVT = true;
publicVariable "var_task_03_eliminateHVT";
_target removeAction _actionID;
},
nil,
1.5,
true,
true,
"",
"_this == missionCommander",
3,
false,
"",
""
];
_task04SupportRetreat = mapObjectiveCommand addAction [
"4. SET TASK - Support Retreat",
{
params ["_target", "_caller", "_actionID"];
var_task_04_supportRetreat = true;
publicVariable "var_task_04_supportRetreat";
_target removeAction _actionID;
},
nil,
1.5,
true,
true,
"",
"_this == missionCommander",
3,
false,
"",
""
];
_task05RepelNorthwesternBrekathrough = mapObjectiveCommand addAction [
"5. SET TASK - Repel NW Breakthrough",
{
params ["_target", "_caller", "_actionID"];
var_task_05_repelNorthwestBreakthrough = true;
publicVariable "var_task_05_repelNorthwestBreakthrough";
_target removeAction _actionID;
},
nil,
1.5,
true,
true,
"",
"_this == missionCommander",
3,
false,
"",
""
];
_task06DefendNorth = mapObjectiveCommand addAction [
"6. SET TASK - Defend North",
{
params ["_target", "_caller", "_actionID"];
var_task_06_defendNorth = true;
publicVariable "var_task_06_defendNorth";
_target removeAction _actionID;
},
nil,
1.5,
true,
true,
"",
"_this == missionCommander",
3,
false,
"",
""
];
_task07RepelEasternBreakthrough = mapObjectiveCommand addAction [
"7. SET TASK - Repel E Breakthrough",
{
params ["_target", "_caller", "_actionID"];
var_task_07_repelEastBreakthrough = true;
publicVariable "var_task_07_repelEastBreakthrough";
_target removeAction _actionID;
},
nil,
1.5,
true,
true,
"",
"_this == missionCommander",
3,
false,
"",
""
];
_task08DefendEast = mapObjectiveCommand addAction [
"8. SET TASK - Defend East",
{
params ["_target", "_caller", "_actionID"];
var_task_08_defendEast = true;
publicVariable "var_task_08_defendEast";
_target removeAction _actionID;
},
nil,
1.5,
true,
true,
"",
"_this == missionCommander",
3,
false,
"",
""
];
_task09DelayArmor = mapObjectiveCommand addAction [
"9. SET TASK - Delay Armor",
{
params ["_target", "_caller", "_actionID"];
var_task_09_delayGermanArmor = true;
publicVariable "var_task_09_delayGermanArmor";
_target removeAction _actionID;
},
nil,
1.5,
true,
true,
"",
"_this == missionCommander",
3,
false,
"",
""
];
_task10Retreat = mapObjectiveCommand addAction [
"10. SET TASK - Retreat",
{
params ["_target", "_caller", "_actionID"];
var_task_10_retreat = true;
publicVariable "var_task_10_retreat";
_target removeAction _actionID;
},
nil,
1.5,
true,
true,
"",
"_this == missionCommander",
3,
false,
"",
""
];