I want to add a CR.32 fighter for the Hungarian faction on hex 3,11. While I was able to edit and add core units on the Seville map, doing the same on the Antequera map does not work - the unit simply does not spawn at all, while in Seville I could make all the changes I want to the core units placed on the map. The only way around it I found is to separately spawn it using the lua script (independent of the map file), but when doing so it remains Italian, not Hungarian:
Code: Select all
function OnNewRound(action)
if world.round == 1 then
player = 0
zone = { {3,11}, {3,12}}
units = { {"CR32", "", 0, 0} }
SpawnWaveAir(player, zone, units)
if not world.round == 1 then return end
end
end1. Is it possible to specify the faction the unit will spawn for? Adding faction=x under player = 0 does nothing.
2. If not, is there some lua script I am missing that "activates" the units added to the map in the editor?
3. If also not, possibly I am missing a trigger in the editor?

