Instructions/Check Blightness

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


Check Blightness
     
     Divert program depending on location of a unit or coordinate
Lua ID check_blightness
Category Unit
Icon Compare Values.png
Argument One: Type Input
Argument One: Name Target
Argument One: Description The unit or coordinate to check for (if not self)
Argument One: Data Type coord
Argument Two: Type Exec
Argument Two: Name Blight
Argument Two: Description Where to continue if the unit is in the blight



Description[edit | edit source]

Evaluates whether a target entity is inside the blight.

Uses[edit | edit source]

When scanning for targets, it is often desirable to specify whether the target is in a "safe area" as the blight may present some unique challenges . Units cannot be directly ordered into a blight, however, a behavior may direct a unit into the blight.

Similar Instructions[edit | edit source]

Check Altitude