# Unit XP Get XP For Level

Grammar — The total xp required for level level in veterancyBehavior for unit
FlagsNative | Function

Returns the total xp required for a specific level

# Arguments

  • unit — Unit
  • string<gamelink::Behavior> — Veterancy Behavior
  • int — Level

Returns — int

native int UnitXPGetXPForLevel(
	unit inUnit,
	string inVeterancyBehavior,
	int inLevel,
);

Category: Unit / Attributes And Experience

# Examples

— None found —