# Unit XP Set XP For Level

Grammar — Sets the total xp required for level level in veterancyBehavior for unit to xP
FlagsNative | Action

Sets the required xp for a specific level

# Arguments

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

Returns — void

native void UnitXPSetXPForLevel(
	unit inUnit,
	string inVeterancyBehavior,
	int inLevel,
	int inXp,
);

Category: Unit / Attributes And Experience

# Examples

— None found —