Based on Fromafar's comments in ARmyData.cpp rev651 I put the code in the wrong place. Testing of course confirmed this
Well I thought I traced movement right, so back to the code.
My intent is to have a code where a unit with the rebase flag will automatically have its position reset to a city or an airbase (or a carrier) if the player uses the mouse and selects the valid rebase point (city, airbase, carrier)
the unit wont move like ctp2 does now there but automatically be placed there. this will be implementing the rebase feature of civ3 and with ranged bombard it will let modders have the option to use civ3 style air units.
So thats what the intent was, in the future it could lead to reimplementing civ2 style paradrops and airlifts, but i wanted to try this first.
So if anyone has the time, where did I go wrong in mapping the movement pieces?
Well I thought I traced movement right, so back to the code.
My intent is to have a code where a unit with the rebase flag will automatically have its position reset to a city or an airbase (or a carrier) if the player uses the mouse and selects the valid rebase point (city, airbase, carrier)
the unit wont move like ctp2 does now there but automatically be placed there. this will be implementing the rebase feature of civ3 and with ranged bombard it will let modders have the option to use civ3 style air units.
So thats what the intent was, in the future it could lead to reimplementing civ2 style paradrops and airlifts, but i wanted to try this first.
So if anyone has the time, where did I go wrong in mapping the movement pieces?