Target
target [timeout]Also searchable as: Target · wait for target · target cursor
target waits until the client shows a target cursor. It returns at once if one is already showing.
Parameters
Section titled “Parameters”| Parameter | Meaning |
|---|---|
timeout |
Optional. The longest to wait. Default: 2 seconds. A time is a number of ticks of 50 ms (20 is one second), or a whole number of seconds followed by |
s (5s). |
target does not say whether the cursor appeared. Check #TargCurs afterwards.
Example
Section titled “Example”event macro 15 28 ; cast Greater Heal, which needs a targettarget 3sif #TargCurs = 1 event macro 22 0 ; target the last targethaltSee also
Based on the EasyUO wiki, edited for EasyUO Reforged. This text is available under the GNU Free Documentation License 1.2.