# Set Unit Info Tip
Grammar — Set unit info tip to tip
Flags —Native
|Action
Sets the info tip for the specified unit without modifying the text or subtip
# Arguments
unit
— Unittext
— Tip
Returns — void
native void UnitSetInfoTip(unit inUnit, text tip);
# Related
Category: Unit / Properties
- [F] —
string
[ gamelink::Unit ] — Unit Type Of Unit — ( UnitGetType ) - [F] —
int
— Unit Tag — ( UnitGetTag ) - [F] —
int
— Unit Seed — ( UnitGetSeed ) - [F] —
void
— Unit Property Changes — ( TriggerAddEventUnitProperty ) - [F] —
int
[ preset::Unit_Property ] — Triggering Unit Property — ( EventUnitProperty ) - [F] —
int
— Triggering Unit Property Change (Integer) — ( EventUnitPropertyChangeInt ) - [F] —
fixed
— Triggering Unit Property Change (Real) — ( EventUnitPropertyChangeFixed ) - [F] —
void
— Set Unit Property — ( UnitSetPropertyFixed ) - [F] —
void
— Set Unit State — ( UnitSetState ) - [F] —
void
— Set Unit Seed — ( UnitSetSeed ) - [F] —
void
— Reset Unit Seed — ( UnitResetSeed ) - [F] —
void
— Make Unit Invulnerable — ( libNtve_gf_MakeUnitInvulnerable ) - [F] —
void
— Make Unit Uncommandable — ( libNtve_gf_MakeUnitUncommandable ) - [F] —
fixed
— Unit Property — ( UnitGetPropertyFixed ) - [F] —
int
— Unit Property (Int) — ( UnitGetPropertyInt ) - [F] —
fixed
— Unit Type Property — ( UnitTypeGetProperty ) - [F] —
bool
— Unit Classification Check — ( UnitTestState ) - [F] —
bool
— Unit Type Classification Check — ( UnitTypeTestFlag ) - [F] —
bool
— Unit Type Attribute Check — ( UnitTypeTestAttribute ) - [F] —
bool
— Unit Targetable Check — ( UnitTestPlane ) - [F] —
bool
— Unit Is Invulnerable — ( libNtve_gf_UnitIsInvulnerable ) - [F] —
int
— Unit Kills — ( libNtve_gf_UnitGetPropertyKills ) - [F] —
int
— Unit Resources — ( libNtve_gf_UnitGetPropertyResources ) - [F] —
point
— Unit Attachment Point — ( UnitGetAttachmentPoint ) - [F] —
text
— Name Of Unit Type — ( UnitTypeGetName ) - [F] —
string
— Gender Code Of Unit Type — ( UnitTypeGetGenderCode ) - [F] —
int
— Unit Type Cost — ( UnitTypeGetCost ) - [F] —
bool
— Unit Type Is Affected By Upgrade — ( UnitTypeIsAffectedByUpgrade ) - [F] —
void
— Reset Movement Speed — ( UnitResetSpeed ) - [F] —
bool
— Unit Uses Mover — ( UnitMoverExists ) - [F] —
bool
— Unit Type Uses Mover — ( libNtve_gf_UnitMoverExists ) - [F] —
string
[ gamelink::Unit ] — Unit Type From String — ( UnitTypeFromString ) - [F] —
void
— Set Unit Color — ( UnitSetTeamColorIndex ) - [F] —
void
— Set Unit Info Button - Ability Tooltip — ( libNtve_gf_SetUnitInfoButtonAbilityTooltip ) - [F] —
void
— Set Unit Info Button - Button Tooltip — ( libNtve_gf_SetUnitInfoButtonButtonTooltip ) - [F] —
void
— Set Unit Info Button - Item Tooltip — ( libNtve_gf_SetUnitInfoButtonItemTooltip ) - [F] —
void
— Reset Unit Info Button - Ability Tooltip — ( libNtve_gf_ResetUnitInfoButtonAbilityTooltip ) - [F] —
void
— Reset Unit Info Button - Button Tooltip — ( libNtve_gf_ResetUnitInfoButtonButtonTooltip ) - [F] —
void
— Reset Unit Info Button - Item Tooltip — ( libNtve_gf_ResetUnitInfoButtonItemTooltip ) - [F] —
void
— Set Unit Command Button Tooltip — ( UnitSetInfoButtonTooltip ) - [F] —
void
— Reset Unit Command Button Tooltip — ( UnitClearInfoButtonTooltip ) - [F] —
void
— Set Unit Highlight Cursor — ( UnitSetCursor ) - [F] —
void
— Set Unit Ping Cursor — ( UnitSetPingCursor ) - [F] —
void
— Set Unit Info — ( UnitSetInfoText ) - [F] —
void
— Set Unit Info Text — ( UnitSetInfoText2 ) - [F] —
void
— Set Unit Info Tip — ( UnitSetInfoTip ) - [F] —
void
— Set Unit Info SubTip — ( UnitSetInfoSubTip ) - [F] —
void
— Clear Unit Info — ( UnitClearInfoText ) - [F] —
void
— Set Unit Status Bar State (Deprecated) — ( UnitForceStatusBar ) - [F] —
void
— Show Unit Status Bar — ( UnitStatusBarOverride ) - [F] —
void
— Hide Unit Status Bar — ( UnitStatusBarClearOverride ) - [F] —
void
— Set Unit Scale — ( UnitSetScale ) - [F] —
void
— Set Unit Model Variation — ( libNtve_gf_UnitSetVariation ) - [F] —
void
— Change Unit Height — ( UnitSetHeight ) - [F] —
fixed
— Height Of Unit — ( UnitGetHeight ) - [F] —
void
— Change Unit Damage — ( libNtve_gf_ChangeUnitDamage ) - [F] —
unit
— Add On Child — ( UnitAddOnChild ) - [F] —
unit
— Add On Parent — ( UnitAddOnParent )
# Examples
# campaigns/swarm.sc2campaign
// L1129
UnitSetInfoTip(UnitFromId(943), TextExpressionAssemble("Param/Expression/F00B41D4"))
// L1491
UnitSetInfoTip(EventUnit(), StringToText(""))
// L785
UnitSetInfoTip(gv_kerrigan2, StringExternal("Param/Value/28C034A8"))
// L653
UnitSetInfoTip(auto0C0CA19F_var, StringExternal("Param/Value/F92EC21B"))
// L658
UnitSetInfoTip(gf_nextPowerLink(), StringExternal("Param/Value/0817C889"))
// L610
UnitSetInfoTip(lp_cHOSEN_UNIT, UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)))
// L3049
UnitSetInfoTip(auto28D43D28_var, UnitTypeGetName(UnitGetType(auto28D43D28_var)))
// L1173
UnitSetInfoTip(gv_kerrigan22, UnitTypeGetName(UnitGetType(gv_kerrigan22)))
// L2476
UnitSetInfoTip(EventUnit(), UnitTypeGetName(UnitGetType(EventUnit())))
// L1129
UnitSetInfoTip(UnitFromId(943), TextExpressionAssemble("Param/Expression/F00B41D4"))
// L1491
UnitSetInfoTip(EventUnit(), StringToText(""))
// L785
UnitSetInfoTip(gv_kerrigan2, StringExternal("Param/Value/28C034A8"))
// L653
UnitSetInfoTip(auto0C0CA19F_var, StringExternal("Param/Value/F92EC21B"))
// L658
UnitSetInfoTip(gf_nextPowerLink(), StringExternal("Param/Value/0817C889"))
// L610
UnitSetInfoTip(lp_cHOSEN_UNIT, UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)))
// L3049
UnitSetInfoTip(auto28D43D28_var, UnitTypeGetName(UnitGetType(auto28D43D28_var)))
// L1173
UnitSetInfoTip(gv_kerrigan22, UnitTypeGetName(UnitGetType(gv_kerrigan22)))
// L2476
UnitSetInfoTip(EventUnit(), UnitTypeGetName(UnitGetType(EventUnit())))
# campaigns/swarmstory.sc2campaign
// L1641
UnitSetInfoTip(lp_unit, TextExpressionAssemble("Param/Expression/lib_SwaC_889FD6C6"))
# campaigns/void.sc2campaign
// L281
UnitSetInfoTip(lp_cHOSEN_UNIT, UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)))
// L284
UnitSetInfoTip(lp_cHOSEN_UNIT, UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)))
// L287
UnitSetInfoTip(lp_cHOSEN_UNIT, UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)))
// L290
UnitSetInfoTip(lp_cHOSEN_UNIT, UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)))
// L293
UnitSetInfoTip(lp_cHOSEN_UNIT, UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)))
// L296
UnitSetInfoTip(lp_cHOSEN_UNIT, UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)))
// L299
UnitSetInfoTip(lp_cHOSEN_UNIT, UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)))
// L302
UnitSetInfoTip(lp_cHOSEN_UNIT, UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)))
// L375
UnitSetInfoTip(lp_cHOSEN_UNIT, UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)))
// L378
UnitSetInfoTip(lp_cHOSEN_UNIT, UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)))
// L1248
UnitSetInfoTip(auto6C3012C6_var, UnitTypeGetName(UnitGetType(auto6C3012C6_var)))
// L281
UnitSetInfoTip(lp_cHOSEN_UNIT, UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)))
// L284
UnitSetInfoTip(lp_cHOSEN_UNIT, UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)))
// L287
UnitSetInfoTip(lp_cHOSEN_UNIT, UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)))
// L290
UnitSetInfoTip(lp_cHOSEN_UNIT, UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)))
// L293
UnitSetInfoTip(lp_cHOSEN_UNIT, UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)))
// L296
UnitSetInfoTip(lp_cHOSEN_UNIT, UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)))
// L299
UnitSetInfoTip(lp_cHOSEN_UNIT, UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)))
// L302
UnitSetInfoTip(lp_cHOSEN_UNIT, UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)))
// L375
UnitSetInfoTip(lp_cHOSEN_UNIT, UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)))
// L378
UnitSetInfoTip(lp_cHOSEN_UNIT, UnitTypeGetName(UnitGetType(lp_cHOSEN_UNIT)))
// L1248
UnitSetInfoTip(auto6C3012C6_var, UnitTypeGetName(UnitGetType(auto6C3012C6_var)))
# mods/heroesmapmods/battlegroundmapmods/tombofthespiderqueen.stormmod
// L161
UnitSetInfoTip(libMSOC_gv_mMTombSpiderQueen[lp_team].lv_units, (StringExternal("Param/Value/lib_MSOC_4549A6F9") + IntToText(libMSOC_gv_mMTombSpiderQueenActivationAmountRequired[lp_team]) + StringExternal("Param/Value/lib_MSOC_A3064F0E")))
# mods/novastoryassets.sc2mod
// L2749
UnitSetInfoTip(EventUnit(), UnitTypeGetName(UnitGetType(EventUnit())))
// L2749
UnitSetInfoTip(EventUnit(), UnitTypeGetName(UnitGetType(EventUnit())))
# mods/starcoop/starcoop.sc2mod
// L4422
UnitSetInfoTip(lp_biomass, TextExpressionAssemble("Param/Expression/lib_COMI_9DEC6D4D"))
// L4623
UnitSetInfoTip(lp_essence, TextExpressionAssemble("Param/Expression/lib_COMI_CF4EE9FC"))
// L4951
UnitSetInfoTip(lp_scrap, StringExternal("Param/Value/lib_COMI_96D541E3"))
# mods/voidprologue.sc2mod
// L7873
UnitSetInfoTip(lv_indexUnit, TextExpressionAssemble("Param/Expression/lib_A3DDD02B_15AB0274"))
// L7879
UnitSetInfoTip(lv_indexUnit, TextExpressionAssemble("Param/Expression/lib_A3DDD02B_F0AEE206"))
# mods/warcoop/warmeleeai.sc2mod
// L327
UnitSetInfoTip(lv_u, TextExpressionAssemble("Param/Expression/lib_W3AI_C27559DB"))