This is quite a basic question, but I'm tired after a long day of paintballing and clearly in a stupid mood.
Basically, how does one make a button require an object? I've tried the following:
Code:
Object.ini
Prerequisites
Upgrade = xxx
End
Code:
CommandButton.ini
Command = DOZER_CONSTRUCT
Object = xxx
RequriesUpgrade = Upgrade_ProductionLines
End
Command = DOZER_CONSTRUCT
Object = xxx
Upgrade = Upgrade_ProductionLines
End
What obvious addition have I missed?I