I'm sorry, I should have been more specific. It's if a unit is actually in the same tile you're trying to move your unit to. Also, it's not specific to any faction. The check obtains the raw unit id and if it's not set to -1 (no units) then it skips over (base->land) check. So check doesn't discriminate whether unit is yours, friendly, or enemy. It doesn't take into account surrounding tiles (ie not ZOC) just the one you're moving to.
Before it even gets to this check, if you try to move an unit either from transport or from sea base into square with another factions unit (treaty/war) it checks if your unit has amphibious pods ("Only units with amphibious pods may attack from sea"). So that's not an issue. You can move on top of your own units / pact units fine as long as you meet the checks.
I identified the other checks so the only way you can skip over "base -> land" check is if unit has amphib pods, unit is AI (CPU not automated), unit is coming off a transport (in or out of a base), or there is a transport (air/land/sea) in the base. I think this set of checks pertain specifically to sea->land movement.
If anyone can think of something this might potentially be used for, I'd be more than happy to test it out.
I think I've come across a minor bug. You can't move units even with amphibious pods into pact factions sea bases. I thought this might be a bug because there is no restriction in being able to move into land bases so why should there be one for sea?
Before it even gets to this check, if you try to move an unit either from transport or from sea base into square with another factions unit (treaty/war) it checks if your unit has amphibious pods ("Only units with amphibious pods may attack from sea"). So that's not an issue. You can move on top of your own units / pact units fine as long as you meet the checks.
I identified the other checks so the only way you can skip over "base -> land" check is if unit has amphib pods, unit is AI (CPU not automated), unit is coming off a transport (in or out of a base), or there is a transport (air/land/sea) in the base. I think this set of checks pertain specifically to sea->land movement.
If anyone can think of something this might potentially be used for, I'd be more than happy to test it out.
I think I've come across a minor bug. You can't move units even with amphibious pods into pact factions sea bases. I thought this might be a bug because there is no restriction in being able to move into land bases so why should there be one for sea?
Comment