# Weapon Target Check

Grammarunit weapon weapon|Index can target target
FlagsNative | Function

Returns true if a unit weapon can target a specific target.

# Arguments

  • unit — Unit
  • int — Weapon
  • int [ preset::UnitFilterType ] — Target

Returns — bool

native bool UnitWeaponCheck(
	unit inUnit,
	int inIndex,
	int inTarget,
);

Category: Unit / Weapons

# Examples

— None found —