TC01
Deity
I edited CvGameTxtMgr so that a bullet will be added for all units and buildings requiring a particular religion to that religion's help text. So "Required to train %s1_unit" or "Required to build %s1_Building".
What I'd like to do, however, is to make the effect auto-link to the entries for the unit and building. I tried passing in the type of the unit/building to the LINK= field like so:
But it doesn't seem to work. (That is, the links, not the text itself)>
So how can I auto-link in the SDK?
What I'd like to do, however, is to make the effect auto-link to the entries for the unit and building. I tried passing in the type of the unit/building to the LINK= field like so:
Code:
szBuffer.append(NEWLINE);
szBuffer.append(gDLL->getText("TXT_KEY_RELIGION_BUILDING", eBuilding.getType(), eBuilding.getTextKeyWide()));
Code:
[ICON_BULLET]Required to build [LINK=%s1]%s2[\LINK]
But it doesn't seem to work. (That is, the links, not the text itself)>
So how can I auto-link in the SDK?