Dota 2 Workshop Tools/Scripting/API/Global.UnitFilter

From Valve Developer Community
Jump to: navigation, search
Note: This page is automatically generated. Any changes may be overwritten

Function Description

int UnitFilter(handle handle_1, int int_2, int int_3, int int_4, int int_5)

Check if a unit passes a set of filters. (hNPC, nTargetTeam, nTargetType, nTargetFlags, nTeam


Example
function UnitFilter( handle_1, int_2, int_3, int_4, int_5 ) end

Parameters

Type Name Description
handle handle_1 No Description Set
int int_2 No Description Set
int int_3 No Description Set
int int_4 No Description Set
int int_5 No Description Set

Returns

int - No Description Set