View Single Post
Old 05-22-2004, 04:01 PM   #1 (permalink)
Hostile
Senior Member
 
Join Date: Feb 2004
Posts: 872
Default OBJECT UPGRADE VS PLAYER UPGRADE

I have added an object upgrade that switches objects between one that does not have Propaganda tower and one that does. Immoman suggested it and it works great, prob is it upgrades all objects of the same type and not just the object it's clicked from, what am I missing.

CommandButton Command_UpgradeFanaticism
Command = OBJECT_UPGRADE
Upgrade = Upgrade_Fanaticism
TextLabel = CONTROLBAR:UpgradeChinaSubliminalMessaging
ButtonImage = Fanaticism
ButtonBorderType = UPGRADE ; Identifier for the User as to what kind of button this is
DescriptLabel = CONTROLBAR:TooltipUpgradeChinaSubliminal
End

This should make it an upgrade ONLY for the object not every object created of the same type. Taken from the Overlord.
Hostile is offline   Reply With Quote