# Set Mercenary Unit Text

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

Sets the unit text for the specified mercenary.

# Arguments

  • int [ preset::Mercenary ] — MercenaryId
  • text — Text

Returns — void

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

Category: Story / Mercenary Panel

# Examples

# campaigns/libertystory.sc2campaign

CampaignLib.galaxy

// L3745
MercenarySetUnitText(MercenaryLastCreated(), libCamp_gf_MercUnitText(lv_indexMerc))