Unit.carriedBy: Difference between revisions
From Scenario League Wiki
Jump to navigationJump to search
(Added Documentation to this function) |
m (More documentation) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
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. | 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. |
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.