Correction:
The behavior of GrantUpgradeCreate behavior with OCLed objects is the same as for Spawned objects.
That is, for GrantUpgradeCreate to work in an object that was made by OCL, you MUST HAVE the line that says:
ExemptStatus = UNDER_CONSTRUCTION.
I thought it didn't work because of a different bug: the minefield appearing at map origin bug. When an object with a GenerateMinefield behavior gives itself a minefield via GrantUpgradeCreate, or by somehow having the upgrade pre-purchased (like China buildings that you place in WorldBuilder), the minefield appears at 0,0 (bottom left corner of map) instead of around the object.
However, if you do not have ExemptStatus = UNDER_CONSTRUCTION in the GrantUpgradeCreate module, you won't get any minefield at all, not even in the wrong place.
|