Lua EntityIsCombatTarget

Parameters

 * (entityID) or (unit)


 * entityID
 * ID of the entity to check.


 * unit
 * LuaUnit to check.

Details

 * type
 * boolean


 * state
 * True if the given target is a valid combat target.