211 lines
4.0 KiB
Plaintext
211 lines
4.0 KiB
Plaintext
autoRunMission = mapObjectiveCommand addAction [
|
|
"AUTO RUN MISSION",
|
|
{
|
|
params ["_target", "_caller", "_actionID"];
|
|
var_task_01_defendNortheast = true;
|
|
missionNamespace setVariable ["autoRun", true, true];
|
|
publicVariable "var_task_01_defendNortheast";
|
|
_target removeAction _actionID;
|
|
},
|
|
nil,
|
|
1.5,
|
|
true,
|
|
true,
|
|
"",
|
|
"true",
|
|
3,
|
|
false,
|
|
"",
|
|
""
|
|
];
|
|
|
|
_task01DefendNorthEast = mapObjectiveCommand addAction [
|
|
"1. SET TASK - Defend Northeast Frontline",
|
|
{
|
|
params ["_target", "_caller", "_actionID"];
|
|
var_task_01_defendNortheast = true;
|
|
missionNamespace setVariable ["var_task_01_defendNortheast", true, true];
|
|
_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"];
|
|
missionNamespace setVariable ["var_task_02_destroyArmor", true, true];
|
|
_target removeAction _actionID;
|
|
},
|
|
nil,
|
|
1.5,
|
|
true,
|
|
true,
|
|
"",
|
|
"_this == missionCommander",
|
|
3,
|
|
false,
|
|
"",
|
|
""
|
|
];
|
|
|
|
_task03EliminateHVT = mapObjectiveCommand addAction [
|
|
"3. SET TASK - Eliminate HVT",
|
|
{
|
|
params ["_target", "_caller", "_actionID"];
|
|
missionNamespace setVariable ["var_task_03_eliminateHVT", true, true];
|
|
_target removeAction _actionID;
|
|
},
|
|
nil,
|
|
1.5,
|
|
true,
|
|
true,
|
|
"",
|
|
"_this == missionCommander",
|
|
3,
|
|
false,
|
|
"",
|
|
""
|
|
];
|
|
|
|
_task04SupportRetreat = mapObjectiveCommand addAction [
|
|
"4. SET TASK - Support Retreat",
|
|
{
|
|
params ["_target", "_caller", "_actionID"];
|
|
missionNamespace setVariable ["var_task_04_supportRetreat", true, true];
|
|
_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"];
|
|
missionNamespace setVariable ["var_task_05_repelNorthwestBreakthrough", true, true];
|
|
_target removeAction _actionID;
|
|
},
|
|
nil,
|
|
1.5,
|
|
true,
|
|
true,
|
|
"",
|
|
"_this == missionCommander",
|
|
3,
|
|
false,
|
|
"",
|
|
""
|
|
];
|
|
|
|
_task06DefendNorth = mapObjectiveCommand addAction [
|
|
"6. SET TASK - Defend North",
|
|
{
|
|
params ["_target", "_caller", "_actionID"];
|
|
missionNamespace setVariable ["var_task_06_defendNorth", true, true];
|
|
_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"];
|
|
missionNamespace setVariable ["var_task_07_repelEastBreakthrough", true, true];
|
|
_target removeAction _actionID;
|
|
},
|
|
nil,
|
|
1.5,
|
|
true,
|
|
true,
|
|
"",
|
|
"_this == missionCommander",
|
|
3,
|
|
false,
|
|
"",
|
|
""
|
|
];
|
|
|
|
_task08DefendEast = mapObjectiveCommand addAction [
|
|
"8. SET TASK - Defend East",
|
|
{
|
|
params ["_target", "_caller", "_actionID"];
|
|
missionNamespace setVariable ["var_task_08_defendEast", true, true];
|
|
_target removeAction _actionID;
|
|
},
|
|
nil,
|
|
1.5,
|
|
true,
|
|
true,
|
|
"",
|
|
"_this == missionCommander",
|
|
3,
|
|
false,
|
|
"",
|
|
""
|
|
];
|
|
|
|
_task09DelayArmor = mapObjectiveCommand addAction [
|
|
"9. SET TASK - Delay Armor",
|
|
{
|
|
params ["_target", "_caller", "_actionID"];
|
|
missionNamespace setVariable ["var_task_09_delayGermanArmor", true, true];
|
|
_target removeAction _actionID;
|
|
},
|
|
nil,
|
|
1.5,
|
|
true,
|
|
true,
|
|
"",
|
|
"_this == missionCommander",
|
|
3,
|
|
false,
|
|
"",
|
|
""
|
|
];
|
|
|
|
_task10Retreat = mapObjectiveCommand addAction [
|
|
"10. SET TASK - Retreat",
|
|
{
|
|
params ["_target", "_caller", "_actionID"];
|
|
missionNamespace setVariable ["var_task_10_retreat", true, true];
|
|
_target removeAction _actionID;
|
|
},
|
|
nil,
|
|
1.5,
|
|
true,
|
|
true,
|
|
"",
|
|
"_this == missionCommander",
|
|
3,
|
|
false,
|
|
"",
|
|
""
|
|
]; |