Permalink
Browse files

VTOLs come from air base area in cam2-b.

  • Loading branch information...
KJeff01 committed Jan 12, 2018
1 parent e04cada commit 8cfd7259a33793a0d792d6a2582a78f1a99c6af3
Showing with 6 additions and 15 deletions.
  1. +2 −7 data/base/script/campaign/cam2-b.js
  2. +4 −8 data/base/wrf/cam2/cam2b/labels.json
@@ -15,11 +15,10 @@ const COLLECTIVE_RES = [
camAreaEvent("vtolRemoveZone", function(droid)
{
if ((droid.player === THE_COLLECTIVE) && isVTOL(droid))
if (isVTOL(droid))
{
camSafeRemoveObject(droid, false);
}
resetLabel("vtolRemoveZone");
});
@@ -86,16 +85,12 @@ function ambushPlayer()
function vtolAttack()
{
var list; with (camTemplates) list = [colcbv, colatv];
const POSITIONS = [
"vtolAppearPosW",
"vtolAppearPosN",
];
var ext = {
limit: [4, 4], //paired with list array
alternate: true,
altIdx: 0
};
camSetVtolData(THE_COLLECTIVE, POSITIONS, "vtolRemove", list, camChangeOnDiff(300000), "COCommandCenter", ext); //5 min
camSetVtolData(THE_COLLECTIVE, "vtolAppearPos", "vtolRemove", list, camChangeOnDiff(300000), "COCommandCenter", ext); //5 min
}
function truckDefense()
@@ -8,8 +8,8 @@
"pos": [11136, 12800]
},
"position_2": {
"label": "vtolAppearPosW",
"pos": [8896, 8512]
"label": "vtolAppearPos",
"pos": [1000, 1000]
},
"position_3": {
"label": "COHeavyFacL-b1Assembly",
@@ -93,11 +93,7 @@
},
"position_23": {
"label": "vtolRemove",
"pos": [8576, 9500]
},
"position_24": {
"label": "vtolAppearPosN",
"pos": [8576, 1152]
"pos": [128, 128]
},
"area_0": {
@@ -199,7 +195,7 @@
"radius_0": {
"label": "vtolRemoveZone",
"subscriber": 2,
"pos": [8576, 9500],
"pos": [128, 128],
"radius": 300
}
}

0 comments on commit 8cfd725

Please sign in to comment.