# Set Unit Info Text

Grammar — Set unit info text to text
FlagsNative | Action

Sets the info text for the specified unit without modifying the tip or subtip.

# Arguments

  • unit — Unit
  • text — Text

Returns — void

native void UnitSetInfoText2(unit inUnit, text info);

Category: Unit / Properties

# Examples

# mods/starcoop/starcoop.sc2mod

LibCOMI.galaxy

// L5620
UnitSetInfoText2(lp_updatingUnit, TextExpressionAssemble("Param/Expression/lib_COMI_55059129"))