This is an old post but I came across it in my initial search to create similar functionality. I did not see this under frequently asked questions, but the solution is simple.
First create a new requirement. Modules->Data->Requirements, Duplicate or Add new.
Under Requirement+, switch to express view and enter something like the following:
0
This is an old post but I came across it in my initial search to create similar functionality. I did not see this under frequently asked questions, but the solution is simple.
First create a new requirement. Modules->Data->Requirements, Duplicate or Add new.
Under Requirement+, switch to express view and enter something like the following:
You can also add research requirements etc in this same field by appending:
Once the requirement is created, go to the ability and open Ability:Commands+ and select the requirement you created under the requirements section.
On a side note, a search for "unique unit" in the forum would display the post below which also describes the solution I mentioned. "unique unit" and "mothership" may be good keywords to use if this is later created under the FAQ.
http://www.sc2mapster.com/forums/development/map-development/5111-unique-unit-type/
0
Resolved.
Reviewed data in xml and compared between units and noticed the following tag.
This was missing from ghost. Added and hero icon is now visible.
Not sure where this value is controlled in the editor, but props to Blizzard for letting me see raw xml.
0
The two units that show icons are duplicated from heroes. The one that does not is duplicated ghost. Something simple overlooked?