View Single Post
Old 03-24-2003, 03:59 PM   #9 (permalink)
CopyKat
Senior Member
 
Join Date: Mar 2003
Location: Netherlands
Posts: 139
Default

Hmmmm....I was just trying to look it up, but no luck so far..

Perhaps I was wrong (happens often enough..)...

Perhaps you might want to consider different approaches? I mean, looking at the Ranger, we get this as his CommandButton code for switching weapons:

Quote:
CommandButton Command_AmericaRangerSwitchToMachineGun
Command = SWITCH_WEAPON
WeaponSlot = PRIMARY
Options = CHECK_LIKE OK_FOR_MULTI_SELECT
TextLabel = CONTROLBAR:RangerMachineGun
ButtonImage = SSMachineGun
ButtonBorderType = ACTION
DescriptLabel = CONTROLBAR:ToolTipSwitchToRangerMachineGun
End
Perhaps that the Options type holds a possiblity to grey out other buttons? That, or it is automatically included with the "SWITCH_WEAPON" command somehow....hhmmm....

There might be another option to get what you want: regular scripting in a map. Seeing as the SP maps have several buttons hidden/removed all done by regular scripting (they also edited the ranking general sciences somehow), you might learn a way to get it done through that way...

However, I don't know, I'm just offering you a few possiblities...
CopyKat is offline   Reply With Quote