Instructions/Check Blightness: Difference between revisions

From Desynced Wiki
(Created page with "{{Instruction_Top}} ==== Description ==== ==== Uses ==== ==== Similar Instructions ==== {{Instruction_Bottom}}")
 
(informational)
 
Line 3: Line 3:
==== Description ====
==== Description ====


 
Evaluates whether a target entity is inside the blight.
==== Uses ====
==== Uses ====


 
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 ====
==== Similar Instructions ====


 
[[Instructions/Check Altitude|Check Altitude]]
{{Instruction_Bottom}}
{{Instruction_Bottom}}

Latest revision as of 21:42, 11 September 2023


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