Instructions/Match

From Desynced Wiki
Revision as of 16:48, 22 September 2023 by Johan (talk | contribs) (informational)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Match
     
     Filters the passed unit
Lua ID match
Category Unit
Icon Compare Values.png
Argument One: Type Input
Argument One: Name Unit
Argument One: Description Unit to Filter, defaults to Self
Argument One: Data Type entity
Argument Two: Type Input
Argument Two: Name Filter
Argument Two: Description Filter to check
Argument Two: Data Type radar
Argument Three: Type Input
Argument Three: Name Filter
Argument Three: Description Second Filter
Argument Three: Data Type radar
Argument Four: Type Input
Argument Four: Name Filter
Argument Four: Description Third Filter
Argument Four: Data Type radar
Argument Five: Type Exec
Argument Five: Name Failed
Argument Five: Description Did not match filter



Description[edit | edit source]

Filters the input entity and if it matches all specified filters, the instruction will proceed through the top pin.

Uses[edit | edit source]

If used in conjunction with Loop Entities (Range), this instruction can be used to verify if a given entity matches filters in the same manner as a radar. This may be faster due to radar requiring game ticks to operate.

Similar Instructions[edit | edit source]

Loop Signal (Match), Radar