# Learn Ability Skill Point For Unit
Grammar — currentTotal learn ability learnAbility points on unit
Flags —Native
|Function
Returns the current point of the specified learn ability on the specified unit.
# Arguments
unit
— Unitstring
<gamelink::Abil> — Learn Abilitybool
<preset::CurrentTotalOptions> — Current/Total
Returns — int
native int UnitLearnAbilGetPoints(
unit inUnit,
string learnAbility,
bool currentTotal,
);
# Related
Category: Ability / Learn
- Reset Unit Learn Ability —
void
— UnitLearnAbilResetLevel - Add Learn Ability Level For Unit —
void
— UnitLearnAbilAddLevel - Current Learn Ability Level For Unit —
int
— UnitLearnAbilGetLevel - Add Skill Points To Unit Learn Ability —
void
— UnitLearnAbilAddPoints - Learn Ability Skill Point For Unit —
int
— UnitLearnAbilGetPoints
# Examples
mods/warcoop/warclassic.sc2mod — base.sc2data/TriggerLibs/WarClassic.galaxy:181
// Automatic Variable Declarations
// Implementation
return UnitLearnAbilGetPoints(lp_unit, libGAw3_gv_c_War3HeroLearnLink, lp_currentTotal);
}