Actually, this did not work, as the unit I was using was not the health I quoted. I quoted Worker nonselect by accident. So no it does not work.
What else does not work is the create OCL based on upgrade (drone code) This resulted in no errors but also no OCL created.
This cannot be an error cause there is only one way to recreate the drone upgrade.
Code:
Behavior = ObjectCreationUpgrade ModuleTag_plot
UpgradeObject = OCL_MordorPlotSuicide
TriggeredBy = Upgrade_MordorPlot
ConflictsWith = Upgrade_MordorPlotEC Upgrade_MordorPlotDF
End
Behavior = ObjectCreationUpgrade ModuleTag_plotec
UpgradeObject = OCL_MordorPlotSuicideEC
TriggeredBy = Upgrade_MordorPlotEC
ConflictsWith = Upgrade_MordorPlot Upgrade_MordorPlotDF
End
Behavior = ObjectCreationUpgrade ModuleTag_plotdf
UpgradeObject = OCL_MordorPlotSuicideDF
TriggeredBy = Upgrade_MordorPlotDF
ConflictsWith = Upgrade_MordorPlot Upgrade_MordorPlotEC
End
I created an OCL that spawned a unit that had a lifetime update modeule and dies in one second. It never showed up. I than changed the model from invisibile to some unit. Never showed up. So the OCL is not building from the drone logic (upgrade OCL) as does in ZH.
All upgrades are present, all OCL's are present. If I'm wrong, please show me how. You cannot kill a unit from your own unit by FIRE_WEAPON commandbutton. You also cannot create an OCL using drone logic.
If this can be verifed? Than this should be added to the "EA Modders Wish List" thread.