Unit.carriedBy: Difference between revisions

From Scenario League Wiki
Jump to navigationJump to search
m (Added back link)
m (More documentation)
 
Line 1: Line 1:
Back to [[The unit object]]
Back to [[The unit object]]


unit.carriedBy will sometimes point to other units, even units of a different tribe, when the unit is not being carried.  I discovered this while working on a scenario that was converted from an earlier version of Civ II, so it might be an artifact of that, but I don't know for sure.
unit.carriedBy will sometimes point to other units, even units of a different tribe, when the unit is not being carried.  I discovered this while working on a scenario that was converted from an earlier version of Civ II, so it might be an artifact of that, but I don't know for sure.  It appears that carriedBy is not updated when a ship reaches port.

Latest revision as of 21:37, 18 January 2019

Back to The unit object

unit.carriedBy will sometimes point to other units, even units of a different tribe, when the unit is not being carried. I discovered this while working on a scenario that was converted from an earlier version of Civ II, so it might be an artifact of that, but I don't know for sure. It appears that carriedBy is not updated when a ship reaches port.