# Set Mercenary Description Text

Grammar — Set the description text of mercenaryId to text
FlagsNative | Action

Sets the description text for the specified mercenary.

# Arguments

  • int<preset::Mercenary> — MercenaryId
  • text — Text

Returns — void

native void MercenarySetDescriptionText(
	int inMercenaryId,
	text inText,
);

Category: Story / Mercenary Panel

# Examples

campaigns/libertystory.sc2campaignbase.sc2data/TriggerLibs/CampaignLib.galaxy:3743

            libCamp_gv_tS_MercUIMercenaries[(lv_indexMerc)] = MercenaryLastCreated();
            MercenarySetTitleText(MercenaryLastCreated(), libCamp_gf_MercName(lv_indexMerc));
            MercenarySetDescriptionText(MercenaryLastCreated(), libCamp_gf_MercDescription(lv_indexMerc));
            MercenarySetCost(MercenaryLastCreated(), libCamp_gf_MercCost(lv_indexMerc));
            MercenarySetUnitText(MercenaryLastCreated(), libCamp_gf_MercUnitText(lv_indexMerc));