The macro will only select the player himself if no other targets match the given name. If multiple targets correspond to the given name, this will select the nearest of the targets. To target Deathwing if you have no target, but target yourself if you already have a hostile target (such as Deathwing): To target Deathwing if you have no target, or if your target is dead: To target Deathwing (assuming Deathwing is in range):
If the first satisfied condition explicitly specifies a target that is not exactly 'target', that target (and not the associated value) will be interpreted as described below.Īrguments name unitId or (the start of a) name of something you wish to target.
If no conditions are satisfied, no action will be performed. The value associated with the first satisfied condition will be interpreted as described below. This command accepts secure command options.