Jump to content


druchii22

Member Since 23 Mar 2008
Offline Last Active Private

Topics I've Started

Forbidding the purchase of an upgrade after another specific upgrade has been purchased

28 April 2012 - 02:09 PM

Hello guys,

I have a question that troubles me : I'm working on some coding right now, which aims to offer the player a few "choices" in the pruchase of technology. But I can't find which codes would do it. For exemple, I added to a porter's commandset two buttons, each one related to an upgrade (more money or more defense to make it simple). What I'd like to do, is that when I purchase one of them, then the other grays out (not sure if it's the word in english). I've tried with the "ConflictsWith = Upgrade_X" code, but it doesn't work. I could tie it to an upgraded commandset, but I'm sure there must be a simplier way. If anyone has it, I'd be glad to know!

Thank you.