function GetOtherUnitByPlot( unit )
local plot = unit:GetPlot()
for i = 0, plot:GetNumUnits()-1, 1 do
if unit ~= plot:GetUnit(i) then
return plot:GetUnit(i)
end
end
end
no obvious way to find out who the hell is on a tile with you
Thanks for the feedback! I'll see if I can make it do this and get it fixed. As for the falling one turn behind, it shouldn't do that, unless it started one turn behind. What conditions did you run into the 'one turn behind' bug?I think it happened when a unit and worker temporarily sat on the same tile (seemed to automatically trigger it).
Where in the program files does this mod go?…
Make sure you finish any current games before updating from an older version of Follow and Cover, or your saved games may not load.
This mod changes UnitPanel.lua and will conflict with any mods that change that file.
Beta release.
Gotcha—thanks…Put the .civ5mod file into the "~\Documents\My Games\Sid Meier's Civilization 5\MODS" sub-folder (where ~ will depend on what version of Windows you're using), start the game, go into the Mods screen, wait a bit and the game will unpack the mod and let you enable it (just as if it had been downloaded from Steam)