Create new button to train hero... is it possible

Post Reply
chopstic
Terran Academy Student (50k mineral debt)
Terran Academy Student (50k mineral debt)
Posts: 5
Joined: Thu May 13, 2010 2:14 am

Create new button to train hero... is it possible

Post by chopstic »

I've been trying to make a simple modification to a barracks, factory, or starport.  I want to create a new button slot to train a hero.  I've been able to create the button with FireGraft, and it shows up in the game, but it unfortunatley doesn't do anything when i click it in the game.  What else need i do?
User avatar
Ardis
Terran Nuclear Silo Safety Inspector
Terran Nuclear Silo Safety Inspector
Posts: 228
Joined: Tue Sep 05, 2006 5:03 pm
Location: Ohio, USA

Re: Create new button to train hero... is it possible

Post by Ardis »

Have you set requirements? The buttons don't do anything unless there are requirements and those requirements are met.
I'm not unstable.
Unstable implies that I could BECOME more dangerous than I am now.
chopstic
Terran Academy Student (50k mineral debt)
Terran Academy Student (50k mineral debt)
Posts: 5
Joined: Thu May 13, 2010 2:14 am

Re: Create new button to train hero... is it possible

Post by chopstic »

yea... I even set the requirement to "always" for testing purposes.  The button lights up in-game like it is ready.  It even clicks when you click it, but the action does not resolve and no new unit is created.
User avatar
Ardis
Terran Nuclear Silo Safety Inspector
Terran Nuclear Silo Safety Inspector
Posts: 228
Joined: Tue Sep 05, 2006 5:03 pm
Location: Ohio, USA

Re: Create new button to train hero... is it possible

Post by Ardis »

Not sure the always option works for unit or spell requirements.
I'm not unstable.
Unstable implies that I could BECOME more dangerous than I am now.
chopstic
Terran Academy Student (50k mineral debt)
Terran Academy Student (50k mineral debt)
Posts: 5
Joined: Thu May 13, 2010 2:14 am

Re: Create new button to train hero... is it possible

Post by chopstic »

i figured it out. I had to edit the dat requirements of the hero to allow for the unit to be created from that specific building
Post Reply