This is on the Stealth Generals Command Center's CommandSet
2 = Command_GLAStealthAll
This is in the CommandButton.ini:::
CommandButton Command_GLAStealthAll
Command = OBJECT_UPGRADE
Upgrade = Upgrade_GLAStealthAll
TextLabel = CONTROLBAR:GLAStealthAll
ButtonImage = SUcamo
ButtonBorderType = UPGRADE
DescriptLabel = CONTROLBAR:TooltipGLAStealthAll
End
This is in Upgrade.ini:::
Upgrade GLAStealthAll
DisplayName = UPGRADE:StealthAll
Type = OBJECT
BuildTime = 25.0
BuildCost = 15000
ButtonImage = SUcamo
ResearchSound = NoSound
End
This tag is put on the units or Buildings I want to go stealth....
;--------------------------------------------------------------------------------------------------------------
Behavior = StealthUpdate ModuleStealth_09
TriggeredBy = Upgrade_GLAStealthAll
StealthDelay = 2500
StealthForbiddenConditions = ATTACKING USING_ABILITY TAKING_DAMAGE
InnateStealth = Yes
OrderIdleEnemiesToAttackMeUponReveal = Yes
End
;--------------------------------------------------------------------------------------------------------------
I'm new to Generals Modding so Please help me and try to explian what I did wrong....
Edited by BlitzKrieg, 05 March 2008 - 05:05 PM.