Differential D1150 Diff 4823 ps/trunk/binaries/data/mods/public/maps/random/survivalofthefittest_triggers.js
Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/binaries/data/mods/public/maps/random/survivalofthefittest_triggers.js
Show First 20 Lines • Show All 300 Lines • ▼ Show 20 Lines | for (let attackerTemplate of attackerTemplates) | ||||
continue; | continue; | ||||
let entities = TriggerHelper.SpawnUnits(point, attackerTemplate.template, attackerTemplate.count, 0); | let entities = TriggerHelper.SpawnUnits(point, attackerTemplate.template, attackerTemplate.count, 0); | ||||
ProcessCommand(0, { | ProcessCommand(0, { | ||||
"type": "attack-walk", | "type": "attack-walk", | ||||
"entities": entities, | "entities": entities, | ||||
"x": targetPos.x, | "x": targetPos.x, | ||||
"z": targetPos.y, | "z": targetPos.y, | ||||
"queued": true, | "targetClasses": undefined, | ||||
"targetClasses": undefined | "allowCapture": false, | ||||
"queued": true | |||||
}); | }); | ||||
if (attackerTemplate.hero) | if (attackerTemplate.hero) | ||||
this.gaiaHeroes[playerID] = entities[0]; | this.gaiaHeroes[playerID] = entities[0]; | ||||
} | } | ||||
spawned = true; | spawned = true; | ||||
} | } | ||||
▲ Show 20 Lines • Show All 49 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator