Page 1 of 1

Having groups (airbases) switch sides?

Posted: Sat Feb 13, 2021 9:55 am
by BeirutDude
I'm working on a Amphibious scenario and would like to have the airbases and ports switch sides as the islands/areas are taken. Can a group be set to switch sides using the "Unit Remains in area Trigger (say 1 hour)?

or would I have to delete from side A and add an equivalent group for Side B with the same event? If this is the case can it be done for a group? I see the unit function but not one for group.

Never mind found it!

ScenEdit_SetUnitSide({side='Old Side', name='Eagle #1', newside='New Side'})

RE: Having groups (airbases) switch sides?

Posted: Sat Feb 13, 2021 11:20 am
by Parel803
thank for the post. So I can keep learning aobut lua and it's poosibilities.
with regards GJ