Sky Demon
16 years ago
I am perfectly able to create shortcut buttons from the commandcenter provided that well, there's a commandbutton on the commandcenter. But what do I do if the command for the specialpower isn't on the command center?

THis is the problem I am facing with the AirForceGenerals carpetbomb power. Because the button is on the strategy center and I can't use Shortcutpower = code without causing the game to crash I have no foreseeable way to make a shortcut to it on the shortcutbar.

I have thought about this problem for many hours and not come up with a solution. My most feasible idea was to create a "link" between the two. A button that would appear on the commandcenter if the strategy center exists, this would then allow the shortcutbutton to work from that. The one thing that stopped me in my tracks was what code to use for such a "middle man" like button. No other commandbutton contains any code which specifies it needs a certain structure for it to appear, the closest to what I want is "NEED_SPECIAL_POWER_SCIENCE". Which is of no use as the carpetbomb is free of charge and so would appear usable without even the need for a strategy center.


It appears I have no way of winning. Have any ideas?
Sponsor
Sky Demon
16 years ago
Forget it. Time is precious I have more important things to focus on, like the MOAB. The carpetbomb "works", so...

Close topic.
CommieDog
16 years ago
[Topic locked at poster's request]
UserPostedImage 
CommieDog: Because someone has to do your dirty work for you