in editor for "operationblue" I have checked "triggers" and found references to .lua file:
Code: Select all
units1 = {64,54,63,56,62,58,61,55,59,57,60}
function AttackCondition1()
flag1 = world:GetHex({17,3})
return flag1.owner == 0
end
function AttackEffect1()
for _, unit_id in ipairs(units1) do
local unit = world:GetUnit(unit_id)
if (unit ~= nil) then
local orders = Copy(unit.orders)
table.remove(orders, 1)
unit.orders = orders
end
end
end
In editor how can I find hex{17,3}?