Hi everybody,
have some little Problem...
k, you all know the battledrones of the US Vehicles... they are all Object Upgrades, build by gaining an upgrade. If they die the upgrade is removed so the vehicle can gain it once again.
So here is my problem...
I want a Unit to create a pilot as an upgrade. And when the Pilot "collides" with a vehicle the upgrade should be removed, so i could create a new one.
BUT .... it seems that the pilot dont die because the upgrades does not be removed when he "disappears"
Here is my remove entry in the pilot object:
Quote:
Behavior = UpgradeDie ModuleTag_21
DeathTypes = ALL
UpgradeToRemove = Upgrade_TrainPilots ModuleTag_22
End
|
And here the "create" entry in the other unit:
Quote:
Behavior = ObjectCreationUpgrade ModuleTag_20
UpgradeObject = OCL_SEK
TriggeredBy = Upgrade_TrainPilots
End
Behavior = ProductionUpdate ModuleTag_21
MaxQueueEntries = 1
End
|
so.. have someone an idea how to fix my problem??
Thx for help
MAC