I'm ready to change a structure with a prop function to one that gets it after an object upgrade. This is new territory and it seems harder than I thought. I looked at the prop code and it either exists or it doesn't. The upgrade in the code only changes the existing prop tower not add it.
Behavior = PropagandaTowerBehavior ModuleTag_30
Radius = 125.0
DelayBetweenUpdates = 3000 ; in milliseconds
HealPercentEachSecond = 4% ; get this % of max health every second
PulseFX = FX_IsraelSettlementPulse ;plays as often as DelayBetweenUpdates
UpgradeRequired = Upgrade_ChinaSubliminalMessaging
UpgradedHealPercentEachSecond = 4% ; get this % of max health every second
UpgradedPulseFX = FX_PropagandaTowerSubliminalPulse ;plays as often as DelayBetweenUpdates
End
I don't see any triggered_by listing in Deezires module listing to accomodate this. Any clues?
You could try to make the upgrade replace the original tower, and the new verion would be the one with the effect. Look at the ReplaceObjectUpgrade module on the GLA fake buildings.
When I get outta class and get home I'm gonna try to set the original tower with no healing rate and no FX, so it looks like nothing than use the upgrade to actually make it appear.