# Learn Ability Skill Point For Unit

GrammarcurrentTotal learn ability learnAbility points on unit
FlagsNative | Function

Returns the current point of the specified learn ability on the specified unit.

# Arguments

  • unit — Unit
  • string [ gamelink::Abil ] — Learn Ability
  • bool [ preset::CurrentTotalOptions ] — Current/Total

Returns — int

native int UnitLearnAbilGetPoints(
	unit inUnit,
	string learnAbility,
	bool currentTotal,
);

Category: Ability / Learn

# Examples

# mods/warcoop/warclassic.sc2mod

WarClassic.galaxy

// L181
UnitLearnAbilGetPoints(lp_unit, libGAw3_gv_c_War3HeroLearnLink, lp_currentTotal)